19 #ifndef itkDOMNodeXMLReader_h 20 #define itkDOMNodeXMLReader_h 24 #include "ITKIOXMLExport.h" 81 itkSetStringMacro(FileName);
84 itkGetStringMacro(FileName);
90 itkSetObjectMacro( Output, OutputType );
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;
131 OutputPointer m_Output;
134 OutputType* m_Context;
140 inline
std::istream& operator>>(
std::istream& is,
itk::DOMNode&
object )
143 reader->SetOutput( &
object );
144 reader->Update( is );
149 #endif // itkDOMNodeXMLReader_h
Class to represent a node in a Document Object Model (DOM) tree structure.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
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.