#include <freProfileOption.h>


Public Types | |
| typedef ProfileOption | Self |
| typedef ControllerProfileBase | Superclass |
| typedef itk::SmartPointer < Self > | Pointer |
| typedef itk::SmartPointer < const Self > | ConstPointer |
Public Member Functions | |
| virtual const char * | GetNameOfClass () const |
| virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
| void | CheckForControllerID () |
| void | CheckForInheritance () |
| void | CheckForDescription () |
| void | CheckForParameters () |
| void | CheckForSubComponents () |
| void | CheckForIO () |
| bool | ProfileMatchesOption (const ControllerProfileBase &profile) const |
| ProfileOption & | operator= (const ProfileOption &rProfile) |
| virtual void | Reset () |
Static Public Member Functions | |
| static Pointer | New (void) |
Protected Member Functions | |
| ProfileOption () | |
| virtual | ~ProfileOption () |
| virtual void | SubElementLoadProcessing (const std::string &rsXMLSubTag, const std::string &rsXMLSubElement, const std::string &rsXMLSubData) |
| virtual std::string | SaveData (const unsigned int &iDepth, bool &bHasSubElements) const |
Protected Attributes | |
| bool | m_bControllerID |
| bool | m_bInheritance |
| bool | m_bDescription |
| bool | m_bParameters |
| bool | m_bSubComponents |
| bool | m_bIO |
Private Member Functions | |
| ProfileOption (const ProfileOption &rProfile) | |
ControllerProfileBase is the base class of profiles characterizing a component and ensure the assembly of reasonable setups. From this base class the real profile is derived as well as profile options for requirement definitions.
Definition at line 41 of file freProfileOption.h.
Reimplemented from FREE::CtrlProfile::ControllerProfileBase.
Definition at line 44 of file freProfileOption.h.
Reimplemented from FREE::CtrlProfile::ControllerProfileBase.
Definition at line 45 of file freProfileOption.h.
| typedef itk::SmartPointer<Self> FREE::CtrlProfile::ProfileOption::Pointer |
Reimplemented from FREE::CtrlProfile::ControllerProfileBase.
Definition at line 46 of file freProfileOption.h.
| typedef itk::SmartPointer<const Self> FREE::CtrlProfile::ProfileOption::ConstPointer |
Reimplemented from FREE::CtrlProfile::ControllerProfileBase.
Definition at line 47 of file freProfileOption.h.
| FREE::CtrlProfile::ProfileOption::ProfileOption | ( | ) | [protected] |
Definition at line 108 of file freProfileOption.cxx.
References FREE::cXML_CP_ProfileOption, Reset(), and FREE::XMLStreamObject::SetXMLTag().

| FREE::CtrlProfile::ProfileOption::~ProfileOption | ( | ) | [protected, virtual] |
Definition at line 150 of file freProfileOption.cxx.
References Reset().

| FREE::CtrlProfile::ProfileOption::ProfileOption | ( | const ProfileOption & | rProfile | ) | [private] |
suppresses default copy constructor
| virtual const char* FREE::CtrlProfile::ProfileOption::GetNameOfClass | ( | ) | const [inline, virtual] |
Reimplemented from FREE::CtrlProfile::ControllerProfileBase.
Definition at line 49 of file freProfileOption.h.
| static Pointer FREE::CtrlProfile::ProfileOption::New | ( | void | ) | [inline, static] |
Reimplemented from FREE::CtrlProfile::ControllerProfileBase.
Definition at line 50 of file freProfileOption.h.
Referenced by FREE::CtrlProfile::ProfileRequirement::AddProfileOption(), and FREE::CtrlProfile::ProfileRequirement::SubElementLoadProcessing().
| virtual ::itk::LightObject::Pointer FREE::CtrlProfile::ProfileOption::CreateAnother | ( | void | ) | const [inline, virtual] |
Reimplemented from FREE::CtrlProfile::ControllerProfileBase.
Definition at line 50 of file freProfileOption.h.
| void FREE::CtrlProfile::ProfileOption::CheckForControllerID | ( | ) | [inline] |
| void FREE::CtrlProfile::ProfileOption::CheckForInheritance | ( | ) | [inline] |
Definition at line 53 of file freProfileOption.h.
References m_bInheritance.
Referenced by FREE::CompareHistogramMetricControllerBase< TControlledCompareHistogramMetric >::CompareHistogramMetricControllerBase(), FREE::WarpImageFilterControllerBase< FREE::ImageTypes< 3 >::InternalImageType, FREE::ImageTypes< 3 >::TransformationFieldType >::GenerateProfile(), FREE::VersorTransformOptimizerController::GenerateProfile(), FREE::VersorTransformController::GenerateProfile(), FREE::VersorRigid3DTransformOptimizerController::GenerateProfile(), FREE::VersorRigid3DTransformController::GenerateProfile(), FREE::SVNonLinearOptimizerControllerBase< TControlledOptimizer >::GenerateProfile(), FREE::SetupOptimizationProcessorController::GenerateProfile(), FREE::SetupOptimizationOptimizerControllerBase< TControlledOptimizer >::GenerateProfile(), FREE::SetupOptimizationMetricControllerBase< TControlledMetric >::GenerateProfile(), FREE::RigidRegistrationControllerBase< TControlledRigidProcessor >::GenerateProfile(), FREE::ResampleImageFilterControllerBase< FREE::ImageTypes< 2 >::InternalImageType >::GenerateProfile(), FREE::PrecisionSOMetricController::GenerateProfile(), FREE::PointSupportedMetricControllerBase< ImageTypes< 3 >::InternalImageType, FREE::ImageTypes< 3 >::PointSetType >::GenerateProfile(), FREE::PointSetRegistrationControllerBase< TControlledRigidProcessor >::GenerateProfile(), FREE::OnePlusOneEvolutionarySOOptimizerController::GenerateProfile(), FREE::OnePlusOneEvolutionaryOptimizerController::GenerateProfile(), FREE::MediaDrainController::GenerateProfile(), FREE::ImageRegistrationControllerBase< TControlledProcessor >::GenerateProfile(), FREE::EvolutionaryStrategySOOptimizerController::GenerateProfile(), FREE::EvolutionaryStrategyOptimizerController::GenerateProfile(), FREE::ESDiscriminativeRecombinatorController::GenerateProfile(), FREE::ESCMAMutationController::GenerateProfile(), FREE::DemonRegistrationControllerBase< FREE::DemonRegistrationProcessor >::GenerateProfile(), FREE::ConstrainedOnePlusOneEvolutionarySOOptimizerController::GenerateProfile(), and FREE::ClosedFormRegistrationControllerBase< TControlledRigidProcessor >::GenerateProfile().
| void FREE::CtrlProfile::ProfileOption::CheckForDescription | ( | ) | [inline] |
| void FREE::CtrlProfile::ProfileOption::CheckForParameters | ( | ) | [inline] |
| void FREE::CtrlProfile::ProfileOption::CheckForSubComponents | ( | ) | [inline] |
| void FREE::CtrlProfile::ProfileOption::CheckForIO | ( | ) | [inline] |
Definition at line 57 of file freProfileOption.h.
References m_bIO.
Referenced by FREE::SetupManager::ActualizeConstraintCache(), FREE::CompareHistogramMetricControllerBase< TControlledCompareHistogramMetric >::CompareHistogramMetricControllerBase(), FREE::WarpImageFilterControllerBase< FREE::ImageTypes< 3 >::InternalImageType, FREE::ImageTypes< 3 >::TransformationFieldType >::GenerateProfile(), FREE::RigidRegistrationControllerBase< TControlledRigidProcessor >::GenerateProfile(), FREE::ResampleImageFilterControllerBase< FREE::ImageTypes< 2 >::InternalImageType >::GenerateProfile(), FREE::PointSupportedMetricControllerBase< ImageTypes< 3 >::InternalImageType, FREE::ImageTypes< 3 >::PointSetType >::GenerateProfile(), FREE::PointSetRegistrationControllerBase< TControlledRigidProcessor >::GenerateProfile(), FREE::ImageRegistrationControllerBase< TControlledProcessor >::GenerateProfile(), FREE::DemonRegistrationControllerBase< FREE::DemonRegistrationProcessor >::GenerateProfile(), and FREE::ClosedFormRegistrationControllerBase< TControlledRigidProcessor >::GenerateProfile().
| bool FREE::CtrlProfile::ProfileOption::ProfileMatchesOption | ( | const ControllerProfileBase & | profile | ) | const |
Function checks of the profile option matches the passed profile and returns the checking result.
| profile | The profile that should be compared with the profile option (this). |
Definition at line 31 of file freProfileOption.cxx.
References FREE::CtrlProfile::ControllerProfileBase::ControllerID(), FREE::CtrlProfile::ControllerProfileBase::Description(), FREE::CtrlProfile::Media::DT_AllDimensions, FREE::CtrlProfile::ProfileInheritance::GetAncestor(), FREE::CtrlProfile::SubComponent::GetComponentID(), FREE::CtrlProfile::Media::GetDimension(), FREE::KeyedCollectionBase< TKey, TElement, TIdentifierClass >::GetElement(), FREE::Parameter::GetParameterName(), FREE::CtrlProfile::ControllerProfileBase::Inheritance(), FREE::CtrlProfile::ProfileInheritance::IsChildOf(), m_bControllerID, m_bDescription, m_bInheritance, m_bIO, m_bParameters, m_bSubComponents, FREE::CtrlProfile::ControllerProfileBase::m_Inheritance, FREE::CtrlProfile::ControllerProfileBase::m_MediaMap, FREE::CtrlProfile::ControllerProfileBase::m_Parameters, FREE::CtrlProfile::ControllerProfileBase::m_sControllerID, FREE::CtrlProfile::ControllerProfileBase::m_sDescription, FREE::CtrlProfile::ControllerProfileBase::m_SubComponents, FREE::CtrlProfile::ControllerProfileBase::MediaMap(), FREE::CtrlProfile::ProfileParameters::ParameterExists(), FREE::CtrlProfile::ControllerProfileBase::Parameters(), FREE::CollectionBase< TElement, TStorageType >::Size(), FREE::XMLStringMultiMap::Size(), and FREE::CtrlProfile::ControllerProfileBase::SubComponents().
Referenced by FREE::CtrlProfile::ProfileRequirement::ProfileMatchesRequirement().

| ProfileOption & FREE::CtrlProfile::ProfileOption::operator= | ( | const ProfileOption & | rProfile | ) |
Assignment operator
Definition at line 116 of file freProfileOption.cxx.
References FREE::CtrlProfile::ControllerProfileBase::ControllerID(), FREE::CtrlProfile::ControllerProfileBase::Description(), FREE::CtrlProfile::ControllerProfileBase::Inheritance(), m_bControllerID, m_bDescription, m_bInheritance, m_bIO, m_bParameters, m_bSubComponents, FREE::CtrlProfile::ControllerProfileBase::m_Inheritance, FREE::CtrlProfile::ControllerProfileBase::m_MediaMap, FREE::CtrlProfile::ControllerProfileBase::m_Parameters, FREE::CtrlProfile::ControllerProfileBase::m_sControllerID, FREE::CtrlProfile::ControllerProfileBase::m_sDescription, FREE::CtrlProfile::ControllerProfileBase::m_SubComponents, FREE::CtrlProfile::ControllerProfileBase::MediaMap(), FREE::CtrlProfile::ControllerProfileBase::Parameters(), and FREE::CtrlProfile::ControllerProfileBase::SubComponents().

| void FREE::CtrlProfile::ProfileOption::Reset | ( | ) | [virtual] |
Resets the object to default/initial state
Reimplemented from FREE::CtrlProfile::ControllerProfileBase.
Definition at line 137 of file freProfileOption.cxx.
References m_bControllerID, m_bDescription, m_bInheritance, m_bIO, m_bParameters, m_bSubComponents, and FREE::CtrlProfile::ControllerProfileBase::Reset().
Referenced by ProfileOption(), and ~ProfileOption().

| void FREE::CtrlProfile::ProfileOption::SubElementLoadProcessing | ( | const std::string & | rsXMLSubTag, | |
| const std::string & | rsXMLSubElement, | |||
| const std::string & | rsXMLSubData | |||
| ) | [protected, virtual] |
Reimplemented from FREE::CtrlProfile::ControllerProfileBase.
Definition at line 157 of file freProfileOption.cxx.
References FREE::cXML_CP_ControllerID, FREE::cXML_CP_Description, FREE::cXML_CP_Inheritance, FREE::cXML_CP_MediaMap, FREE::cXML_CP_Parameters, FREE::cXML_CP_SubComponents, FREE::XMLStreamObject::LoadFromString(), m_bControllerID, m_bDescription, m_bInheritance, m_bIO, m_bParameters, m_bSubComponents, FREE::CtrlProfile::ControllerProfileBase::m_Inheritance, FREE::CtrlProfile::ControllerProfileBase::m_MediaMap, FREE::CtrlProfile::ControllerProfileBase::m_Parameters, FREE::CtrlProfile::ControllerProfileBase::m_sControllerID, FREE::CtrlProfile::ControllerProfileBase::m_sDescription, and FREE::CtrlProfile::ControllerProfileBase::m_SubComponents.

| std::string FREE::CtrlProfile::ProfileOption::SaveData | ( | const unsigned int & | iDepth, | |
| bool & | bHasSubElements | |||
| ) | const [protected, virtual] |
Reimplemented from FREE::CtrlProfile::ControllerProfileBase.
Definition at line 193 of file freProfileOption.cxx.
References FREE::XMLStreamObject::AddSubElement(), FREE::cXML_CP_ControllerID, FREE::cXML_CP_Description, m_bControllerID, m_bDescription, m_bInheritance, m_bIO, m_bParameters, m_bSubComponents, FREE::CtrlProfile::ControllerProfileBase::m_Inheritance, FREE::CtrlProfile::ControllerProfileBase::m_MediaMap, FREE::CtrlProfile::ControllerProfileBase::m_Parameters, FREE::CtrlProfile::ControllerProfileBase::m_sControllerID, FREE::CtrlProfile::ControllerProfileBase::m_sDescription, and FREE::CtrlProfile::ControllerProfileBase::m_SubComponents.

bool FREE::CtrlProfile::ProfileOption::m_bControllerID [protected] |
Flags indicating if the information has been specified in the profile option and should be used when checking for matches.
Definition at line 83 of file freProfileOption.h.
Referenced by CheckForControllerID(), operator=(), ProfileMatchesOption(), Reset(), SaveData(), and SubElementLoadProcessing().
bool FREE::CtrlProfile::ProfileOption::m_bInheritance [protected] |
Definition at line 84 of file freProfileOption.h.
Referenced by CheckForInheritance(), operator=(), ProfileMatchesOption(), Reset(), SaveData(), and SubElementLoadProcessing().
bool FREE::CtrlProfile::ProfileOption::m_bDescription [protected] |
Definition at line 85 of file freProfileOption.h.
Referenced by CheckForDescription(), operator=(), ProfileMatchesOption(), Reset(), SaveData(), and SubElementLoadProcessing().
bool FREE::CtrlProfile::ProfileOption::m_bParameters [protected] |
Definition at line 86 of file freProfileOption.h.
Referenced by CheckForParameters(), operator=(), ProfileMatchesOption(), Reset(), SaveData(), and SubElementLoadProcessing().
bool FREE::CtrlProfile::ProfileOption::m_bSubComponents [protected] |
Definition at line 87 of file freProfileOption.h.
Referenced by CheckForSubComponents(), operator=(), ProfileMatchesOption(), Reset(), SaveData(), and SubElementLoadProcessing().
bool FREE::CtrlProfile::ProfileOption::m_bIO [protected] |
Definition at line 88 of file freProfileOption.h.
Referenced by CheckForIO(), operator=(), ProfileMatchesOption(), Reset(), SaveData(), and SubElementLoadProcessing().
1.5.3 written by Dimitri van Heesch,
© 1997-2000