Class CRootTable#
Defined in File parser_node_toml.h
Inheritance Relationships#
Base Type#
public toml_parser::CTable(Class CTable)
Class Documentation#
-
class CRootTable : public toml_parser::CTable#
Root table.
Public Functions
-
inline CRootTable(CParser &rparser)#
Constructor.
- Parameters:
rparser – [in] Reference to the TOML parser.
-
virtual bool DeleteNode() override#
Delete the current node. Overload of sdv::toml::INodeDelete::DeleteNode.
- Attention
A successful deletion will cause all interfaces to the current node to become inoperable.
- Returns:
Returns whether the deletion was successful.
-
inline virtual bool Inline() const override#
The derived class from the node collection can be inline or not. Overload of CNodeCollection::Inline.
- Returns:
Returns whether the node is an inline node.
-
inline virtual bool Inline(bool bInline) override#
With some node collections it is possible to switch between inline and normal. Overload of CNodeCollection::Inline.
Remark
Additional node composition information will be removed and the order within the parent node might be changed.
- Parameters:
bInline – [in] When set, try to switch to inline. Otherwise try to switch to normal.
- Returns:
Returns whether the switch was successful. A switch to the same type (normal to normal or inline to inline is always successful). When returning false, the switching might not be supported for this type.
-
inline CRootTable(CParser &rparser)#