19 #ifndef itkDOMNodeXMLReader_h
20 #define itkDOMNodeXMLReader_h
24 #include "ITKIOXMLExport.h"
81 itkSetStringMacro(FileName);
84 itkGetStringMacro(FileName);
91 itkGetModifiableObjectMacro(Output,
OutputType );
98 void Update( std::istream& is );
103 virtual void Update();
108 virtual void StartElement(
const char* name,
const char** atts );
113 virtual void EndElement(
const char* name );
118 virtual void CharacterDataHandler(
const char* text,
int len );
125 void operator=(const
Self &) ITK_DELETE_FUNCTION;
128 std::
string m_FileName;
140 inline std::istream& operator>>( std::istream& is, itk::DOMNode&
object )
143 reader->SetOutput( &
object );
144 reader->Update( is );
149 #endif // itkDOMNodeXMLReader_h
Light weight base class for most itk classes.
Class to represent a node in a Document Object Model (DOM) tree structure.
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
OutputType::Pointer OutputPointer
Base class for most ITK classes.
Class to read a DOM object from an XML file or an input stream.