#include <Fireworks/Core/interface/FWConfigurationManager.h>
Public Member Functions | |
void | add (const std::string &iName, FWConfigurable *) |
does not take ownership More... | |
FWConfigurationManager () | |
void | readFromFile (const std::string &) const |
void | setFrom (const FWConfiguration &) const |
void | to (FWConfiguration &) const |
void | writeToFile (const std::string &) const |
virtual | ~FWConfigurationManager () |
Private Member Functions | |
FWConfigurationManager (const FWConfigurationManager &) | |
const FWConfigurationManager & | operator= (const FWConfigurationManager &) |
void | readFromOldFile (const std::string &) const |
Private Attributes | |
std::map< std::string, FWConfigurable * > | m_configurables |
Description: <one line="" class="" summary>="">
Usage: <usage>
Definition at line 32 of file FWConfigurationManager.h.
FWConfigurationManager::FWConfigurationManager | ( | ) |
Definition at line 38 of file FWConfigurationManager.cc.
|
virtual |
Definition at line 47 of file FWConfigurationManager.cc.
|
private |
void FWConfigurationManager::add | ( | const std::string & | iName, |
FWConfigurable * | iConf | ||
) |
does not take ownership
Definition at line 67 of file FWConfigurationManager.cc.
References m_configurables.
Referenced by CmsShowMainBase::setupViewManagers().
|
private |
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 352 of file FWConfigurationManager.cc.
References f, g, SimpleSAXParser::parse(), geometryXMLtoCSV::parser, readFromOldFile(), and setFrom().
|
private |
Definition at line 129 of file FWConfigurationManager.cc.
References edmPickEvents::command, HDQMDatabaseProducer::config, error, python.rootplot.argparse::message, and setFrom().
Referenced by readFromFile().
void FWConfigurationManager::setFrom | ( | const FWConfiguration & | iConfig | ) | const |
Definition at line 77 of file FWConfigurationManager.cc.
References FWConfiguration::keyValues(), and m_configurables.
Referenced by readFromFile(), and readFromOldFile().
void FWConfigurationManager::to | ( | FWConfiguration & | oConfig | ) | const |
Definition at line 91 of file FWConfigurationManager.cc.
References FWConfiguration::addKeyValue(), HDQMDatabaseProducer::config, and m_configurables.
Referenced by writeToFile().
void FWConfigurationManager::writeToFile | ( | const std::string & | iName | ) | const |
Definition at line 105 of file FWConfigurationManager.cc.
References alignCSCRings::e, mergeVDriftHistosByStation::file, fwLog, fwlog::kError, fwlog::kInfo, python.rootplot.argparse::message, streamTo(), and to().
|
private |
Definition at line 58 of file FWConfigurationManager.h.