19 #ifndef __itkPSMDOMNode_h 20 #define __itkPSMDOMNode_h 22 #include "itkDOMNode.h" 23 #include "itkObject.h" 24 #include "itkObjectFactory.h" 51 typedef DOMNode Superclass;
52 typedef SmartPointer< Self > Pointer;
53 typedef SmartPointer< const Self > ConstPointer;
63 typedef Superclass::ConstChildrenListType ConstChildrenListType;
67 typedef Superclass::AttributeValueType AttributeValueType;
69 typedef Superclass::AttributeItemType AttributeItemType;
74 typedef Superclass::SizeType SizeType;
75 typedef Superclass::IdentifierType IdentifierType;
76 typedef Superclass::OffsetType OffsetType;
79 const std::vector<std::string> &
GetText()
const 83 std::vector<std::string> &
GetText()
91 m_TextVector.push_back(s);
96 void PrintSelf(std::ostream &os, Indent indent)
const 97 { Superclass::PrintSelf(os,indent); }
103 std::vector<std::string> m_TextVector;
106 void operator=(
const Self &);
112 #include "itkStringTools.h" 113 #include "itkFancyString.h" 115 #endif // __itkPSMDOMNode_h Superclass::ChildrenListType ChildrenListType
const std::vector< std::string > & GetText() const
Superclass::AttributesListType AttributesListType
Class to represent a node in the PSM Document Object Model (DOM) tree structure.
void AddText(const std::string &s)
Superclass::AttributeKeyType AttributeKeyType
itkTypeMacro(PSMDOMNode, DOMNode)