#include <Fireworks/Core/interface/FWConfigurationManager.h>
Public Member Functions | |
void | add (const std::string &iName, FWConfigurable *) |
does not take ownership More... | |
FWConfigurationManager () | |
bool | getIgnore () const |
std::string | guessAndReadFromFile (FWJobMetadataManager *) const |
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 | |
FWConfigurationManager (const FWConfigurationManager &)=delete | |
const FWConfigurationManager & | operator= (const FWConfigurationManager &)=delete |
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.
|
privatedelete |
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.Task::remove(), SequenceTypes.Task::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 c, looper::cfg, f, geometryDiff::file, fwLog, g, createfilelist::int, FWConfiguration::keyValues(), fwlog::kInfo, fwlog::kWarning, operator<(), writedatasetfile::parser, setFrom(), jetUpdater_cfi::sort, AlCaHLTBitMon_QueryRunRegistry::string, FWJobMetadataManager::usableData(), and x.
|
privatedelete |
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, submitPVResolutionJobs::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(), 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(), submitPVResolutionJobs::config, 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().