ITK  4.2.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Protected Attributes | Private Member Functions
itk::XMLReader< T > Class Template Reference

#include <itkXMLFile.h>

+ Inheritance diagram for itk::XMLReader< T >:
+ Collaboration diagram for itk::XMLReader< T >:

List of all members.

Public Types

typedef XMLReader Self
- Public Types inherited from itk::XMLReaderBase
- Public Types inherited from itk::LightProcessObject
typedef SmartPointer< const SelfConstPointer
typedef SmartPointer< SelfPointer
typedef Object Superclass
- Public Types inherited from itk::Object
- Public Types inherited from itk::LightObject

Public Member Functions

void SetOutputObject (T *obj)
- Public Member Functions inherited from itk::XMLReaderBase
virtual int CanReadFile (const char *name)=0
virtual void CharacterDataHandler (const char *inData, int inLength)=0
virtual void EndElement (const char *name)=0
virtual void GenerateOutputInformation ()
virtual const char * GetFilename () const
virtual void SetFilename (const char *_arg)
virtual void StartElement (const char *name, const char **atts)=0
- Public Member Functions inherited from itk::LightProcessObject
virtual void AbortGenerateDataOff ()
virtual void AbortGenerateDataOn ()
virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const bool & GetAbortGenerateData ()
virtual const char * GetNameOfClass () const
virtual void SetAbortGenerateData (bool _arg)
virtual void UpdateOutputData ()
void UpdateProgress (float amount)
virtual void SetProgress (float _arg)
virtual const float & GetProgress ()
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
unsigned long AddObserver (const EventObject &event, Command *) const
virtual void DebugOff () const
virtual void DebugOn () const
CommandGetCommand (unsigned long tag)
bool GetDebug () const
MetaDataDictionaryGetMetaDataDictionary (void)
const MetaDataDictionaryGetMetaDataDictionary (void) const
virtual unsigned long GetMTime () const
virtual const TimeStampGetTimeStamp () const
bool HasObserver (const EventObject &event) const
void InvokeEvent (const EventObject &)
void InvokeEvent (const EventObject &) const
virtual void Modified () const
virtual void Register () const
void RemoveAllObservers ()
void RemoveObserver (unsigned long tag)
void SetDebug (bool debugFlag) const
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
virtual void SetReferenceCount (int)
virtual void UnRegister () const
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
virtual int GetReferenceCount () const
 itkCloneMacro (Self)
void Print (std::ostream &os, Indent indent=0) const
- Protected Member Functions inherited from itk::XMLReaderBase
void parse (void)
void PrintSelf (std::ostream &os, Indent indent) const
 XMLReaderBase ()
virtual ~XMLReaderBase ()
- Protected Member Functions inherited from itk::LightProcessObject
 LightProcessObject ()
 ~LightProcessObject ()
virtual void GenerateData ()
- Protected Member Functions inherited from itk::Object
 Object ()
bool PrintObservers (std::ostream &os, Indent indent) const
virtual void SetTimeStamp (const TimeStamp &time)
virtual ~Object ()
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 LightObject ()
virtual void PrintHeader (std::ostream &os, Indent indent) const
virtual void PrintTrailer (std::ostream &os, Indent indent) const
virtual ~LightObject ()

Protected Attributes

T * m_OutputObject
- Protected Attributes inherited from itk::XMLReaderBase
std::string m_Filename

Private Member Functions

void operator= (const Self &)
 XMLReader (const Self &)
T * GetOutputObject (void)
 XMLReader ()
virtual ~XMLReader ()

Additional Inherited Members


Detailed Description

template<class T>
class itk::XMLReader< T >

template base class for an XMLReader It's purpose really is just to define the simple interface for extracting the object resulting from reading the XML File. Since it doesn't define any of the pure virtual methods in XMLReaderBase, It can't be instantiated by itself

Definition at line 92 of file itkXMLFile.h.


Member Typedef Documentation

template<class T>
typedef XMLReader itk::XMLReader< T >::Self

Standard class typedefs.

Reimplemented from itk::XMLReaderBase.

Reimplemented in itk::PolygonGroupSpatialObjectXMLFileReader.

Definition at line 95 of file itkXMLFile.h.


Constructor & Destructor Documentation

template<class T>
itk::XMLReader< T >::XMLReader ( )
inlineprotected

Get the output object, after an XML File has been successfully parsed.

Definition at line 106 of file itkXMLFile.h.

template<class T>
virtual itk::XMLReader< T >::~XMLReader ( )
inlineprotectedvirtual

Get the output object, after an XML File has been successfully parsed.

Definition at line 107 of file itkXMLFile.h.

template<class T>
itk::XMLReader< T >::XMLReader ( const Self )
private

Member Function Documentation

template<class T>
T* itk::XMLReader< T >::GetOutputObject ( void  )
inline

Get the output object, after an XML File has been successfully parsed.

Definition at line 104 of file itkXMLFile.h.

template<class T>
void itk::XMLReader< T >::operator= ( const Self )
private

This method causes the filter to generate its output.

Reimplemented from itk::XMLReaderBase.

Reimplemented in itk::PolygonGroupSpatialObjectXMLFileReader.

template<class T>
void itk::XMLReader< T >::SetOutputObject ( T *  obj)
inline

Set the output object. Doesn't make sense for a client of the XMLReader, but could be used in derived class to assign pointer to result object.

Definition at line 100 of file itkXMLFile.h.


Member Data Documentation

template<class T>
T* itk::XMLReader< T >::m_OutputObject
protected

Definition at line 110 of file itkXMLFile.h.


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