|
Medical Imaging Interaction Toolkit
2025.08.00
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 | |
| std::vector< std::string > | GetClassHierarchy () const override |
| const char * | GetNameOfClass () const override |
| Pointer | Clone () const |
| tinyxml2::XMLElement * | Serialize (tinyxml2::XMLDocument &doc) override |
| Build an XML version of this property. More... | |
| BaseProperty::Pointer | Deserialize (const tinyxml2::XMLElement *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 () | |
| ~BasePropertySerializer () override | |
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 43 of file mitkVectorPropertySerializer.h.
| typedef itk::SmartPointer<const Self> mitk::VectorPropertySerializer< DATATYPE >::ConstPointer |
Definition at line 54 of file mitkVectorPropertySerializer.h.
| typedef itk::SmartPointer<Self> mitk::VectorPropertySerializer< DATATYPE >::Pointer |
Definition at line 53 of file mitkVectorPropertySerializer.h.
| typedef VectorProperty<DATATYPE> mitk::VectorPropertySerializer< DATATYPE >::PropertyType |
Definition at line 50 of file mitkVectorPropertySerializer.h.
| typedef VectorPropertySerializer<DATATYPE> mitk::VectorPropertySerializer< DATATYPE >::Self |
Definition at line 51 of file mitkVectorPropertySerializer.h.
| typedef BasePropertySerializer mitk::VectorPropertySerializer< DATATYPE >::SuperClass |
Definition at line 52 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 100 of file mitkVectorPropertySerializer.h.
References MITK_ERROR.
|
inlineoverride |
Definition at line 55 of file mitkVectorPropertySerializer.h.
|
inlineoverride |
Definition at line 67 of file mitkVectorPropertySerializer.h.
|
inlinestatic |
Definition at line 59 of file mitkVectorPropertySerializer.h.
|
static |
|
inlineoverridevirtual |
Build an XML version of this property.
Reimplemented from mitk::BasePropertySerializer.
Definition at line 72 of file mitkVectorPropertySerializer.h.