#include <Fireworks/Core/interface/FWConfiguration.h>
Public Types | |
typedef std::vector< std::pair < std::string, FWConfiguration > > | KeyValues |
typedef KeyValues::const_iterator | KeyValuesIt |
typedef std::vector< std::string > | StringValues |
typedef StringValues::const_iterator | StringValuesIt |
Public Member Functions | |
FWConfiguration & | addKeyValue (const std::string &, const FWConfiguration &) |
FWConfiguration & | addKeyValue (const std::string &, FWConfiguration &, bool iDoSwap=false) |
FWConfiguration & | addValue (const std::string &) |
FWConfiguration (unsigned int iVersion=1) | |
FWConfiguration (const std::string &iValue) | |
FWConfiguration (const FWConfiguration &) | |
const KeyValues * | keyValues () const |
FWConfiguration & | operator= (const FWConfiguration &) |
const StringValues * | stringValues () const |
void | swap (FWConfiguration &) |
const std::string & | value (unsigned int iIndex=0) const |
const FWConfiguration * | valueForKey (const std::string &iKey) const |
unsigned int | version () const |
virtual | ~FWConfiguration () |
Private Attributes | |
boost::scoped_ptr< std::vector < std::pair< std::string, FWConfiguration > > > | m_keyValues |
boost::scoped_ptr< std::vector < std::string > > | m_stringValues |
unsigned int | m_version |
Description: <one line="" class="" summary>="">
Usage: <usage>
Definition at line 31 of file FWConfiguration.h.
typedef std::vector<std::pair< std::string, FWConfiguration> > FWConfiguration::KeyValues |
Definition at line 45 of file FWConfiguration.h.
typedef KeyValues::const_iterator FWConfiguration::KeyValuesIt |
Definition at line 46 of file FWConfiguration.h.
typedef std::vector<std::string> FWConfiguration::StringValues |
Definition at line 48 of file FWConfiguration.h.
typedef StringValues::const_iterator FWConfiguration::StringValuesIt |
Definition at line 49 of file FWConfiguration.h.
|
inline |
|
inline |
Definition at line 37 of file FWConfiguration.h.
|
virtual |
Definition at line 44 of file FWConfiguration.cc.
FWConfiguration::FWConfiguration | ( | const FWConfiguration & | rhs | ) |
Definition at line 37 of file FWConfiguration.cc.
FWConfiguration & FWConfiguration::addKeyValue | ( | const std::string & | iKey, |
const FWConfiguration & | iConfig | ||
) |
Definition at line 64 of file FWConfiguration.cc.
References m_keyValues, and m_stringValues.
Referenced by addAreaInfoTo(), CmsAnnotation::addTo(), FWEventAnnotation::addTo(), FWCompositeParameter::addTo(), FWLegoViewBase::addTo(), FWTriggerTableView::addTo(), FWEventItemsManager::addTo(), FWProxyBuilderConfiguration::addTo(), FWTableView::addTo(), FWGenericParameter< T >::addTo(), FWGeometryTableViewBase::addTo(), CmsShowNavigator::addTo(), FWGUIManager::addTo(), FWTableViewManager::addToImpl(), FWEveView::addToOrthoCamera(), FWEveView::addToPerspectiveCamera(), addWindowInfoTo(), FWEventItemsManager::setFrom(), and FWConfigurationManager::to().
FWConfiguration & FWConfiguration::addKeyValue | ( | const std::string & | iKey, |
FWConfiguration & | iConfig, | ||
bool | iDoSwap = false |
||
) |
Definition at line 77 of file FWConfiguration.cc.
References FWConfiguration(), m_keyValues, and m_stringValues.
FWConfiguration & FWConfiguration::addValue | ( | const std::string & | iValue | ) |
Definition at line 104 of file FWConfiguration.cc.
References m_keyValues, and m_stringValues.
Referenced by FWTableViewManager::addToImpl().
|
inline |
Definition at line 58 of file FWConfiguration.h.
References m_keyValues.
Referenced by FWProxyBuilderConfiguration::assertParam(), FWConfigurationManager::guessAndReadFromFile(), FWGeometryTableViewBase::populate3DViewsFromConfig(), FWConfigurationManager::setFrom(), FWCompositeParameter::setFrom(), FWEventItemsManager::setFrom(), CmsShowNavigator::setFrom(), FWGUIManager::setFrom(), and streamTo().
FWConfiguration & FWConfiguration::operator= | ( | const FWConfiguration & | rhs | ) |
Definition at line 51 of file FWConfiguration.cc.
References swap(), and groupFilesInBlocks::temp.
|
inline |
Definition at line 61 of file FWConfiguration.h.
References m_stringValues.
Referenced by FWTableViewManager::setFrom(), and streamTo().
void FWConfiguration::swap | ( | FWConfiguration & | iRHS | ) |
Definition at line 118 of file FWConfiguration.cc.
References m_keyValues, m_stringValues, m_version, and std::swap().
Referenced by operator=().
const std::string & FWConfiguration::value | ( | unsigned int | iIndex = 0 | ) | const |
Definition at line 129 of file FWConfiguration.cc.
References m_stringValues.
Referenced by Types.int32::__nonzero__(), Types.uint32::__nonzero__(), Types.int64::__nonzero__(), Types.uint64::__nonzero__(), Types.double::__nonzero__(), Types.bool::__nonzero__(), Types.string::__nonzero__(), average.Average::average(), Vispa.Views.PropertyView.FileProperty::buttonClicked(), Types.string::configValue(), Types.FileInPath::configValue(), Mixins.UsingBlock::dumpPython(), Types.int32::insertInto(), Types.uint32::insertInto(), Types.int64::insertInto(), Types.uint64::insertInto(), Mixins.UsingBlock::insertInto(), Types.double::insertInto(), Types.bool::insertInto(), Types.string::insertInto(), Types.FileInPath::insertInto(), Types.vint32::insertInto(), Types.vuint32::insertInto(), Types.vint64::insertInto(), Types.vuint64::insertInto(), Types.vdouble::insertInto(), Types.vbool::insertInto(), Types.vstring::insertInto(), Vispa.Views.PropertyView.FileProperty::labelDoubleClicked(), CmsAnnotation::setFrom(), FWEventAnnotation::setFrom(), FWLegoViewBase::setFrom(), FWRPZView::setFrom(), FW3DViewBase::setFrom(), CmsShowCommon::setFrom(), FWTriggerTableView::setFrom(), FWTableView::setFrom(), CmsShowNavigator::setFrom(), FWGUIManager::setFrom(), FWEveView::setFromOrthoCamera(), FWEveView::setFromPerspectiveCamera(), FWGeometryTableViewBase::setTopNodePathFromConfig(), and FWGUIManager::setWindowInfoFrom().
const FWConfiguration * FWConfiguration::valueForKey | ( | const std::string & | iKey | ) | const |
Definition at line 138 of file FWConfiguration.cc.
References plotBeamSpotDB::first, m_keyValues, and m_stringValues.
Referenced by FWProxyBuilderConfiguration::assertParam(), CmsAnnotation::setFrom(), FWEventAnnotation::setFrom(), FWCompositeParameter::setFrom(), FWLegoViewBase::setFrom(), FWOverlapTableView::setFrom(), FWRPZView::setFrom(), FWEventItemsManager::setFrom(), FW3DViewBase::setFrom(), CmsShowCommon::setFrom(), FWGeometryTableView::setFrom(), FWTriggerTableView::setFrom(), FWTableView::setFrom(), FWTableViewManager::setFrom(), FWGenericParameter< T >::setFrom(), CmsShowNavigator::setFrom(), FWGUIManager::setFrom(), FWEveView::setFromOrthoCamera(), FWEveView::setFromPerspectiveCamera(), FWGeometryTableViewBase::setTopNodePathFromConfig(), and FWGUIManager::setWindowInfoFrom().
|
inline |
Definition at line 54 of file FWConfiguration.h.
References m_version.
Referenced by FWCompositeParameter::setFrom(), FWLegoViewBase::setFrom(), FWConfigurableParameterizable::setFrom(), FWRPZView::setFrom(), FW3DViewBase::setFrom(), FWEventItemsManager::setFrom(), FWTriggerTableView::setFrom(), FWEveView::setFrom(), FWTableView::setFrom(), FWGUIManager::setFrom(), and streamTo().
|
private |
Definition at line 79 of file FWConfiguration.h.
Referenced by addKeyValue(), addValue(), keyValues(), swap(), and valueForKey().
|
private |
Definition at line 78 of file FWConfiguration.h.
Referenced by addKeyValue(), addValue(), stringValues(), swap(), value(), and valueForKey().
|
private |
Definition at line 80 of file FWConfiguration.h.