Shapeworks Studio
2.1
Shape analysis software suite
|
Class to read a special PSM DOM object from an XML file or an input stream. More...
#include <itkPSMDOMNodeXMLReader.h>
Public Types | |
typedef PSMDOMNodeXMLReader | Self |
typedef Object | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef PSMDOMNode | DOMNodeType |
typedef DOMNodeType::Pointer | DOMNodePointer |
Public Member Functions | |
itkNewMacro (Self) | |
itkTypeMacro (PSMDOMNodeXMLReader, Object) | |
itkSetStringMacro (FileName) | |
itkGetStringMacro (FileName) | |
itkSetObjectMacro (DOMNode, DOMNodeType) | |
itkGetObjectMacro (DOMNode, DOMNodeType) | |
itkGetConstObjectMacro (DOMNode, DOMNodeType) | |
void | Update (std::istream &is) |
virtual void | Update () |
virtual void | StartElement (const char *name, const char **atts) |
virtual void | EndElement (const char *name) |
virtual void | CharacterDataHandler (const char *text, int len) |
Class to read a special PSM DOM object from an XML file or an input stream.
This class is used by the PSMProjectReader to produce the DOM tree data structure that is passed to a PSMProject.
Definition at line 45 of file itkPSMDOMNodeXMLReader.h.
Standard class typedefs.
Definition at line 49 of file itkPSMDOMNodeXMLReader.h.
|
virtual |
Callback function – called from XML parser with the character data for an XML element.
Definition at line 178 of file itkPSMDOMNodeXMLReader.cxx.
|
virtual |
Callback function – called from XML parser when ending tag encountered.
Definition at line 165 of file itkPSMDOMNodeXMLReader.cxx.
itk::PSMDOMNodeXMLReader::itkGetConstObjectMacro | ( | DOMNode | , |
DOMNodeType | |||
) |
Get the output DOM object for read-only access.
itk::PSMDOMNodeXMLReader::itkGetObjectMacro | ( | DOMNode | , |
DOMNodeType | |||
) |
Get the output DOM object for full access.
itk::PSMDOMNodeXMLReader::itkGetStringMacro | ( | FileName | ) |
Get the input XML filename.
itk::PSMDOMNodeXMLReader::itkNewMacro | ( | Self | ) |
Method for creation through the object factory.
itk::PSMDOMNodeXMLReader::itkSetObjectMacro | ( | DOMNode | , |
DOMNodeType | |||
) |
The output DOM object will be created automatically, but the user can appoint a user DOM object as the output by calling this function.
itk::PSMDOMNodeXMLReader::itkSetStringMacro | ( | FileName | ) |
Set the input XML filename.
itk::PSMDOMNodeXMLReader::itkTypeMacro | ( | PSMDOMNodeXMLReader | , |
Object | |||
) |
Run-time type information (and related methods).
|
virtual |
Callback function – called from XML parser with start-of-element information.
Definition at line 128 of file itkPSMDOMNodeXMLReader.cxx.
void itk::PSMDOMNodeXMLReader::Update | ( | std::istream & | is | ) |
Function called by Update() or end-users to generate the output DOM object from an input stream such as file, string, etc.
Definition at line 64 of file itkPSMDOMNodeXMLReader.cxx.
|
virtual |
Function called by end-users to generate the output DOM object from the input XML file.
Reimplemented in itk::PSMProjectReader.
Definition at line 111 of file itkPSMDOMNodeXMLReader.cxx.