Struct NestedVars#
Defined in File BaseVars.h
Struct Documentation#
-
struct NestedVars#
A structure to hold nested Vars.
Public Functions
-
std::string dumpString(std::string_view prefix = "", int depth = 0) const#
Dump all of the Vars as a string.
- Parameters:
prefix – The prefix to put in front of each Var.
depth – How many levels deep to dump. A negative value will dump all levels.
- Returns:
A string with the information about all the Vars contained within.
Public Members
-
std::string name#
Name of the NestedVars.
-
std::string description#
Description for the NestedVars.
-
std::vector<NestedVars> nested_vars = {}#
Nested Vars.
-
std::string dumpString(std::string_view prefix = "", int depth = 0) const#