Configuration for a SMSTransformationChain. More...
#include <SMSTransformationChainConfig.hxx>
Public Types | |
| typedef std::list < SMSTransformationChaineeConfig > ::iterator | iterator |
| typedef std::list < SMSTransformationChaineeConfig > ::const_iterator | const_iterator |
Public Member Functions | |
| SMSTransformationChainConfig () | |
| SMSTransformationChainConfig (const SMSTransformationChainConfig &prototype, const bool shareData=false, const bool deep=true) | |
| __COMMON_DYNAMIC_TYPE (SMSTransformationChainConfig, 2) | |
| __COMMON_DYN_ATTRIBUTE (0, public, std::list< SMSTransformationChaineeConfig >, Configurations) protected | |
| List of children configurations, a list of pointers to base class is kept. | |
| bool | LoadConfigurations (CLAM::Storage &s) |
| __COMMON_DYN_ATTRIBUTE (1, public, Array< bool >, OnArray) protected | |
| Array of On/off initial values for control. | |
| bool | LoadOnArray (CLAM::Storage &s) |
| 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. | |
Configuration for a SMSTransformationChain.
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.
| typedef std::list<SMSTransformationChaineeConfig>::const_iterator CLAM::SMSTransformationChainConfig::const_iterator |
Definition at line 122 of file SMSTransformationChainConfig.hxx.
| typedef std::list<SMSTransformationChaineeConfig>::iterator CLAM::SMSTransformationChainConfig::iterator |
Definition at line 121 of file SMSTransformationChainConfig.hxx.
| CLAM::SMSTransformationChainConfig::SMSTransformationChainConfig | ( | ) | [inline] |
Definition at line 124 of file SMSTransformationChainConfig.hxx.
| CLAM::SMSTransformationChainConfig::SMSTransformationChainConfig | ( | const SMSTransformationChainConfig & | prototype, | |
| const bool | shareData = false, |
|||
| const bool | deep = true | |||
| ) | [inline] |
Definition at line 124 of file SMSTransformationChainConfig.hxx.
| virtual CLAM::SMSTransformationChainConfig::~SMSTransformationChainConfig | ( | ) | [inline, virtual] |
Virtual destructor.
Definition at line 160 of file SMSTransformationChainConfig.hxx.
| CLAM::SMSTransformationChainConfig::__COMMON_DYN_ATTRIBUTE | ( | 1 | , | |
| public | , | |||
| Array< bool > | , | |||
| OnArray | ||||
| ) | [inline] |
Array of On/off initial values for control.
Definition at line 128 of file SMSTransformationChainConfig.hxx.
| CLAM::SMSTransformationChainConfig::__COMMON_DYN_ATTRIBUTE | ( | 0 | , | |
| public | , | |||
| std::list< SMSTransformationChaineeConfig > | , | |||
| Configurations | ||||
| ) | [inline] |
List of children configurations, a list of pointers to base class is kept.
Definition at line 126 of file SMSTransformationChainConfig.hxx.
| CLAM::SMSTransformationChainConfig::__COMMON_DYNAMIC_TYPE | ( | SMSTransformationChainConfig | , | |
| 2 | ||||
| ) |
| 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 95 of file SMSTransformationChainConfig.cxx.
References CLAM::DynamicType::UpdateData().
Referenced by AddSMSConfiguration().
| bool CLAM::SMSTransformationChainConfig::AddSMSConfiguration | ( | const SegmentTransformationConfig & | cfg, | |
| std::string | type | |||
| ) | [inline] |
Definition at line 143 of file SMSTransformationChainConfig.hxx.
References AddConfiguration().
| iterator CLAM::SMSTransformationChainConfig::ConfigList_begin | ( | ) | [inline] |
Returns a configuration iterator at the beginning of the list.
Definition at line 134 of file SMSTransformationChainConfig.hxx.
| 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.
| iterator CLAM::SMSTransformationChainConfig::ConfigList_end | ( | ) | [inline] |
Returns a configuration iterator at the end of the list.
Definition at line 136 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.
| 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().
| void CLAM::SMSTransformationChainConfig::DefaultInit | ( | void | ) |
By default all attributes are added.
Reimplemented from CLAM::DynamicType.
Definition at line 89 of file SMSTransformationChainConfig.cxx.
| 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 IsEmpty().
| bool CLAM::SMSTransformationChainConfig::IsEmpty | ( | ) | [inline] |
Returns true if there are no configurations.
Definition at line 155 of file SMSTransformationChainConfig.hxx.
References GetnConfigurations().
| bool CLAM::SMSTransformationChainConfig::LoadConfigurations | ( | CLAM::Storage & | s | ) | [inline] |
Definition at line 126 of file SMSTransformationChainConfig.hxx.
| bool CLAM::SMSTransformationChainConfig::LoadOnArray | ( | CLAM::Storage & | s | ) | [inline] |
Definition at line 128 of file SMSTransformationChainConfig.hxx.
1.6.3