Function TOML2ClassInfo(const std::string&, size_t)#

Function Documentation#

sdv::SClassInfo TOML2ClassInfo(const std::string &rssTOML, size_t nIndex = 0)#

Extract the class information from a TOML class configuration.

Remark

The class information could be stored as a table array entry (then the index is used to extract the information). It also could be a table. Then the index parameter is ignored.

Parameters:
  • rssTOML[in] Reference to the string containing the TOML class configuration.

  • nIndex[in] The index in the table array to provide the class information for.

Returns:

Returns the class information or an empty class structure when no information is available.