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 main(int argc, char* argv[]) try {
21  for (int index = 1; index < argc; ++index) {
22  std::cout << edm::friendlyname::friendlyName(argv[index]) << std::endl;
23  }
24  return 0;
25 } catch (std::exception const& e) {
26  std::cerr << e.what() << std::endl;
27  return 1;
28 }
std::string friendlyName(std::string const &iFullName)
int main(int argc, char *argv[])