ITK  4.3.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
itk::XMLReader< T > Class Template Reference

#include <itkXMLFile.h>

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

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 93 of file itkXMLFile.h.

Public Types

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

Public Member Functions

T * GetOutputObject (void)
 
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 ModifiedTimeType 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

 XMLReader ()
 
virtual ~XMLReader ()
 
- 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
virtual void GenerateData ()
 
 LightProcessObject ()
 
 ~LightProcessObject ()
 
- 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 &)
 

Additional Inherited Members

- Static Public Member Functions inherited from itk::LightProcessObject
static Pointer New ()
 
- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 

Member Typedef Documentation

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

Definition at line 96 of file itkXMLFile.h.

Constructor & Destructor Documentation

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

Definition at line 108 of file itkXMLFile.h.

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

Definition at line 109 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 105 of file itkXMLFile.h.

template<class T>
void itk::XMLReader< T >::operator= ( const Self )
private
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 101 of file itkXMLFile.h.

Member Data Documentation

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

Definition at line 111 of file itkXMLFile.h.


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