#include <CacheParser.h>
Public Types | |
typedef std::map< std::string, std::vector< PluginInfo > > | CategoryToInfos |
typedef std::map< std::filesystem::path, NameAndTypes > | LoadableToPlugins |
typedef std::pair< std::string, std::string > | NameAndType |
typedef std::vector< NameAndType > | NameAndTypes |
Public Member Functions | |
CacheParser (const CacheParser &)=delete | |
const CacheParser & | operator= (const CacheParser &)=delete |
Static Public Member Functions | |
static void | read (std::istream &, const std::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 &) |
Static Private Member Functions | |
static bool | readline (std::istream &iIn, const std::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) |
Friends | |
class | ::TestCacheParser |
Definition at line 39 of file CacheParser.h.
typedef std::map<std::string, std::vector<PluginInfo> > edmplugin::CacheParser::CategoryToInfos |
Definition at line 41 of file CacheParser.h.
typedef std::map<std::filesystem::path, NameAndTypes> edmplugin::CacheParser::LoadableToPlugins |
Definition at line 44 of file CacheParser.h.
typedef std::pair<std::string, std::string> edmplugin::CacheParser::NameAndType |
Definition at line 42 of file CacheParser.h.
typedef std::vector<NameAndType> edmplugin::CacheParser::NameAndTypes |
Definition at line 43 of file CacheParser.h.
|
delete |
|
delete |
|
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 120 of file CacheParser.cc.
References info(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, readline(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by edmIntegrityCheck.PublishToFileSystem::get(), main(), and edmplugin::readCacheFile().
|
static |
Definition at line 176 of file CacheParser.cc.
References relativeConstraints::empty, info(), castor_dqm_sourceclient_file_cfg::path, readline(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by edmIntegrityCheck.PublishToFileSystem::get().
|
staticprivate |
Definition at line 82 of file CacheParser.cc.
References edmplugin::checkForError(), MillePedeFileConverter_cfg::fileName, edmplugin::PluginInfo::loadable_, SiStripPI::max, edmplugin::PluginInfo::name_, crabTemplate::pluginName, restoreSpaces(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by read().
|
staticprivate |
|
staticprivate |
|
static |
Definition at line 142 of file CacheParser.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, Skims_PA_cff::name, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by pkg.AbstractPkg::generate(), and main().
|
static |
Definition at line 162 of file CacheParser.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, replaceSpaces(), edm::sort_all(), AlCaHLTBitMon_QueryRunRegistry::string, and trackerHitRTTI::vector.
Referenced by pkg.AbstractPkg::generate().
|
friend |
Definition at line 66 of file CacheParser.h.