Medical Imaging Interaction Toolkit  2018.4.99-87d68d9f
Medical Imaging Interaction Toolkit
mitk::StringProperty Class Reference

Property for strings. More...

#include <mitkStringProperty.h>

Inheritance diagram for mitk::StringProperty:
Collaboration diagram for mitk::StringProperty:

Public Types

typedef StringProperty Self
 
typedef BaseProperty Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef std::string ValueType
 
- Public Types inherited from mitk::BaseProperty
typedef BaseProperty Self
 
typedef itk::Object Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 

Public Member Functions

virtual std::vector< std::string > GetClassHierarchy () const override
 
virtual const char * GetClassName () const
 
Pointer Clone () const
 
virtual const char * GetValue () const
 
virtual void SetValue (const char *_arg)
 
std::string GetValueAsString () const override
 
- Public Member Functions inherited from mitk::BaseProperty
Pointer Clone () const
 
bool operator== (const BaseProperty &property) const
 Subclasses must implement IsEqual(const BaseProperty&) to support comparison. More...
 
BasePropertyoperator= (const BaseProperty &property)
 Assigns property to this BaseProperty instance. More...
 
bool AssignProperty (const BaseProperty &property)
 Assigns property to this BaseProperty instance. More...
 

Static Public Member Functions

static const char * GetStaticNameOfClass ()
 
static Pointer New ()
 
static Pointer New (const char *_arg)
 
static Pointer New (const std::string &_arg)
 
- Static Public Member Functions inherited from mitk::BaseProperty
static const char * GetStaticNameOfClass ()
 

Static Public Attributes

static const char * PATH
 
- Static Public Attributes inherited from mitk::BaseProperty
static const std::string VALUE_CANNOT_BE_CONVERTED_TO_STRING
 Default return value if a property which can not be returned as string. More...
 

Protected Member Functions

 StringProperty (const char *string=nullptr)
 
 StringProperty (const std::string &s)
 
 StringProperty (const StringProperty &)
 
- Protected Member Functions inherited from mitk::BaseProperty
 BaseProperty ()
 
 BaseProperty (const BaseProperty &other)
 
 ~BaseProperty () override
 

Protected Attributes

std::string m_Value
 

Detailed Description

Property for strings.

Definition at line 34 of file mitkStringProperty.h.

Member Typedef Documentation

◆ ConstPointer

◆ Pointer

◆ Self

◆ Superclass

◆ ValueType

typedef std::string mitk::StringProperty::ValueType

Definition at line 45 of file mitkStringProperty.h.

Constructor & Destructor Documentation

◆ StringProperty() [1/3]

mitk::StringProperty::StringProperty ( const char *  string = nullptr)
protected

Definition at line 16 of file mitkStringProperty.cpp.

References m_Value.

◆ StringProperty() [2/3]

mitk::StringProperty::StringProperty ( const std::string &  s)
protected

Definition at line 22 of file mitkStringProperty.cpp.

◆ StringProperty() [3/3]

mitk::StringProperty::StringProperty ( const StringProperty other)
protected

Definition at line 26 of file mitkStringProperty.cpp.

References m_Value.

Member Function Documentation

◆ Clone()

Pointer mitk::StringProperty::Clone ( ) const

◆ GetClassHierarchy()

virtual std::vector<std::string> mitk::StringProperty::GetClassHierarchy ( ) const
inlineoverridevirtual

Reimplemented from mitk::BaseProperty.

Definition at line 45 of file mitkStringProperty.h.

◆ GetClassName()

virtual const char* mitk::StringProperty::GetClassName ( ) const
virtual

Reimplemented from mitk::BaseProperty.

◆ GetStaticNameOfClass()

static const char* mitk::StringProperty::GetStaticNameOfClass ( )
inlinestatic

Definition at line 45 of file mitkStringProperty.h.

◆ GetValue()

◆ GetValueAsString()

std::string mitk::StringProperty::GetValueAsString ( ) const
overridevirtual

Reimplemented from mitk::BaseProperty.

Definition at line 41 of file mitkStringProperty.cpp.

References m_Value.

◆ New() [1/3]

static Pointer mitk::StringProperty::New ( )
static

Referenced by QmitkRenderWindowWidget::ActivateCrosshair(), mitk::AdaptiveRegionGrowingTool::AdaptiveRegionGrowingTool(), mitk::SegTool2D::AddContourmarker(), QmitkStdMultiWidget::AddDisplayPlaneSubTree(), AddDisplayPlaneSubTree(), mitk::InteractionTestHelper::AddDisplayPlaneSubTree(), mitk::BinaryThresholdTool::BinaryThresholdTool(), mitk::BinaryThresholdULTool::BinaryThresholdULTool(), mitk::PaintbrushTool::CheckIfCurrentSliceHasChanged(), mitk::PickingTool::ConfirmSegmentation(), mitk::PropertyRelationRuleBase::Connect(), mitk::SourceImageRelationRule::Connect_datalayer(), mitk::NavigationDataSet::ConvertNavigationDataToPointSet(), mitk::NavigationToolWriter::ConvertToDataNode(), mitk::DicomSeriesReader::CopyMetaDataToImageProperties(), QmitkBoundingObjectWidget::CreateBoundingObject(), mitk::Tool::CreateSegmentationNode(), mitk::PropertyPersistenceDeserialization::deserializeToStringProperty(), mitk::SourceImageRelationRule::Disconnect_datalayer(), mitk::EnsureModelFitUID(), mitk::EnsureUID(), mitk::FeedbackContourTool::FeedbackContourTool(), mitk::generateMappedResultNode(), generateModelFitTestNode(), generateModelFitTestStorage(), mitk::generateRegistrationResultNode(), mitk::DICOMImageBlockDescriptor::GetIntProperty(), mitk::DataStorage::GetNamedDerivedNode(), mitk::DataStorage::GetNamedNode(), mitk::modelFit::GetNodesOfFit(), mitk::IOUtil::Load(), main(), mitkDICOMITKSeriesGDCMReaderBasicsTest(), mitkPropertyListTest(), mitkPropertySerializationTest(), mitk::CustomTagParser::ParseDicomPropertyString(), mitk::PickingTool::PickingTool(), mitk::PropertyListsXmlFileReaderAndWriter::PropertyFromXmlElem(), QmitkSlicesInterpolator::QmitkSlicesInterpolator(), mitk::CESTDICOMReaderService::Read(), mitk::BaseDICOMReaderService::Read(), mitk::LabelSetImageIO::Read(), mitk::RTStructureSetReaderService::Read(), QmitkAdaptiveRegionGrowingToolGUI::RunSegmentation(), mitk::IOUtil::Save(), mitk::AbstractFileReader::SetDefaultDataNodeProperties(), mitk::EnhancedPointSetVtkMapper3D::SetDefaultProperties(), mitk::PlanarFigureMapper2D::SetDefaultProperties(), mitk::Mapper::SetDefaultProperties(), mitk::USImage::SetMetadata(), mitk::DataNode::SetName(), mitk::ToFImageGrabber::SetStringProperty(), mitk::ToFCameraDevice::SetStringProperty(), mitk::PropertyList::SetStringProperty(), mitk::Annotation::SetStringProperty(), mitk::DataNode::SetStringProperty(), TestDataStorage(), testDeserializeFunction(), and mitk::ShowSegmentationAsSmoothedSurface::ThreadedUpdateSuccessful().

◆ New() [2/3]

static Pointer mitk::StringProperty::New ( const char *  _arg)
inlinestatic

Definition at line 50 of file mitkStringProperty.h.

◆ New() [3/3]

static Pointer mitk::StringProperty::New ( const std::string &  _arg)
inlinestatic

Definition at line 51 of file mitkStringProperty.h.

◆ SetValue()

virtual void mitk::StringProperty::SetValue ( const char *  _arg)
virtual

Member Data Documentation

◆ m_Value

std::string mitk::StringProperty::m_Value
protected

Definition at line 37 of file mitkStringProperty.h.

Referenced by GetValueAsString(), and StringProperty().

◆ PATH

const char * mitk::StringProperty::PATH
static

The documentation for this class was generated from the following files: