#include <Fireworks/Core/interface/FWConfigurableParameterizable.h>
Public Member Functions | |
virtual void | addTo (FWConfiguration &) const |
FWConfigurableParameterizable (unsigned int iVersion=1) | |
virtual void | setFrom (const FWConfiguration &) |
unsigned int | version () const |
virtual | ~FWConfigurableParameterizable () |
Private Member Functions | |
FWConfigurableParameterizable (const FWConfigurableParameterizable &) | |
const FWConfigurableParameterizable & | operator= (const FWConfigurableParameterizable &) |
Private Attributes | |
unsigned int | m_version |
Description: <one line="" class="" summary>="">
Usage: <usage>
Definition at line 31 of file FWConfigurableParameterizable.h.
FWConfigurableParameterizable::FWConfigurableParameterizable | ( | unsigned int | iVersion = 1 | ) |
Definition at line 32 of file FWConfigurableParameterizable.cc.
: m_version(iVersion) { }
FWConfigurableParameterizable::~FWConfigurableParameterizable | ( | ) | [virtual] |
Definition at line 42 of file FWConfigurableParameterizable.cc.
{ }
FWConfigurableParameterizable::FWConfigurableParameterizable | ( | const FWConfigurableParameterizable & | ) | [private] |
void FWConfigurableParameterizable::addTo | ( | FWConfiguration & | oTo | ) | const [virtual] |
Implements FWConfigurable.
Reimplemented in CmsShowCommon, FW3DViewBase, FWEveView, FWGeometryTableViewBase, FWGlimpseView, FWLegoViewBase, FWProxyBuilderConfiguration, FWRPZView, FWTableView, and FWTriggerTableView.
Definition at line 77 of file FWConfigurableParameterizable.cc.
References FWParameterizable::begin(), and FWParameterizable::end().
Referenced by FWGUIManager::addTo().
{ for(const_iterator it =begin(), itEnd = end(); it != itEnd; ++it) { (*it)->addTo(oTo); } }
const FWConfigurableParameterizable& FWConfigurableParameterizable::operator= | ( | const FWConfigurableParameterizable & | ) | [private] |
void FWConfigurableParameterizable::setFrom | ( | const FWConfiguration & | iFrom | ) | [virtual] |
Implements FWConfigurable.
Reimplemented in CmsShowCommon, FW3DViewBase, FWEveView, FWGeometryTableViewBase, FWGlimpseView, FWLegoViewBase, FWProxyBuilderConfiguration, FWRPZView, FWTableView, FWTriggerTableView, FWViewEnergyScale, FWGeometryTableView, and FWOverlapTableView.
Definition at line 62 of file FWConfigurableParameterizable.cc.
References FWParameterizable::begin(), FWParameterizable::end(), m_version, and FWConfiguration::version().
{ //need a way to handle versioning assert(iFrom.version() == m_version); for(const_iterator it =begin(), itEnd = end(); it != itEnd; ++it) { (*it)->setFrom(iFrom); } }
unsigned int FWConfigurableParameterizable::version | ( | ) | const [inline] |
Definition at line 41 of file FWConfigurableParameterizable.h.
References m_version.
Referenced by FWGUIManager::addTo(), FWEveView::setFrom(), and FWTriggerTableView::setFrom().
{ return m_version; }
unsigned int FWConfigurableParameterizable::m_version [private] |
Definition at line 55 of file FWConfigurableParameterizable.h.