Class Var#
Defined in File Var.h
Inheritance Relationships#
Base Type#
public std::enable_shared_from_this< Var >
Derived Type#
public Karana::Core::Var_T< T >(Template Class Var_T)
Class Documentation#
-
class Var : public std::enable_shared_from_this<Var>#
Base class for all Vars.
Subclassed by Karana::Core::Var_T< T >
Public Functions
-
virtual std::string dumpString(std::string_view prefix = "") const = 0#
Get the value this Var holds as a string.
- Parameters:
prefix – The prefix to put in front of each output line.
- Returns:
The string representation of this Var.
-
std::string_view description() const noexcept#
Description of this Var.
- Returns:
Description of this Var.
-
std::string_view quantity() const noexcept#
Quantity type of this Var.
- Returns:
Quantity type of this Var.
-
virtual ~Var()#
Destructor.
-
virtual std::string dumpString(std::string_view prefix = "") const = 0#