Medical Imaging Interaction Toolkit  2016.11.0
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)
 
virtual 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)
 
virtual ~BaseProperty ()
 

Protected Attributes

std::string m_Value
 

Detailed Description

Property for strings.

Definition at line 38 of file mitkStringProperty.h.

Member Typedef Documentation

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

Definition at line 49 of file mitkStringProperty.h.

Constructor & Destructor Documentation

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

Definition at line 20 of file mitkStringProperty.cpp.

References m_Value.

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

Definition at line 26 of file mitkStringProperty.cpp.

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

Definition at line 30 of file mitkStringProperty.cpp.

Member Function Documentation

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

Reimplemented from mitk::BaseProperty.

Definition at line 49 of file mitkStringProperty.h.

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

Reimplemented from mitk::BaseProperty.

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

Definition at line 49 of file mitkStringProperty.h.

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

Reimplemented from mitk::BaseProperty.

Definition at line 45 of file mitkStringProperty.cpp.

Referenced by mitk::ConnectomicsNetworkMapper3D::PropertiesChanged().

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

Referenced by mitk::AdaptiveRegionGrowingTool::AdaptiveRegionGrowingTool(), mitk::SegTool2D::AddContourmarker(), AddDisplayPlaneSubTree(), mitk::InteractionTestHelper::AddDisplayPlaneSubTree(), QmitkStdMultiWidget::AddDisplayPlaneSubTree(), mitk::BinaryThresholdTool::BinaryThresholdTool(), mitk::BinaryThresholdULTool::BinaryThresholdULTool(), mitk::PaintbrushTool::CheckIfCurrentSliceHasChanged(), mitk::PickingTool::ConfirmSegmentation(), mitk::NavigationToolWriter::ConvertToDataNode(), mitk::DicomSeriesReader::CopyMetaDataToImageProperties(), QmitkBoundingObjectWidget::CreateBoundingObject(), QmlMitkRenderWindowItem::createPlaneNode(), mitk::Tool::CreateSegmentationNode(), mitk::ConnectomicsSyntheticNetworkGenerator::CreateSyntheticNetwork(), mitk::PropertyPersistenceDeserialization::deserializeToStringProperty(), mitk::EnsureUID(), mitk::FeedbackContourTool::FeedbackContourTool(), mitk::ConnectomicsNetworkMapper3D::GenerateDataForRenderer(), mitk::generateMappedResultNode(), mitk::generateRegistrationResultNode(), mitk::DataStorage::GetNamedDerivedNode(), mitk::DataStorage::GetNamedNode(), mitk::IOUtil::Load(), mitk::DiffusionDICOMFileReader::LoadSingleOutputImage(), main(), mitkBaseDataTest(), mitkDICOMITKSeriesGDCMReaderBasicsTest(), mitkPropertyListTest(), mitkPropertySerializationTest(), mitk::PickingTool::PickingTool(), mitk::PropertyListsXmlFileReaderAndWriter::PropertyFromXmlElem(), QmitkSlicesInterpolator::QmitkSlicesInterpolator(), mitk::DicomSeriesReaderService::Read(), mitk::SimulationIO::Read(), mitk::BaseDICOMReaderService::Read(), mitk::LabelSetImageIO::Read(), mitk::DataNodeFactory::ReadFileSeriesTypeITKImageSeriesReader(), mitk::RTStructureSetReader::ReadStructureSet(), mitk::DataNodeFactory::SetDefaultCommonProperties(), mitk::AbstractFileReader::SetDefaultDataNodeProperties(), mitk::EnhancedPointSetVtkMapper3D::SetDefaultProperties(), mitk::ConnectomicsNetworkMapper3D::SetDefaultProperties(), mitk::PlanarFigureMapper2D::SetDefaultProperties(), mitk::Mapper::SetDefaultProperties(), mitk::USImage::SetMetadata(), mitk::DataNode::SetName(), mitk::ToFImageGrabber::SetStringProperty(), mitk::ToFCameraDevice::SetStringProperty(), mitk::PropertyList::SetStringProperty(), mitk::Overlay::SetStringProperty(), mitk::DataNode::SetStringProperty(), TestDataStorage(), testDeserializeFunction(), mitk::ShowSegmentationAsSmoothedSurface::ThreadedUpdateSuccessful(), and mitk::ShowSegmentationAsSurface::ThreadedUpdateSuccessful().

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

Definition at line 52 of file mitkStringProperty.h.

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

Definition at line 53 of file mitkStringProperty.h.

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

Member Data Documentation

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

Definition at line 41 of file mitkStringProperty.h.

Referenced by StringProperty().

const char * mitk::StringProperty::PATH
static

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