ITK  4.13.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | 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<typename 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.

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 () const
 
virtual const bool & GetAbortGenerateData () const
 
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 () const
 
- 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 ()
 
const MetaDataDictionaryGetMetaDataDictionary () 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 override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int) override
 
virtual void UnRegister () const noexceptoverride
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () 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 ()
 
virtual void PrintSelf (std::ostream &os, Indent indent) const override
 
 XMLReaderBase ()
 
virtual ~XMLReaderBase () override
 
- Protected Member Functions inherited from itk::LightProcessObject
virtual void GenerateData ()
 
 LightProcessObject ()
 
 ~LightProcessObject () override
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object () override
 
- 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
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Additional Inherited Members

- Static Public Member Functions inherited from itk::LightProcessObject
static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Member Typedef Documentation

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

Definition at line 95 of file itkXMLFile.h.

Constructor & Destructor Documentation

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

Definition at line 107 of file itkXMLFile.h.

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

Definition at line 111 of file itkXMLFile.h.

Member Function Documentation

template<typename 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<typename 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<typename T>
T* itk::XMLReader< T >::m_OutputObject
protected

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