IniValue
AppCUI::Utils::IniValue (class)
-
class IniValue
Public Functions
-
inline IniValue()
-
inline IniValue(void *data)
-
optional<bool> AsBool() const
-
optional<const char*> AsString() const
-
optional<string_view> AsStringView() const
-
optional<float> AsFloat() const
-
optional<double> AsDouble() const
-
bool ToBool(bool defaultValue = false) const
-
const char *ToString(const char *defaultValue = nullptr) const
-
string_view ToStringView(string_view defaultValue = string_view{}) const
-
float ToFloat(float defaultValue = 0.0f) const
-
double ToDouble(double defaultValue = 0.0) const
-
Graphics::ColorPair ToColorPair(Graphics::ColorPair defaultColorPair = Graphics::NoColorPair) const
-
bool IsArray() const
-
IniValueArray operator[](uint32 index) const
-
string_view GetName() const
-
inline bool HasValue() const
-
void operator=(bool value)
-
void operator=(float value)
-
void operator=(double value)
-
void operator=(const char *value)
-
void operator=(string_view value)
-
void operator=(const initializer_list<const char*> &values)
-
void operator=(const initializer_list<std::string> &values)
-
void operator=(const initializer_list<bool> &values)
-
void operator=(const initializer_list<float> &values)
-
void operator=(const initializer_list<double> &values)
-
inline IniValue()