|
CLAM-Development
1.4.0
|
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 | |
| 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. | |
Public Member Functions inherited from CLAM::ProcessingConfig | |
| ProcessingConfig (const int n) | |
| Constructor. | |
| ProcessingConfig (const ProcessingConfig &prototype, bool shareData=false, bool deep=true) | |
| Copy constructor. | |
| virtual | ~ProcessingConfig () |
| virtual const char * | GetClassName () const |
| Return the class name. | |
Public Member Functions inherited from CLAM::DynamicType | |
| DynamicType (const int nAttr) | |
| Constructs a DynamicType object that can hold. | |
| DynamicType (const DynamicType &prototype, const bool shareData, const bool deepCopy) | |
| Copy constructor of a dynamic Type. | |
| DynamicType (const DynamicType &prototype) | |
| virtual | ~DynamicType () |
| void | CopyInit (const DynamicType &dt) |
| This method allows custom code for the copy-constructor of a dynamic type, since the copy-constructor is macro expanded and can not be overwritted. | |
| bool | UpdateData () |
| Method used to resize the data space of the dynamic type, necessary when some AddXXX() / RemoveXXX() (where XXX is an attribute name) has been done. | |
| unsigned | GetNDynamicAttributes () const |
| const char * | GetDynamicAttributeName (unsigned i) |
| virtual const std::type_info & | GetTypeId (unsigned i) const =0 |
| bool | AttributeIsComponent (unsigned i) const |
| bool | AttributeIsDynamictype (unsigned i) const |
| bool | IsAttributeInstantiated (unsigned i) const |
| const void * | GetAttributeAsVoidPtr (unsigned i) const |
| const Component * | GetAttributeAsComponent (unsigned i) const |
| Component * | GetAttributeAsComponent (unsigned i) |
| void | FullfilsInvariant () const |
| virtual Component * | DeepCopy () const |
| void | Debug () const |
| virtual void | StoreOn (CLAM::Storage &storage) const |
| Stores component's subitems on the given Storage. | |
| virtual void | LoadFrom (CLAM::Storage &storage) |
| Loads component's subitems from the given Storage. | |
Public Member Functions inherited from CLAM::Component | |
| virtual | ~Component () |
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.
|
inlinevirtual |
Virtual destructor.
Definition at line 160 of file SMSTransformationChainConfig.hxx.
|
protectedvirtual |
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().
|
inline |
Definition at line 143 of file SMSTransformationChainConfig.hxx.
References AddConfiguration().
|
inline |
Returns a configuration iterator at the beginning of the list.
Definition at line 134 of file SMSTransformationChainConfig.hxx.
Referenced by CLAM::SMSTransformationChain::ConcreteConfigure().
|
inline |
Returns a configuration iterator at the beginning of the list.
Definition at line 139 of file SMSTransformationChainConfig.hxx.
|
inline |
Returns a configuration iterator at the end of the list.
Definition at line 136 of file SMSTransformationChainConfig.hxx.
Referenced by CLAM::SMSTransformationChain::ConcreteConfigure().
|
inline |
Returns a configuration iterator at the end of the list.
Definition at line 141 of file SMSTransformationChainConfig.hxx.
|
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 97 of file SMSTransformationChainConfig.cxx.
References CLAM::DynamicType::UpdateData().
| CLAM::SMSTransformationChainConfig::DYN_ATTRIBUTE | ( | 1 | , |
| public | , | ||
| Array< bool > | , | ||
| OnArray | |||
| ) |
Array of On/off initial values for control.
| 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.
| CLAM::SMSTransformationChainConfig::DYNAMIC_TYPE_USING_INTERFACE | ( | SMSTransformationChainConfig | , |
| 2 | , | ||
| ProcessingConfig | |||
| ) |
|
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().
|
inline |
Returns true if there are no configurations.
Definition at line 155 of file SMSTransformationChainConfig.hxx.
References GetnConfigurations().
1.8.1