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

mitk::IntPropertyDeserializer Class Reference

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

List of all members.

Public Types

typedef IntPropertyDeserializer 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

 IntPropertyDeserializer ()
virtual ~IntPropertyDeserializer ()

Detailed Description

Definition at line 30 of file mitkIntPropertyDeserializer.cpp.


Member Typedef Documentation

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

Reimplemented from mitk::BasePropertyDeserializer.

Definition at line 34 of file mitkIntPropertyDeserializer.cpp.

typedef itk::SmartPointer<Self> mitk::IntPropertyDeserializer::Pointer

Reimplemented from mitk::BasePropertyDeserializer.

Definition at line 34 of file mitkIntPropertyDeserializer.cpp.

Reimplemented from mitk::BasePropertyDeserializer.

Definition at line 34 of file mitkIntPropertyDeserializer.cpp.

Reimplemented from mitk::BasePropertyDeserializer.

Definition at line 34 of file mitkIntPropertyDeserializer.cpp.


Constructor & Destructor Documentation

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

Definition at line 54 of file mitkIntPropertyDeserializer.cpp.

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

Definition at line 55 of file mitkIntPropertyDeserializer.cpp.

{}

Member Function Documentation

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

Reimplemented from mitk::BasePropertyDeserializer.

Definition at line 37 of file mitkIntPropertyDeserializer.cpp.

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

    {
      if (!element) return NULL;

      int integer;
      if ( element->QueryIntAttribute( "value", &integer ) == TIXML_SUCCESS )
      {
        return IntProperty::New(integer).GetPointer();
      }
      else
      {
        return NULL;
      }
    }
virtual const char* mitk::IntPropertyDeserializer::GetClassName (  ) const [virtual]

Reimplemented from mitk::BasePropertyDeserializer.

static Pointer mitk::IntPropertyDeserializer::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