#include <Fireworks/Core/interface/FWConfigurationManager.h>
Public Member Functions | |
void | add (const std::string &iName, FWConfigurable *) |
does not take ownership More... | |
FWConfigurationManager () | |
FWConfigurationManager (const FWConfigurationManager &)=delete | |
bool | getIgnore () const |
std::string | guessAndReadFromFile (FWJobMetadataManager *) const |
const FWConfigurationManager & | operator= (const FWConfigurationManager &)=delete |
void | readFromFile (const std::string &) const |
void | setFrom (const FWConfiguration &) const |
void | setIgnore () |
void | to (FWConfiguration &) const |
void | writeToFile (const std::string &) const |
virtual | ~FWConfigurationManager () |
Private Member Functions | |
void | readFromOldFile (const std::string &) const |
Private Attributes | |
std::map< std::string, FWConfigurable * > | m_configurables |
bool | m_ignore |
Description: <one line="" class="" summary>="">
Usage: <usage>
Definition at line 32 of file FWConfigurationManager.h.
FWConfigurationManager::FWConfigurationManager | ( | ) |
Definition at line 43 of file FWConfigurationManager.cc.
|
virtual |
Definition at line 50 of file FWConfigurationManager.cc.
|
delete |
void FWConfigurationManager::add | ( | const std::string & | iName, |
FWConfigurable * | iConf | ||
) |
does not take ownership
Definition at line 67 of file FWConfigurationManager.cc.
References cms::cuda::assert(), and m_configurables.
Referenced by counter.Counter::register(), SequenceTypes._TaskBase::remove(), SequenceTypes._TaskBase::replace(), and CmsShowMainBase::setupViewManagers().
|
inline |
Definition at line 51 of file FWConfigurationManager.h.
References m_ignore.
Referenced by CmsShowMain::setupDataHandling().
std::string FWConfigurationManager::guessAndReadFromFile | ( | FWJobMetadataManager * | dataMng | ) | const |
Definition at line 171 of file FWConfigurationManager.cc.
References DummyCfis::c, looper::cfg, f, geometryDiff::file, fwLog, g, createfilelist::int, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, FWConfiguration::keyValues(), fwlog::kInfo, fwlog::kWarning, cond::hdf5::operator<(), writedatasetfile::parser, setFrom(), jetUpdater_cfi::sort, AlCaHLTBitMon_QueryRunRegistry::string, FWJobMetadataManager::usableData(), and x.
|
delete |
void FWConfigurationManager::readFromFile | ( | const std::string & | iName | ) | const |
Reads the configuration specified in iName and creates the internal representation in terms of FWConfigutation objects.
Notice that if the file does not start with '<' the old CINT macro based system is used.
Definition at line 153 of file FWConfigurationManager.cc.
References f, g, createfilelist::int, SimpleSAXParser::parse(), writedatasetfile::parser, readFromOldFile(), and setFrom().
|
private |
Definition at line 116 of file FWConfigurationManager.cc.
References mps_check::command, DiMuonV_cfg::config, relativeConstraints::error, setFrom(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by readFromFile().
void FWConfigurationManager::setFrom | ( | const FWConfiguration & | iConfig | ) | const |
Definition at line 75 of file FWConfigurationManager.cc.
References cms::cuda::assert(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, FWConfiguration::keyValues(), and m_configurables.
Referenced by guessAndReadFromFile(), FWPartialConfigLoadGUI::Load(), readFromFile(), and readFromOldFile().
|
inline |
Definition at line 50 of file FWConfigurationManager.h.
References m_ignore.
Referenced by CmsShowMain::CmsShowMain().
void FWConfigurationManager::to | ( | FWConfiguration & | oConfig | ) | const |
Definition at line 86 of file FWConfigurationManager.cc.
References FWConfiguration::addKeyValue(), DiMuonV_cfg::config, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, and m_configurables.
Referenced by FWPartialConfigGUI::FWPartialConfigGUI(), FWPartialConfigSaveGUI::WriteConfig(), and writeToFile().
void FWConfigurationManager::writeToFile | ( | const std::string & | iName | ) | const |
Definition at line 97 of file FWConfigurationManager.cc.
References MillePedeFileConverter_cfg::e, geometryDiff::file, fwLog, fwlog::kError, fwlog::kInfo, mps_setup::stdout, FWConfiguration::streamTo(), AlCaHLTBitMon_QueryRunRegistry::string, and to().
|
private |
Definition at line 60 of file FWConfigurationManager.h.
|
private |
Definition at line 61 of file FWConfigurationManager.h.
Referenced by getIgnore(), and setIgnore().