#include <CacheParser.h>
Public Types | |
typedef std::map< std::string, std::vector< PluginInfo > > | CategoryToInfos |
typedef std::map < boost::filesystem::path, NameAndTypes > | LoadableToPlugins |
typedef std::pair< std::string, std::string > | NameAndType |
typedef std::vector< NameAndType > | NameAndTypes |
Static Public Member Functions | |
static void | read (std::istream &, const boost::filesystem::path &iDirectory, CategoryToInfos &oOut) |
static void | read (std::istream &, LoadableToPlugins &oOut) |
static void | write (const CategoryToInfos &, std::ostream &) |
static void | write (LoadableToPlugins &iIn, std::ostream &) |
Private Member Functions | |
CacheParser (const CacheParser &) | |
const CacheParser & | operator= (const CacheParser &) |
Static Private Member Functions | |
static bool | readline (std::istream &iIn, const boost::filesystem::path &iDirectory, unsigned long iRecordNumber, PluginInfo &oInfo, std::string &oPluginType) |
static std::string & | replaceSpaces (std::string &io) |
static std::string & | restoreSpaces (std::string &io) |
Definition at line 38 of file CacheParser.h.
typedef std::map<std::string, std::vector<PluginInfo> > edmplugin::CacheParser::CategoryToInfos |
Definition at line 42 of file CacheParser.h.
typedef std::map<boost::filesystem::path, NameAndTypes > edmplugin::CacheParser::LoadableToPlugins |
Definition at line 45 of file CacheParser.h.
typedef std::pair< std::string, std::string> edmplugin::CacheParser::NameAndType |
Definition at line 43 of file CacheParser.h.
typedef std::vector< NameAndType > edmplugin::CacheParser::NameAndTypes |
Definition at line 44 of file CacheParser.h.
|
private |
|
private |
|
static |
The std::vector<PluginInfo>'s in CategoryToInfos are guaranteed to be ordered by PluginInfo.name_ where identical names are ordered by the order they are passed to read. In this way multiple calls to read for different directories will preserve the ordering
Definition at line 125 of file CacheParser.cc.
References info(), readline(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by main(), and edmplugin::PluginManager::PluginManager().
|
static |
Definition at line 195 of file CacheParser.cc.
References relativeConstraints::empty, info(), edmplugin::PluginInfo::loadable_, edmplugin::PluginInfo::name_, cmsHarvester::path, readline(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
staticprivate |
Definition at line 85 of file CacheParser.cc.
References edmplugin::checkForError(), convertXMLtoSQLite_cfg::fileName, edmplugin::PluginInfo::loadable_, max(), edmplugin::PluginInfo::name_, restoreSpaces(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by read().
|
staticprivate |
Definition at line 216 of file CacheParser.cc.
References cmsHarvester::index.
Referenced by write().
|
staticprivate |
Definition at line 225 of file CacheParser.cc.
References cmsHarvester::index.
Referenced by readline().
|
static |
Definition at line 151 of file CacheParser.cc.
References mergeVDriftHistosByStation::name, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by pkg.AbstractPkg::generate(), and main().
|
static |
Definition at line 177 of file CacheParser.cc.
References replaceSpaces(), edm::sort_all(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by pkg.AbstractPkg::generate().