A decoded point value: a typed view over the C core's md_value_t.
More...
#include <value.hpp>
|
| | Value ()=default |
| |
| | Value (md_value_t v) noexcept |
| |
| ValueKind | kind () const noexcept |
| |
| const md_value_t & | raw () const noexcept |
| |
| bool | is_unavailable () const noexcept |
| |
| std::string_view | unavailable_meaning () const noexcept |
| |
| std::optional< double > | as_f64 () const noexcept |
| |
| std::optional< std::int64_t > | as_i64 () const noexcept |
| |
| std::optional< std::uint64_t > | as_u64 () const noexcept |
| |
| std::optional< bool > | as_bool () const noexcept |
| |
| std::optional< std::uint64_t > | as_bits () const noexcept |
| |
| std::optional< std::int64_t > | as_datetime () const noexcept |
| |
A decoded point value: a typed view over the C core's md_value_t.
◆ Value() [1/2]
◆ Value() [2/2]
| moddef::Value::Value |
( |
md_value_t |
v | ) |
|
|
inlineexplicitnoexcept |
◆ kind()
◆ raw()
| const md_value_t & moddef::Value::raw |
( |
| ) |
const |
|
inlinenoexcept |
◆ is_unavailable()
| bool moddef::Value::is_unavailable |
( |
| ) |
const |
|
inlinenoexcept |
◆ unavailable_meaning()
| std::string_view moddef::Value::unavailable_meaning |
( |
| ) |
const |
|
inlinenoexcept |
◆ as_f64()
| std::optional< double > moddef::Value::as_f64 |
( |
| ) |
const |
|
inlinenoexcept |
◆ as_i64()
| std::optional< std::int64_t > moddef::Value::as_i64 |
( |
| ) |
const |
|
inlinenoexcept |
◆ as_u64()
| std::optional< std::uint64_t > moddef::Value::as_u64 |
( |
| ) |
const |
|
inlinenoexcept |
◆ as_bool()
| std::optional< bool > moddef::Value::as_bool |
( |
| ) |
const |
|
inlinenoexcept |
◆ as_bits()
| std::optional< std::uint64_t > moddef::Value::as_bits |
( |
| ) |
const |
|
inlinenoexcept |
◆ as_datetime()
| std::optional< std::int64_t > moddef::Value::as_datetime |
( |
| ) |
const |
|
inlinenoexcept |
The documentation for this class was generated from the following file: