ITK
5.2.0
Insight Toolkit
|
#include <itkDOMTextNode.h>
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
virtual const char * | GetNameOfClass () const |
Public Member Functions inherited from itk::DOMNode | |
virtual void | SetParent (DOMNode *node) |
DOMNode * | GetParent () |
const DOMNode * | GetParent () const |
virtual void | SetName (std::string &_arg) |
virtual const std::string & | GetName () const |
virtual void | SetID (std::string &_arg) |
virtual const std::string & | GetID () const |
virtual std::string | GetAttribute (const std::string &key) const |
virtual bool | HasAttribute (const std::string &key) const |
virtual void | SetAttribute (const std::string &key, const std::string &value) |
virtual void | RemoveAttribute (const std::string &key) |
virtual void | GetAllAttributes (AttributesListType &output, bool keepOriginalOrder=true) const |
virtual void | RemoveAllAttributes () |
virtual SizeType | GetNumberOfChildren () const |
virtual void | GetAllChildren (ChildrenListType &output) |
virtual void | GetAllChildren (ConstChildrenListType &output) const |
virtual void | GetChildren (const std::string &tag, ChildrenListType &output) |
virtual void | GetChildren (const std::string &tag, ConstChildrenListType &output) const |
virtual void | RemoveAllChildren () |
virtual void | AddChild (DOMNode *node, IdentifierType i=0) |
virtual void | AddChildAtBegin (DOMNode *node) |
virtual void | AddChildAtEnd (DOMNode *node) |
virtual void | SetChild (DOMNode *node, IdentifierType i=0) |
virtual void | RemoveChild (IdentifierType i=0) |
virtual void | RemoveAllAttributesAndChildren () |
virtual DOMNode * | GetChild (IdentifierType i=0) |
virtual const DOMNode * | GetChild (IdentifierType i=0) const |
virtual DOMNode * | GetChild (const std::string &tag, IdentifierType i=0) |
virtual const DOMNode * | GetChild (const std::string &tag, IdentifierType i=0) const |
virtual DOMNode * | GetChildByID (const std::string &value) |
virtual const DOMNode * | GetChildByID (const std::string &value) const |
virtual DOMNode * | GetSibling (OffsetType i) |
virtual const DOMNode * | GetSibling (OffsetType i) const |
virtual DOMNode * | GetRoot () |
virtual const DOMNode * | GetRoot () const |
virtual bool | ShareRoot (const DOMNode *node) const |
virtual DOMNode * | Find (const std::string &path) |
virtual const DOMNode * | Find (const std::string &path) const |
virtual std::string | GetPath () const |
virtual DOMTextNode * | GetTextChild (IdentifierType i=0) |
virtual const DOMTextNode * | GetTextChild (IdentifierType i=0) const |
virtual void | AddTextChild (const std::string &text, IdentifierType i=0) |
virtual void | AddTextChildAtBegin (const std::string &text) |
virtual void | AddTextChildAtEnd (const std::string &text) |
virtual void | SetTextChild (const std::string &text, IdentifierType i=0) |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) const |
unsigned long | AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary () |
const MetaDataDictionary & | GetMetaDataDictionary () const |
virtual ModifiedTimeType | GetMTime () const |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
void | Register () const override |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetReferenceCount (int) override |
void | UnRegister () const noexcept override |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
void | SetMetaDataDictionary (MetaDataDictionary &&rrhs) |
virtual void | SetObjectName (std::string _arg) |
virtual const std::string & | GetObjectName () const |
Public Member Functions inherited from itk::LightObject | |
Pointer | Clone () const |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
void | Print (std::ostream &os, Indent indent=0) const |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::DOMNode | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
std::string | m_Text |
virtual void | SetText (std::string &_arg) |
virtual const std::string & | GetText () const |
DOMTextNode () | |
Additional Inherited Members | |
Protected Member Functions inherited from itk::DOMNode | |
DOMNode () | |
Protected Member Functions inherited from itk::Object | |
Object () | |
~Object () override | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
Protected Member Functions inherited from itk::LightObject | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount |
Class to represent a special DOM node that holds a text string.
A text node has no attributes and children. So a text node is always a leaf node, and the special attribute "id" cannot be used. In this implementation, a text node is internally represented using a special tag name of "!". This is not a problem as "!" is not a valid tag name in any XML file.
Definition at line 40 of file itkDOMTextNode.h.
using itk::DOMTextNode::ConstPointer = SmartPointer<const Self> |
Definition at line 49 of file itkDOMTextNode.h.
using itk::DOMTextNode::Pointer = SmartPointer<Self> |
Definition at line 48 of file itkDOMTextNode.h.
using itk::DOMTextNode::Self = DOMTextNode |
Standard class type aliases.
Definition at line 46 of file itkDOMTextNode.h.
using itk::DOMTextNode::Superclass = DOMNode |
Definition at line 47 of file itkDOMTextNode.h.
|
inlineprotected |
Variable to hold the text string of this node.
Definition at line 63 of file itkDOMTextNode.h.
References itk::DOMNode::SetName().
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::DOMNode.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::DOMNode.
|
virtual |
Variable to hold the text string of this node.
|
static |
Method for creation through the object factory.
|
virtual |
Functions to set/get the enclosed text of this node.
|
private |
Variable to hold the text string of this node.
Definition at line 67 of file itkDOMTextNode.h.