CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC4_patch1/src/FWCore/Utilities/bin/edmToFriendlyClassName.cc

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // Package:     Utilities
00004 // Class  :     edmToFriendlyClassName
00005 //
00006 // Implementation:
00007 //     <Notes on implementation>
00008 //
00009 // Original Author:  Chris Jones
00010 //         Created:  Thu Oct  4 14:30:17 EDT 2007
00011 //
00012 
00013 // user include files
00014 #include "FWCore/Utilities/interface/FriendlyName.h"
00015 
00016 // system include files
00017 #include <iostream>
00018 #include <stdexcept>
00019 
00020 int
00021 main(int argc, char* argv[]) try {
00022   for(int index = 1; index < argc; ++index) {
00023     std::cout << edm::friendlyname::friendlyName(argv[index]) << std::endl;
00024   }
00025   return 0;
00026 }
00027 catch(std::exception const& e) {
00028   std::cerr << e.what() << std::endl;
00029   return 1;
00030 }