Public Types | Public Member Functions | Protected Member Functions | Static Protected Attributes | Friends

mitk::BaseProperty Class Reference
[Data Management Classes]

Abstract base class for properties. More...

#include <mitkBaseProperty.h>

Inheritance diagram for mitk::BaseProperty:
Inheritance graph
[legend]

List of all members.

Public Types

typedef BaseProperty Self
typedef itk::Object Superclass
typedef itk::SmartPointer< SelfPointer
typedef itk::SmartPointer
< const Self
ConstPointer

Public Member Functions

virtual const char * GetClassName () const
virtual bool operator== (const BaseProperty &property) const =0
 Subclasses must implement this operator==. Operator== which is used by PropertyList to check whether a property has been changed.
virtual BasePropertyoperator= (const BaseProperty &property)
virtual std::string GetValueAsString () const
virtual bool Assignable (const BaseProperty &) const

Protected Member Functions

 BaseProperty ()
virtual ~BaseProperty ()

Static Protected Attributes

static std::string VALUE

Friends

class PropertyList

Detailed Description

Abstract base class for properties.

Base class for properties. Properties are arbitrary additional information (to define a new type of information you have to define a subclass of BaseProperty) that can be added to a PropertyList. Concrete subclasses of BaseProperty should define Set-/Get-methods to assess the property value, which should be stored by value (not by reference). Subclasses must implement an operator==(const BaseProperty& property), which is used by PropertyList to check whether a property has been changed.

Definition at line 40 of file mitkBaseProperty.h.


Member Typedef Documentation

typedef itk::SmartPointer<const Self> mitk::BaseProperty::ConstPointer

Reimplemented in mitk::AnnotationProperty, mitk::ClippingProperty, mitk::ColorProperty, mitk::EnumerationProperty, mitk::GenericProperty< T >, mitk::GroupTagProperty, mitk::LevelWindowProperty, mitk::ModalityProperty, mitk::PlaneOrientationProperty, mitk::BoolProperty, mitk::IntProperty, mitk::FloatProperty, mitk::DoubleProperty, mitk::Vector3DProperty, mitk::Point3dProperty, mitk::Point4dProperty, mitk::Point3iProperty, mitk::FloatLookupTableProperty, mitk::BoolLookupTableProperty, mitk::IntLookupTableProperty, mitk::StringLookupTableProperty, mitk::ResliceMethodProperty, mitk::ShaderProperty, mitk::SmartPointerProperty, mitk::StringProperty, mitk::TransferFunctionProperty, mitk::VtkInterpolationProperty, mitk::VtkRepresentationProperty, mitk::VtkResliceInterpolationProperty, mitk::VtkScalarModeProperty, mitk::VtkVolumeRenderingProperty, mitk::WeakPointerProperty, mitk::LookupTableProperty, mitk::OdfNormalizationMethodProperty, mitk::OdfScaleByProperty, mitk::GridRepresentationProperty, mitk::GridVolumeMapperProperty, mitk::OrganTypeProperty, mitk::PlanarFigureControlPointStyleProperty, mitk::GenericProperty< Point4D >, mitk::GenericProperty< double >, mitk::GenericProperty< IntLookupTable >, mitk::GenericProperty< float >, mitk::GenericProperty< Point3I >, mitk::GenericProperty< int >, mitk::GenericProperty< FloatLookupTable >, mitk::GenericProperty< Vector3D >, mitk::GenericProperty< BoolLookupTable >, mitk::GenericProperty< Point3D >, mitk::GenericProperty< bool >, and mitk::GenericProperty< StringLookupTable >.

Definition at line 44 of file mitkBaseProperty.h.

typedef itk::SmartPointer<Self> mitk::BaseProperty::Pointer

Reimplemented in mitk::AnnotationProperty, mitk::ClippingProperty, mitk::ColorProperty, mitk::EnumerationProperty, mitk::GenericProperty< T >, mitk::GroupTagProperty, mitk::LevelWindowProperty, mitk::ModalityProperty, mitk::PlaneOrientationProperty, mitk::BoolProperty, mitk::IntProperty, mitk::FloatProperty, mitk::DoubleProperty, mitk::Vector3DProperty, mitk::Point3dProperty, mitk::Point4dProperty, mitk::Point3iProperty, mitk::FloatLookupTableProperty, mitk::BoolLookupTableProperty, mitk::IntLookupTableProperty, mitk::StringLookupTableProperty, mitk::ResliceMethodProperty, mitk::ShaderProperty, mitk::SmartPointerProperty, mitk::StringProperty, mitk::TransferFunctionProperty, mitk::VtkInterpolationProperty, mitk::VtkRepresentationProperty, mitk::VtkResliceInterpolationProperty, mitk::VtkScalarModeProperty, mitk::VtkVolumeRenderingProperty, mitk::WeakPointerProperty, mitk::LookupTableProperty, mitk::OdfNormalizationMethodProperty, mitk::OdfScaleByProperty, mitk::GridRepresentationProperty, mitk::GridVolumeMapperProperty, mitk::OrganTypeProperty, mitk::PlanarFigureControlPointStyleProperty, mitk::GenericProperty< Point4D >, mitk::GenericProperty< double >, mitk::GenericProperty< IntLookupTable >, mitk::GenericProperty< float >, mitk::GenericProperty< Point3I >, mitk::GenericProperty< int >, mitk::GenericProperty< FloatLookupTable >, mitk::GenericProperty< Vector3D >, mitk::GenericProperty< BoolLookupTable >, mitk::GenericProperty< Point3D >, mitk::GenericProperty< bool >, and mitk::GenericProperty< StringLookupTable >.

Definition at line 44 of file mitkBaseProperty.h.

Reimplemented in mitk::AnnotationProperty, mitk::ClippingProperty, mitk::ColorProperty, mitk::EnumerationProperty, mitk::GenericProperty< T >, mitk::GroupTagProperty, mitk::LevelWindowProperty, mitk::ModalityProperty, mitk::PlaneOrientationProperty, mitk::BoolProperty, mitk::IntProperty, mitk::FloatProperty, mitk::DoubleProperty, mitk::Vector3DProperty, mitk::Point3dProperty, mitk::Point4dProperty, mitk::Point3iProperty, mitk::FloatLookupTableProperty, mitk::BoolLookupTableProperty, mitk::IntLookupTableProperty, mitk::StringLookupTableProperty, mitk::ResliceMethodProperty, mitk::ShaderProperty, mitk::SmartPointerProperty, mitk::StringProperty, mitk::TransferFunctionProperty, mitk::VtkInterpolationProperty, mitk::VtkRepresentationProperty, mitk::VtkResliceInterpolationProperty, mitk::VtkScalarModeProperty, mitk::VtkVolumeRenderingProperty, mitk::WeakPointerProperty, mitk::LookupTableProperty, mitk::OdfNormalizationMethodProperty, mitk::OdfScaleByProperty, mitk::GridRepresentationProperty, mitk::GridVolumeMapperProperty, mitk::OrganTypeProperty, mitk::PlanarFigureControlPointStyleProperty, mitk::GenericProperty< Point4D >, mitk::GenericProperty< double >, mitk::GenericProperty< IntLookupTable >, mitk::GenericProperty< float >, mitk::GenericProperty< Point3I >, mitk::GenericProperty< int >, mitk::GenericProperty< FloatLookupTable >, mitk::GenericProperty< Vector3D >, mitk::GenericProperty< BoolLookupTable >, mitk::GenericProperty< Point3D >, mitk::GenericProperty< bool >, and mitk::GenericProperty< StringLookupTable >.

Definition at line 44 of file mitkBaseProperty.h.

typedef itk::Object mitk::BaseProperty::Superclass

Reimplemented in mitk::AnnotationProperty, mitk::ClippingProperty, mitk::ColorProperty, mitk::EnumerationProperty, mitk::GenericProperty< T >, mitk::GroupTagProperty, mitk::LevelWindowProperty, mitk::ModalityProperty, mitk::PlaneOrientationProperty, mitk::BoolProperty, mitk::IntProperty, mitk::FloatProperty, mitk::DoubleProperty, mitk::Vector3DProperty, mitk::Point3dProperty, mitk::Point4dProperty, mitk::Point3iProperty, mitk::FloatLookupTableProperty, mitk::BoolLookupTableProperty, mitk::IntLookupTableProperty, mitk::StringLookupTableProperty, mitk::ResliceMethodProperty, mitk::ShaderProperty, mitk::SmartPointerProperty, mitk::StringProperty, mitk::TransferFunctionProperty, mitk::VtkInterpolationProperty, mitk::VtkRepresentationProperty, mitk::VtkResliceInterpolationProperty, mitk::VtkScalarModeProperty, mitk::VtkVolumeRenderingProperty, mitk::WeakPointerProperty, mitk::LookupTableProperty, mitk::OdfNormalizationMethodProperty, mitk::OdfScaleByProperty, mitk::GridRepresentationProperty, mitk::GridVolumeMapperProperty, mitk::OrganTypeProperty, mitk::PlanarFigureControlPointStyleProperty, mitk::GenericProperty< Point4D >, mitk::GenericProperty< double >, mitk::GenericProperty< IntLookupTable >, mitk::GenericProperty< float >, mitk::GenericProperty< Point3I >, mitk::GenericProperty< int >, mitk::GenericProperty< FloatLookupTable >, mitk::GenericProperty< Vector3D >, mitk::GenericProperty< BoolLookupTable >, mitk::GenericProperty< Point3D >, mitk::GenericProperty< bool >, and mitk::GenericProperty< StringLookupTable >.

Definition at line 44 of file mitkBaseProperty.h.


Constructor & Destructor Documentation

mitk::BaseProperty::BaseProperty (  ) [protected]

Definition at line 22 of file mitkBaseProperty.cpp.

{
}
mitk::BaseProperty::~BaseProperty (  ) [protected, virtual]

Definition at line 26 of file mitkBaseProperty.cpp.

{
}

Member Function Documentation

bool mitk::BaseProperty::Assignable ( const BaseProperty  ) const [virtual]
virtual const char* mitk::BaseProperty::GetClassName (  ) const [virtual]

Reimplemented in mitk::AnnotationProperty, mitk::ClippingProperty, mitk::ColorProperty, mitk::EnumerationProperty, mitk::GenericProperty< T >, mitk::GroupTagProperty, mitk::LevelWindowProperty, mitk::ModalityProperty, mitk::PlaneOrientationProperty, mitk::BoolProperty, mitk::IntProperty, mitk::FloatProperty, mitk::DoubleProperty, mitk::Vector3DProperty, mitk::Point3dProperty, mitk::Point4dProperty, mitk::Point3iProperty, mitk::FloatLookupTableProperty, mitk::BoolLookupTableProperty, mitk::IntLookupTableProperty, mitk::StringLookupTableProperty, mitk::ResliceMethodProperty, mitk::ShaderProperty, mitk::SmartPointerProperty, mitk::StringProperty, mitk::TransferFunctionProperty, mitk::VtkInterpolationProperty, mitk::VtkRepresentationProperty, mitk::VtkResliceInterpolationProperty, mitk::VtkScalarModeProperty, mitk::VtkVolumeRenderingProperty, mitk::WeakPointerProperty, mitk::LookupTableProperty, mitk::OdfNormalizationMethodProperty, mitk::OdfScaleByProperty, mitk::GridRepresentationProperty, mitk::GridVolumeMapperProperty, mitk::OrganTypeProperty, mitk::PlanarFigureControlPointStyleProperty, mitk::GenericProperty< Point4D >, mitk::GenericProperty< double >, mitk::GenericProperty< IntLookupTable >, mitk::GenericProperty< float >, mitk::GenericProperty< Point3I >, mitk::GenericProperty< int >, mitk::GenericProperty< FloatLookupTable >, mitk::GenericProperty< Vector3D >, mitk::GenericProperty< BoolLookupTable >, mitk::GenericProperty< Point3D >, mitk::GenericProperty< bool >, and mitk::GenericProperty< StringLookupTable >.

std::string mitk::BaseProperty::GetValueAsString (  ) const [virtual]
mitk::BaseProperty & mitk::BaseProperty::operator= ( const BaseProperty rhs ) [virtual]

To be implemented more meaningful by subclasses. This version just accepts the assignment of BaseProperty objects to others, but the assignment has NO MEANING, values are not changed at all!

Reimplemented in mitk::ColorProperty, mitk::GenericProperty< T >, mitk::SmartPointerProperty, mitk::StringProperty, mitk::GenericProperty< Point4D >, mitk::GenericProperty< double >, mitk::GenericProperty< IntLookupTable >, mitk::GenericProperty< float >, mitk::GenericProperty< Point3I >, mitk::GenericProperty< int >, mitk::GenericProperty< FloatLookupTable >, mitk::GenericProperty< Vector3D >, mitk::GenericProperty< BoolLookupTable >, mitk::GenericProperty< Point3D >, mitk::GenericProperty< bool >, and mitk::GenericProperty< StringLookupTable >.

Definition at line 49 of file mitkBaseProperty.cpp.

{
  if (this == &rhs) return *this; // no self assignment

  // place meaningful copy code here (nothing possible with BaseProeprties)

  return *this;
}
virtual bool mitk::BaseProperty::operator== ( const BaseProperty property ) const [pure virtual]

Friends And Related Function Documentation

friend class PropertyList [friend]

Definition at line 62 of file mitkBaseProperty.h.


Member Data Documentation

std::string mitk::BaseProperty::VALUE [static, protected]

Definition at line 64 of file mitkBaseProperty.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines