#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 32 of file FWConfiguration.h.
typedef std::vector<std::pair< std::string, FWConfiguration> > FWConfiguration::KeyValues |
Definition at line 46 of file FWConfiguration.h.
typedef KeyValues::const_iterator FWConfiguration::KeyValuesIt |
Definition at line 47 of file FWConfiguration.h.
typedef std::vector<std::string> FWConfiguration::StringValues |
Definition at line 49 of file FWConfiguration.h.
typedef StringValues::const_iterator FWConfiguration::StringValuesIt |
Definition at line 50 of file FWConfiguration.h.
|
inline |
|
inline |
Definition at line 38 of file FWConfiguration.h.
|
virtual |
Definition at line 45 of file FWConfiguration.cc.
FWConfiguration::FWConfiguration | ( | const FWConfiguration & | rhs | ) |
Definition at line 38 of file FWConfiguration.cc.
FWConfiguration & FWConfiguration::addKeyValue | ( | const std::string & | iKey, |
const FWConfiguration & | iConfig | ||
) |
Definition at line 65 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 78 of file FWConfiguration.cc.
References FWConfiguration(), m_keyValues, and m_stringValues.
FWConfiguration & FWConfiguration::addValue | ( | const std::string & | iValue | ) |
Definition at line 105 of file FWConfiguration.cc.
References m_keyValues, and m_stringValues.
Referenced by FWTableViewManager::addToImpl().
|
inline |
Definition at line 59 of file FWConfiguration.h.
References m_keyValues.
Referenced by FWProxyBuilderConfiguration::assertParam(), FWGeometryTableViewBase::populate3DViewsFromConfig(), FWConfigurationManager::setFrom(), FWCompositeParameter::setFrom(), FWEventItemsManager::setFrom(), CmsShowNavigator::setFrom(), FWGUIManager::setFrom(), and streamTo().
FWConfiguration & FWConfiguration::operator= | ( | const FWConfiguration & | rhs | ) |
Definition at line 52 of file FWConfiguration.cc.
References swap(), and groupFilesInBlocks::temp.
|
inline |
Definition at line 62 of file FWConfiguration.h.
References m_stringValues.
Referenced by FWTableViewManager::setFrom(), and streamTo().
void FWConfiguration::swap | ( | FWConfiguration & | iRHS | ) |
Definition at line 119 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 130 of file FWConfiguration.cc.
References m_stringValues.
Referenced by 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(), CmsShowCommon::setFrom(), FW3DViewBase::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 139 of file FWConfiguration.cc.
References first, m_keyValues, and m_stringValues.
Referenced by FWProxyBuilderConfiguration::assertParam(), CmsAnnotation::setFrom(), FWEventAnnotation::setFrom(), FWCompositeParameter::setFrom(), FWLegoViewBase::setFrom(), FWOverlapTableView::setFrom(), FWRPZView::setFrom(), CmsShowCommon::setFrom(), FWEventItemsManager::setFrom(), FW3DViewBase::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 55 of file FWConfiguration.h.
References m_version.
Referenced by FWCompositeParameter::setFrom(), FWLegoViewBase::setFrom(), FWConfigurableParameterizable::setFrom(), FWRPZView::setFrom(), FW3DViewBase::setFrom(), FWEventItemsManager::setFrom(), FWEveView::setFrom(), FWTriggerTableView::setFrom(), FWTableView::setFrom(), FWGUIManager::setFrom(), and streamTo().
|
private |
Definition at line 80 of file FWConfiguration.h.
Referenced by addKeyValue(), addValue(), keyValues(), swap(), and valueForKey().
|
private |
Definition at line 79 of file FWConfiguration.h.
Referenced by addKeyValue(), addValue(), stringValues(), swap(), value(), and valueForKey().
|
private |
Definition at line 81 of file FWConfiguration.h.