Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions

mitk::Point3iPropertyDeserializer Class Reference

Inheritance diagram for mitk::Point3iPropertyDeserializer:
Inheritance graph
[legend]
Collaboration diagram for mitk::Point3iPropertyDeserializer:
Collaboration graph
[legend]

List of all members.

Public Types

typedef Point3iPropertyDeserializer Self
typedef BasePropertyDeserializer Superclass
typedef itk::SmartPointer< SelfPointer
typedef itk::SmartPointer
< const Self
ConstPointer

Public Member Functions

virtual const char * GetClassName () const
virtual BaseProperty::Pointer Deserialize (TiXmlElement *element)

Static Public Member Functions

static Pointer New ()

Protected Member Functions

 Point3iPropertyDeserializer ()
virtual ~Point3iPropertyDeserializer ()

Detailed Description

Definition at line 28 of file mitkPoint3iPropertyDeserializer.cpp.


Member Typedef Documentation

typedef itk::SmartPointer<const Self> mitk::Point3iPropertyDeserializer::ConstPointer

Reimplemented from mitk::BasePropertyDeserializer.

Definition at line 31 of file mitkPoint3iPropertyDeserializer.cpp.

Reimplemented from mitk::BasePropertyDeserializer.

Definition at line 31 of file mitkPoint3iPropertyDeserializer.cpp.

Reimplemented from mitk::BasePropertyDeserializer.

Definition at line 31 of file mitkPoint3iPropertyDeserializer.cpp.

Reimplemented from mitk::BasePropertyDeserializer.

Definition at line 31 of file mitkPoint3iPropertyDeserializer.cpp.


Constructor & Destructor Documentation

mitk::Point3iPropertyDeserializer::Point3iPropertyDeserializer (  ) [inline, protected]

Definition at line 44 of file mitkPoint3iPropertyDeserializer.cpp.

{}
virtual mitk::Point3iPropertyDeserializer::~Point3iPropertyDeserializer (  ) [inline, protected, virtual]

Definition at line 45 of file mitkPoint3iPropertyDeserializer.cpp.

{}

Member Function Documentation

virtual BaseProperty::Pointer mitk::Point3iPropertyDeserializer::Deserialize ( TiXmlElement element ) [inline, virtual]

Reimplemented from mitk::BasePropertyDeserializer.

Definition at line 33 of file mitkPoint3iPropertyDeserializer.cpp.

References mitk::Point3iProperty::New(), TiXmlElement::QueryIntAttribute(), and TIXML_SUCCESS.

    {
      if (!element) return NULL;

      Point3I v;
      if ( element->QueryIntAttribute( "x", &v[0] ) != TIXML_SUCCESS ) return NULL;
      if ( element->QueryIntAttribute( "y", &v[1] ) != TIXML_SUCCESS ) return NULL;
      if ( element->QueryIntAttribute( "z", &v[2] ) != TIXML_SUCCESS ) return NULL;
     return Point3iProperty::New( v ).GetPointer();
    }
virtual const char* mitk::Point3iPropertyDeserializer::GetClassName (  ) const [virtual]

Reimplemented from mitk::BasePropertyDeserializer.

static Pointer mitk::Point3iPropertyDeserializer::New (  ) [static]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines