#include <itkXMLFile.h>
template base class for an XMLReader Its 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 100 of file itkXMLFile.h.
Public Types | |
using | Self = XMLReader |
![]() | |
using | Self = XMLReaderBase |
![]() | |
using | ConstPointer = SmartPointer<const Self> |
using | Pointer = SmartPointer<Self> |
using | Self = LightProcessObject |
using | Superclass = Object |
![]() | |
using | ConstPointer = SmartPointer<const Self> |
using | Pointer = SmartPointer<Self> |
using | Self = Object |
using | Superclass = LightObject |
![]() | |
using | ConstPointer = SmartPointer<const Self> |
using | Pointer = SmartPointer<Self> |
using | Self = LightObject |
Public Member Functions | |
T * | GetOutputObject () |
void | SetOutputObject (T *obj) |
![]() | |
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 |
![]() | |
virtual void | AbortGenerateDataOff () |
virtual void | AbortGenerateDataOn () |
virtual::itk::LightObject::Pointer | CreateAnother () const |
virtual const bool & | GetAbortGenerateData () const |
const char * | GetNameOfClass () const override |
virtual void | SetAbortGenerateData (bool _arg) |
virtual void | UpdateOutputData () |
void | UpdateProgress (float amount) |
virtual void | SetProgress (float _arg) |
virtual const float & | GetProgress () const |
![]() | |
unsigned long | AddObserver (const EventObject &event, Command *cmd) const |
unsigned long | AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const |
LightObject::Pointer | CreateAnother () const override |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary () |
const MetaDataDictionary & | GetMetaDataDictionary () const |
virtual ModifiedTimeType | GetMTime () const |
const char * | GetNameOfClass () const override |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
void | Register () const override |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) const |
void | SetDebug (bool debugFlag) const |
void | SetReferenceCount (int) override |
void | UnRegister () const noexcept override |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
void | SetMetaDataDictionary (MetaDataDictionary &&rrhs) |
virtual void | SetObjectName (std::string _arg) |
virtual const std::string & | GetObjectName () const |
![]() | |
Pointer | Clone () const |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
void | Print (std::ostream &os, Indent indent=0) const |
Protected Member Functions | |
XMLReader () | |
~XMLReader () override=default | |
![]() | |
void | parse () |
void | PrintSelf (std::ostream &os, Indent indent) const override |
XMLReaderBase ()=default | |
~XMLReaderBase () override=default | |
![]() | |
virtual void | GenerateData () |
LightProcessObject () | |
~LightProcessObject () override | |
![]() | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
~Object () override | |
![]() | |
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 {} |
![]() | |
std::string | m_Filename {} |
![]() | |
std::atomic< int > | m_ReferenceCount {} |
Additional Inherited Members | |
![]() | |
static Pointer | New () |
![]() | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
![]() | |
static void | BreakOnError () |
static Pointer | New () |
using itk::XMLReader< T >::Self = XMLReader |
Definition at line 105 of file itkXMLFile.h.
|
inlineprotected |
Definition at line 125 of file itkXMLFile.h.
|
overrideprotecteddefault |
|
inline |
Get the output object, after an XML File has been successfully parsed.
Definition at line 119 of file itkXMLFile.h.
|
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 111 of file itkXMLFile.h.
|
protected |
Definition at line 131 of file itkXMLFile.h.