Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Serializes a VectorProperty. More...
#include <mitkVectorPropertySerializer.h>
Public Types | |
typedef VectorProperty< DATATYPE > | PropertyType |
typedef VectorPropertySerializer< DATATYPE > | Self |
typedef BasePropertySerializer | SuperClass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
Public Member Functions | |
virtual std::vector< std::string > | GetClassHierarchy () const override |
virtual const char * | GetNameOfClass () const override |
Pointer | Clone () const |
virtual TiXmlElement * | Serialize () override |
Build an XML version of this property. More... | |
virtual BaseProperty::Pointer | Deserialize (TiXmlElement *listElement) override |
Construct a property from an XML serialization. More... | |
Public Member Functions inherited from mitk::BasePropertySerializer | |
mitkClassMacroItkParent (BasePropertySerializer, itk::Object) | |
virtual void | SetProperty (const BaseProperty *_arg) |
Static Public Member Functions | |
static const char * | GetStaticNameOfClass () |
static Pointer | New () |
Additional Inherited Members | |
Protected Member Functions inherited from mitk::BasePropertySerializer | |
BasePropertySerializer () | |
virtual | ~BasePropertySerializer () |
Protected Attributes inherited from mitk::BasePropertySerializer | |
BaseProperty::ConstPointer | m_Property |
Serializes a VectorProperty.
Serializes an instance of VectorProperty into a XML structure like
<Values> <Value idx="0" value="17.3"/> <Value idx="1" value="7.2"/> <Value idx="2" value="-17.3"/> </Values>
This class is implemented as a template and makes use of std::stringstream for necessary conversions of specific data types to and from string.
For numeric types, the class adds a precision token to stringstream that should usually suffice.
Definition at line 48 of file mitkVectorPropertySerializer.h.
typedef itk::SmartPointer<const Self> mitk::VectorPropertySerializer< DATATYPE >::ConstPointer |
Definition at line 59 of file mitkVectorPropertySerializer.h.
typedef itk::SmartPointer<Self> mitk::VectorPropertySerializer< DATATYPE >::Pointer |
Definition at line 58 of file mitkVectorPropertySerializer.h.
typedef VectorProperty<DATATYPE> mitk::VectorPropertySerializer< DATATYPE >::PropertyType |
Definition at line 55 of file mitkVectorPropertySerializer.h.
typedef VectorPropertySerializer<DATATYPE> mitk::VectorPropertySerializer< DATATYPE >::Self |
Definition at line 56 of file mitkVectorPropertySerializer.h.
typedef BasePropertySerializer mitk::VectorPropertySerializer< DATATYPE >::SuperClass |
Definition at line 57 of file mitkVectorPropertySerializer.h.
Pointer mitk::VectorPropertySerializer< DATATYPE >::Clone | ( | ) | const |
|
inlineoverridevirtual |
Construct a property from an XML serialization.
Reimplemented from mitk::BasePropertySerializer.
Definition at line 105 of file mitkVectorPropertySerializer.h.
References MITK_DEBUG, MITK_ERROR, and mitk::New().
|
inlineoverridevirtual |
Definition at line 60 of file mitkVectorPropertySerializer.h.
|
inlineoverridevirtual |
Definition at line 72 of file mitkVectorPropertySerializer.h.
References mitk::GetStaticNameOfClass().
|
inlinestatic |
Definition at line 64 of file mitkVectorPropertySerializer.h.
|
static |
|
inlineoverridevirtual |
Build an XML version of this property.
Reimplemented from mitk::BasePropertySerializer.
Definition at line 77 of file mitkVectorPropertySerializer.h.