19 #ifndef itkDOMNodeXMLReader_h
20 #define itkDOMNodeXMLReader_h
24 #include "ITKIOXMLExport.h"
83 itkSetStringMacro(FileName);
86 itkGetStringMacro(FileName);
93 #if !defined(ITK_LEGACY_REMOVE)
95 virtual void SetOutput (
OutputType * _arg) { this->SetDOMNodeXML(_arg); }
114 #if !defined(ITK_LEGACY_REMOVE)
116 virtual OutputType * GetModifiedOutput() {
return this->m_DOMNodeXML.GetPointer(); }
123 void Update( std::istream& is );
128 virtual void Update();
133 virtual void StartElement(
const char* name,
const char** atts );
138 virtual void EndElement(
const char* name );
143 virtual void CharacterDataHandler(
const char* text,
int len );
165 reader->SetDOMNodeXML( &
object );
166 reader->Update( is );
171 #endif // itkDOMNodeXMLReader_h
Light weight base class for most itk classes.
Class to represent a node in a Document Object Model (DOM) tree structure.
std::istream & operator>>(std::istream &is, itk::DOMNode &object)
virtual OutputType * GetOutput()
OutputPointer m_DOMNodeXML
virtual const OutputType * GetOutput() const
Base class for most ITK classes.
Class to read a DOM object from an XML file or an input stream.