Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::PropertyListSerializer Class Reference

Serializes a mitk::PropertyList. More...

#include <mitkPropertyListSerializer.h>

Inheritance diagram for mitk::PropertyListSerializer:
Collaboration diagram for mitk::PropertyListSerializer:

Public Member Functions

 mitkClassMacroItkParent (PropertyListSerializer, itk::Object)
 
Pointer Clone () const
 
virtual void SetFilenameHint (const char *_arg)
 
virtual const char * GetFilenameHint () const
 
virtual void SetWorkingDirectory (const char *_arg)
 
virtual const char * GetWorkingDirectory () const
 
virtual void SetPropertyList (PropertyList *_arg)
 
virtual std::string Serialize ()
 Serializes given PropertyList object. More...
 
PropertyListGetFailedProperties ()
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 PropertyListSerializer ()
 
virtual ~PropertyListSerializer ()
 
TiXmlElement * SerializeOneProperty (const std::string &key, const BaseProperty *property)
 

Protected Attributes

std::string m_FilenameHint
 
std::string m_WorkingDirectory
 
PropertyList::Pointer m_PropertyList
 
PropertyList::Pointer m_FailedProperties
 

Detailed Description

Serializes a mitk::PropertyList.

Definition at line 33 of file mitkPropertyListSerializer.h.

Constructor & Destructor Documentation

mitk::PropertyListSerializer::PropertyListSerializer ( )
protected

Definition at line 25 of file mitkPropertyListSerializer.cpp.

mitk::PropertyListSerializer::~PropertyListSerializer ( )
protectedvirtual

Definition at line 29 of file mitkPropertyListSerializer.cpp.

Member Function Documentation

Pointer mitk::PropertyListSerializer::Clone ( ) const
mitk::PropertyList * mitk::PropertyListSerializer::GetFailedProperties ( )

Definition at line 165 of file mitkPropertyListSerializer.cpp.

virtual const char* mitk::PropertyListSerializer::GetFilenameHint ( ) const
virtual
virtual const char* mitk::PropertyListSerializer::GetWorkingDirectory ( ) const
virtual
mitk::PropertyListSerializer::mitkClassMacroItkParent ( PropertyListSerializer  ,
itk::Object   
)
static Pointer mitk::PropertyListSerializer::New ( )
static
std::string mitk::PropertyListSerializer::Serialize ( )
virtual

Serializes given PropertyList object.

Returns
the filename of the newly created file.

Definition at line 33 of file mitkPropertyListSerializer.cpp.

References filename, MITK_ERROR, and mitk::PropertyList::New().

TiXmlElement * mitk::PropertyListSerializer::SerializeOneProperty ( const std::string &  key,
const BaseProperty property 
)
protected

Definition at line 105 of file mitkPropertyListSerializer.cpp.

References MITK_ERROR, and MITK_WARN.

virtual void mitk::PropertyListSerializer::SetFilenameHint ( const char *  _arg)
virtual
virtual void mitk::PropertyListSerializer::SetPropertyList ( PropertyList _arg)
virtual
virtual void mitk::PropertyListSerializer::SetWorkingDirectory ( const char *  _arg)
virtual

Member Data Documentation

PropertyList::Pointer mitk::PropertyListSerializer::m_FailedProperties
protected

Definition at line 66 of file mitkPropertyListSerializer.h.

std::string mitk::PropertyListSerializer::m_FilenameHint
protected

Definition at line 62 of file mitkPropertyListSerializer.h.

PropertyList::Pointer mitk::PropertyListSerializer::m_PropertyList
protected

Definition at line 64 of file mitkPropertyListSerializer.h.

std::string mitk::PropertyListSerializer::m_WorkingDirectory
protected

Definition at line 63 of file mitkPropertyListSerializer.h.


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