pcl::XMLComponent Class Reference

Root base class of all XML document components. More...

#include <XML.h>

+ Inheritance diagram for pcl::XMLComponent:

Public Member Functions

 XMLComponent ()=default
 XMLComponent (const XMLComponent &)=default
bool IsTopLevel () const
XMLElementParentElement () const

Detailed Description

XMLComponent supports the hierarchical structure of an XML document by implementing the basic concept of parent element.

See also

Definition at line 334 of file XML.h.

Constructor & Destructor Documentation

◆ XMLComponent() [1/2]

pcl::XMLComponent::XMLComponent ( )

Default constructor. Constructs a default XMLComment object with no parent element.

◆ XMLComponent() [2/2]

pcl::XMLComponent::XMLComponent ( const XMLComponent )

Copy constructor.

Member Function Documentation

◆ IsTopLevel()

bool pcl::XMLComponent::IsTopLevel ( ) const

Returns true iff this is a top-level component. Top-level document components have no parent elements.

Definition at line 362 of file XML.h.

◆ ParentElement()

XMLElement* pcl::XMLComponent::ParentElement ( ) const

Returns a pointer to the parent XML element of this component, or nullptr if this object has no parent element.

Definition at line 353 of file XML.h.

The documentation for this class was generated from the following file: