Class BaseNode

Inheritance Relationships

Derived Type

Class Documentation

class BaseNode

Subclassed by eprosima::fastrtps::xmlparser::DataNode< T >

Public Functions

inline BaseNode(NodeType type)
virtual ~BaseNode() = default
BaseNode(const BaseNode&) = delete
BaseNode &operator=(const BaseNode&) = delete
BaseNode(BaseNode&&) = default
BaseNode &operator=(BaseNode&&) = default
inline NodeType getType() const
inline void addChild(std::unique_ptr<BaseNode> child)
inline bool removeChild(const size_t &index)
inline BaseNode *getChild(const size_t &index) const
inline BaseNode *getParent() const
inline void setParent(BaseNode *parent)
inline size_t getNumChildren() const
inline std::vector<std::unique_ptr<BaseNode>> &getChildren()