Shapeworks Studio
2.1
Shape analysis software suite
|
Class to represent a node in the PSM Document Object Model (DOM) tree structure. More...
#include <itkPSMDOMNode.h>
Public Types | |
typedef PSMDOMNode | Self |
typedef DOMNode | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::ChildrenListType | ChildrenListType |
typedef Superclass::ConstChildrenListType | ConstChildrenListType |
typedef Superclass::AttributeKeyType | AttributeKeyType |
typedef Superclass::AttributeValueType | AttributeValueType |
typedef Superclass::AttributeItemType | AttributeItemType |
typedef Superclass::AttributesListType | AttributesListType |
typedef Superclass::SizeType | SizeType |
typedef Superclass::IdentifierType | IdentifierType |
typedef Superclass::OffsetType | OffsetType |
Public Member Functions | |
itkNewMacro (Self) | |
itkTypeMacro (PSMDOMNode, DOMNode) | |
const std::vector< std::string > & | GetText () const |
std::vector< std::string > & | GetText () |
void | AddText (const std::string &s) |
Protected Member Functions | |
void | PrintSelf (std::ostream &os, Indent indent) const |
Class to represent a node in the PSM Document Object Model (DOM) tree structure.
This class extends the itkDOMNode class to include storage of text strings at each node. This allows parsing documents that have text between the opening and closing xml tags. This is useful for specifying lists of file names or other parameters with a tag, e.g. <inputfiles>, <outputfiles>, etc.
Definition at line 46 of file itkPSMDOMNode.h.
typedef Superclass::AttributeKeyType itk::PSMDOMNode::AttributeKeyType |
An attribute is a pair of <key,value>, both key and value are strings.
Definition at line 66 of file itkPSMDOMNode.h.
typedef Superclass::AttributesListType itk::PSMDOMNode::AttributesListType |
Container to return the attributes of a DOM node.
Definition at line 72 of file itkPSMDOMNode.h.
typedef Superclass::ChildrenListType itk::PSMDOMNode::ChildrenListType |
Container to return all or a subset of the children of a DOM node.
Definition at line 62 of file itkPSMDOMNode.h.
typedef PSMDOMNode itk::PSMDOMNode::Self |
Standard class typedefs.
Definition at line 50 of file itkPSMDOMNode.h.
|
inline |
Add a string to the TextVector.
Definition at line 89 of file itkPSMDOMNode.h.
|
inline |
Get the vector of text lines for this element (node)
Definition at line 79 of file itkPSMDOMNode.h.
itk::PSMDOMNode::itkNewMacro | ( | Self | ) |
Method for creation through the object factory.
itk::PSMDOMNode::itkTypeMacro | ( | PSMDOMNode | , |
DOMNode | |||
) |
Run-time type information (and related methods).