Struct NestedVars#

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<Karana::Core::ks_ptr<Var>> local_vars = {}#

Local vars at the current level.

std::vector<NestedVars> nested_vars = {}#

Nested Vars.