|
moddef-cpp
Idiomatic C++ runtime for ModDef
|
Decoded value (spec §8, §13). More...
#include <cstdint>#include <optional>#include <string_view>#include "moddef/str.hpp"#include "moddef/codec.h"Go to the source code of this file.
Classes | |
| class | moddef::Value |
A decoded point value: a typed view over the C core's md_value_t. More... | |
Namespaces | |
| namespace | moddef |
Enumerations | |
| enum class | moddef::ValueKind : std::uint8_t { moddef::F64 = MD_VAL_F64 , moddef::U64 = MD_VAL_U64 , moddef::I64 = MD_VAL_I64 , moddef::Bool = MD_VAL_BOOL , moddef::Flags = MD_VAL_FLAGS , moddef::Fields = MD_VAL_FIELDS , moddef::DateTime = MD_VAL_DATETIME , moddef::Unavailable = MD_VAL_UNAVAILABLE } |
Decoded value (spec §8, §13).
Wraps md_value_t with typed, std::optional accessors. An "unavailable" reading (§8.4 sentinel) is a state on Value — not an error — matching the dynamic facades in the TS / Python / Rust runtimes.