#include <SMSTransformationChainConfig.hxx>

It is basically made of a list of children ProcessingConfigs. Pointers are used to be able to handle polymorphism on these children. These pointers to a ProcessingConfig are indeed pointers to instances of a derived class.
Definition at line 118 of file SMSTransformationChainConfig.hxx.
Public Types | |
| typedef std::list < SMSTransformationChaineeConfig > ::iterator | iterator |
| typedef std::list < SMSTransformationChaineeConfig > ::const_iterator | const_iterator |
Public Member Functions | |
| DYNAMIC_TYPE_USING_INTERFACE (SMSTransformationChainConfig, 2, ProcessingConfig) | |
| DYN_CONTAINER_ATTRIBUTE (0, public, std::list< SMSTransformationChaineeConfig >, Configurations, Config) | |
| List of children configurations, a list of pointers to base class is kept. | |
| DYN_ATTRIBUTE (1, public, Array< bool >, OnArray) | |
| Array of On/off initial values for control. | |
| void | DefaultInit () |
| By default all attributes are added. | |
| iterator | ConfigList_begin () |
| Returns a configuration iterator at the beginning of the list. | |
| iterator | ConfigList_end () |
| Returns a configuration iterator at the end of the list. | |
| const_iterator | ConfigList_begin_const () const |
| Returns a configuration iterator at the beginning of the list. | |
| const_iterator | ConfigList_end_const () const |
| Returns a configuration iterator at the end of the list. | |
| bool | AddSMSConfiguration (const SegmentTransformationConfig &cfg, std::string type) |
| std::size_t | ConfigList_size () const |
| Returns the size of the configuration list. | |
| bool | IsEmpty () |
| Returns true if there are no configurations. | |
| TSize | GetnConfigurations () |
| Accessor to the number of configurations in the list. | |
| virtual | ~SMSTransformationChainConfig () |
| Virtual destructor. | |
Protected Member Functions | |
| virtual void | AddConfiguration (const ProcessingConfig &newConcreteConfig, const std::string &className) |
| Adds a configuration at the end of the list. | |
| typedef std::list<SMSTransformationChaineeConfig>::iterator CLAM::SMSTransformationChainConfig::iterator |
Definition at line 121 of file SMSTransformationChainConfig.hxx.
| typedef std::list<SMSTransformationChaineeConfig>::const_iterator CLAM::SMSTransformationChainConfig::const_iterator |
Definition at line 122 of file SMSTransformationChainConfig.hxx.
| virtual CLAM::SMSTransformationChainConfig::~SMSTransformationChainConfig | ( | ) | [inline, virtual] |
| CLAM::SMSTransformationChainConfig::DYNAMIC_TYPE_USING_INTERFACE | ( | SMSTransformationChainConfig | , | |
| 2 | , | |||
| ProcessingConfig | ||||
| ) |
| CLAM::SMSTransformationChainConfig::DYN_CONTAINER_ATTRIBUTE | ( | 0 | , | |
| public | , | |||
| std::list< SMSTransformationChaineeConfig > | , | |||
| Configurations | , | |||
| Config | ||||
| ) |
List of children configurations, a list of pointers to base class is kept.
Array of On/off initial values for control.
| void CLAM::SMSTransformationChainConfig::DefaultInit | ( | void | ) |
By default all attributes are added.
Reimplemented from CLAM::DynamicType.
Definition at line 97 of file SMSTransformationChainConfig.cxx.
References CLAM::DynamicType::UpdateData().
| iterator CLAM::SMSTransformationChainConfig::ConfigList_begin | ( | ) | [inline] |
Returns a configuration iterator at the beginning of the list.
Definition at line 134 of file SMSTransformationChainConfig.hxx.
Referenced by CLAM::SMSTransformationChain::ConcreteConfigure().
| iterator CLAM::SMSTransformationChainConfig::ConfigList_end | ( | ) | [inline] |
Returns a configuration iterator at the end of the list.
Definition at line 136 of file SMSTransformationChainConfig.hxx.
Referenced by CLAM::SMSTransformationChain::ConcreteConfigure().
| const_iterator CLAM::SMSTransformationChainConfig::ConfigList_begin_const | ( | ) | const [inline] |
Returns a configuration iterator at the beginning of the list.
Definition at line 139 of file SMSTransformationChainConfig.hxx.
| const_iterator CLAM::SMSTransformationChainConfig::ConfigList_end_const | ( | ) | const [inline] |
Returns a configuration iterator at the end of the list.
Definition at line 141 of file SMSTransformationChainConfig.hxx.
| bool CLAM::SMSTransformationChainConfig::AddSMSConfiguration | ( | const SegmentTransformationConfig & | cfg, | |
| std::string | type | |||
| ) | [inline] |
| std::size_t CLAM::SMSTransformationChainConfig::ConfigList_size | ( | ) | const [inline] |
Returns the size of the configuration list.
Definition at line 150 of file SMSTransformationChainConfig.hxx.
Referenced by GetnConfigurations().
| bool CLAM::SMSTransformationChainConfig::IsEmpty | ( | ) | [inline] |
Returns true if there are no configurations.
Definition at line 155 of file SMSTransformationChainConfig.hxx.
References GetnConfigurations().
| TSize CLAM::SMSTransformationChainConfig::GetnConfigurations | ( | ) | [inline] |
Accessor to the number of configurations in the list.
Definition at line 157 of file SMSTransformationChainConfig.hxx.
References ConfigList_size().
Referenced by AddConfiguration(), and IsEmpty().
| void CLAM::SMSTransformationChainConfig::AddConfiguration | ( | const ProcessingConfig & | newConcreteConfig, | |
| const std::string & | className | |||
| ) | [protected, virtual] |
Adds a configuration at the end of the list.
Definition at line 103 of file SMSTransformationChainConfig.cxx.
References GetnConfigurations(), and CLAM::SMSTransformationChaineeConfig::SetConcreteConfig().
Referenced by AddSMSConfiguration().
1.5.5