#include <CacheParser.h>
|
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) |
|
Definition at line 39 of file CacheParser.h.
◆ CategoryToInfos
◆ LoadableToPlugins
◆ NameAndType
◆ NameAndTypes
◆ CacheParser()
edmplugin::CacheParser::CacheParser |
( |
const CacheParser & |
| ) |
|
|
privatedelete |
◆ operator=()
◆ read() [1/2]
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.
123 unsigned long recordNumber = 0;
131 if (not
readline(iIn, iDirectory, recordNumber,
info, pluginType)) {
134 iOut[pluginType].push_back(
info);
137 for (CacheParser::CategoryToInfos::iterator it = iOut.begin(), itEnd = iOut.end(); it != itEnd; ++it) {
138 std::stable_sort(it->second.begin(), it->second.end(), CompPluginInfos());
References info(), readline(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by edmIntegrityCheck.PublishToFileSystem::get(), main(), and edmplugin::readCacheFile().
◆ read() [2/2]
◆ readline()
bool CacheParser::readline |
( |
std::istream & |
iIn, |
|
|
const std::filesystem::path & |
iDirectory, |
|
|
unsigned long |
iRecordNumber, |
|
|
PluginInfo & |
oInfo, |
|
|
std::string & |
oPluginType |
|
) |
| |
|
staticprivate |
◆ replaceSpaces()
std::string & CacheParser::replaceSpaces |
( |
std::string & |
io | ) |
|
|
staticprivate |
◆ restoreSpaces()
std::string & CacheParser::restoreSpaces |
( |
std::string & |
io | ) |
|
|
staticprivate |
◆ write() [1/2]
void CacheParser::write |
( |
const CategoryToInfos & |
iInfos, |
|
|
std::ostream & |
oOut |
|
) |
| |
|
static |
◆ write() [2/2]
◆ ::TestCacheParser
friend class ::TestCacheParser |
|
friend |