CMS 3D CMS Logo

edmToFriendlyClassName.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: Utilities
4 // Class : edmToFriendlyClassName
5 //
6 // Implementation:
7 // <Notes on implementation>
8 //
9 // Original Author: Chris Jones
10 // Created: Thu Oct 4 14:30:17 EDT 2007
11 //
12 
13 // user include files
15 
16 // system include files
17 #include <iostream>
18 #include <stdexcept>
19 
20 int
21 main(int argc, char* argv[]) try {
22  for(int index = 1; index < argc; ++index) {
23  std::cout << edm::friendlyname::friendlyName(argv[index]) << std::endl;
24  }
25  return 0;
26 }
27 catch(std::exception const& e) {
28  std::cerr << e.what() << std::endl;
29  return 1;
30 }
std::string friendlyName(std::string const &iFullName)
int main(int argc, char *argv[])