Root base class of all XML document components.
More...
#include <XML.h>
XMLComponent supports the hierarchical structure of an XML document by implementing the basic concept of parent element.
- See also
- XMLNode
Definition at line 334 of file XML.h.
◆ XMLComponent() [1/2]
pcl::XMLComponent::XMLComponent |
( |
| ) |
|
|
default |
Default constructor. Constructs a default XMLComment object with no parent element.
◆ XMLComponent() [2/2]
◆ ~XMLComponent()
virtual pcl::XMLComponent::~XMLComponent |
( |
| ) |
|
|
inlinevirtual |
Virtual destructor.
Definition at line 352 of file XML.h.
◆ IsTopLevel()
bool pcl::XMLComponent::IsTopLevel |
( |
| ) |
const |
|
inline |
Returns true iff this is a top-level component. Top-level document components have no parent elements.
Definition at line 369 of file XML.h.
◆ ParentElement()
XMLElement* pcl::XMLComponent::ParentElement |
( |
| ) |
const |
|
inline |
Returns a pointer to the parent XML element of this component, or nullptr
if this object has no parent element.
Definition at line 360 of file XML.h.
The documentation for this class was generated from the following file: