Stores the parsed output of a key/value pair.
More...
#include <Parsing.h>
Stores the parsed output of a key/value pair.
Definition at line 31 of file Parsing.h.
◆ ParsedValue() [1/3]
Cogs::Core::ParsedValue::ParsedValue |
( |
| ) |
|
|
inline |
◆ ParsedValue() [2/3]
Cogs::Core::ParsedValue::ParsedValue |
( |
const ParsedValue & |
other | ) |
|
◆ ParsedValue() [3/3]
Cogs::Core::ParsedValue::ParsedValue |
( |
ParsedValue && |
other | ) |
|
|
noexcept |
◆ asBool()
bool Cogs::Core::ParsedValue::asBool |
( |
bool & |
rv, |
|
|
bool |
complain = true |
|
) |
| const |
◆ asFloat()
bool Cogs::Core::ParsedValue::asFloat |
( |
float & |
rv, |
|
|
bool |
complain = true |
|
) |
| const |
◆ asInt()
bool Cogs::Core::ParsedValue::asInt |
( |
int & |
rv, |
|
|
bool |
complain = true |
|
) |
| const |
◆ operator=()
◆ _fill
float Cogs::Core::ParsedValue::_fill[16] = { 0.f } |
◆ boolValue
bool Cogs::Core::ParsedValue::boolValue |
◆ dimension
size_t Cogs::Core::ParsedValue::dimension = static_cast<size_t>(-1) |
This value is for external use.
Definition at line 50 of file Parsing.h.
◆ doubleValue
double Cogs::Core::ParsedValue::doubleValue |
◆ expressions
std::vector<std::pair<size_t, std::string> > Cogs::Core::ParsedValue::expressions |
◆ flags
ParsedValueTextureFlags Cogs::Core::ParsedValue::flags |
◆ float2Value
glm::vec2 Cogs::Core::ParsedValue::float2Value |
◆ float3Value
glm::vec3 Cogs::Core::ParsedValue::float3Value |
◆ float4Value
glm::vec4 Cogs::Core::ParsedValue::float4Value |
◆ float4x4Value
glm::mat4 Cogs::Core::ParsedValue::float4x4Value |
◆ floatValue
float Cogs::Core::ParsedValue::floatValue |
◆ int2Value
glm::ivec2 Cogs::Core::ParsedValue::int2Value |
◆ int3Value
glm::ivec3 Cogs::Core::ParsedValue::int3Value |
◆ int4Value
glm::ivec4 Cogs::Core::ParsedValue::int4Value |
◆ intValue
int Cogs::Core::ParsedValue::intValue |
◆ key
std::string Cogs::Core::ParsedValue::key |
The input key.
Definition at line 39 of file Parsing.h.
◆ type
ParsedDataType Cogs::Core::ParsedValue::type = ParsedDataType::Unknown |
The data type of the value. Determines type stored in union below.
Definition at line 45 of file Parsing.h.
◆ uint2Value
glm::uvec2 Cogs::Core::ParsedValue::uint2Value |
◆ uint3Value
glm::uvec3 Cogs::Core::ParsedValue::uint3Value |
◆ uint4Value
glm::uvec4 Cogs::Core::ParsedValue::uint4Value |
◆ uintValue
uint32_t Cogs::Core::ParsedValue::uintValue |
◆ value
std::string Cogs::Core::ParsedValue::value |
The value is available for all non vector types.
Definition at line 42 of file Parsing.h.
◆ valueHash
size_t Cogs::Core::ParsedValue::valueHash = 0 |
The hash is only set for values where the type is explicitly given.
Definition at line 47 of file Parsing.h.
◆ values
std::vector<ParsedValue> Cogs::Core::ParsedValue::values |
The documentation for this struct was generated from the following files: