Class CRootTable#

Inheritance Relationships#

Base Type#

Class Documentation#

class CRootTable : public CNormalTable#

Root table.

Public Functions

inline CRootTable()#

Constructor.

virtual std::string CreateTOMLText(const std::string &rssParent, std::string &rssLastPrintedTable, bool bFirst, bool bEmbedded, bool bAssignment, bool bRoot) const override#

Get the TOML text based on the content. Overload of CNode::CreateTOMLText.

Parameters:
  • rssParent[in] When present, uses the parent node into the TOML text generation.

  • rssLastPrintedTable[in] Reference to the string containing the last printed table. This might be necessary in case a different table was printed in between.

  • bFirst[in] When set, this is the first entry in an array or table.

  • bEmbedded[in] When set, this is an embedded definition in an array or table.

  • bAssignment[in] When set, this is a table assignment.

  • bRoot[in] Only for table entries, when set this is the root entry (suppress the table name).

Returns:

The string containing the TOML text.