Function TOML2ClassInfo(const std::shared_ptr<toml_parser::CNodeCollection>&, size_t)#
Defined in File installation_manifest.h
Function Documentation#
-
sdv::SClassInfo TOML2ClassInfo(const std::shared_ptr<toml_parser::CNodeCollection> &rptrTOML, 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:
rptrTOML – [in] Reference to the smart pointer holding 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.