|
|
| config_value_reader (const config_value *input, actor_system &sys) |
| |
|
| config_value_reader (const config_value *input, execution_unit *ctx) |
| |
|
| config_value_reader (const config_value *input) |
| |
|
| config_value_reader (const config_value_reader &)=delete |
| |
|
config_value_reader & | operator= (const config_value_reader &)=delete |
| |
|
value_type & | top () |
| |
|
void | pop () |
| |
| bool | fetch_next_object_type (type_id_t &type) override |
| | Reads run-time-type information for the next object if available.
|
| |
| bool | begin_object (type_id_t type, std::string_view name) override |
| | Begins processing of an object, may perform a type check depending on the data format.
|
| |
| bool | end_object () override |
| | Ends processing of an object.
|
| |
| bool | begin_field (std::string_view) override |
| |
| bool | begin_field (std::string_view name, bool &is_present) override |
| |
| bool | begin_field (std::string_view name, span< const type_id_t > types, size_t &index) override |
| |
| bool | begin_field (std::string_view name, bool &is_present, span< const type_id_t > types, size_t &index) override |
| |
| bool | end_field () override |
| |
| bool | begin_tuple (size_t size) override |
| | Begins processing of a fixed-size sequence.
|
| |
| bool | end_tuple () override |
| | Ends processing of a sequence.
|
| |
| bool | begin_key_value_pair () override |
| | Begins processing of a tuple with two elements, whereas the first element represents the key in an associative array.
|
| |
| bool | end_key_value_pair () override |
| | Ends processing of a key-value pair after both values were written.
|
| |
| bool | begin_sequence (size_t &size) override |
| | Begins processing of a sequence.
|
| |
| bool | end_sequence () override |
| | Ends processing of a sequence.
|
| |
| bool | begin_associative_array (size_t &size) override |
| | Begins processing of an associative array (map).
|
| |
| bool | end_associative_array () override |
| | Ends processing of an associative array (map).
|
| |
| bool | value (std::byte &x) override |
| | Reads x from the input.
|
| |
| bool | value (bool &x) override |
| | Reads x from the input.
|
| |
| bool | value (int8_t &x) override |
| | Reads x from the input.
|
| |
| bool | value (uint8_t &x) override |
| | Reads x from the input.
|
| |
| bool | value (int16_t &x) override |
| | Reads x from the input.
|
| |
| bool | value (uint16_t &x) override |
| | Reads x from the input.
|
| |
| bool | value (int32_t &x) override |
| | Reads x from the input.
|
| |
| bool | value (uint32_t &x) override |
| | Reads x from the input.
|
| |
| bool | value (int64_t &x) override |
| | Reads x from the input.
|
| |
| bool | value (uint64_t &x) override |
| | Reads x from the input.
|
| |
| bool | value (float &x) override |
| | Reads x from the input.
|
| |
| bool | value (double &x) override |
| | Reads x from the input.
|
| |
| bool | value (long double &x) override |
| | Reads x from the input.
|
| |
| bool | value (std::string &x) override |
| | Reads x from the input.
|
| |
| bool | value (std::u16string &x) override |
| | Reads x from the input.
|
| |
| bool | value (std::u32string &x) override |
| | Reads x from the input.
|
| |
| bool | value (span< std::byte > x) override |
| | Reads a byte sequence from the input.
|
| |
|
| deserializer (actor_system &sys) noexcept |
| |
|
| deserializer (execution_unit *ctx=nullptr) noexcept |
| |
|
auto | context () const noexcept |
| |
|
bool | has_human_readable_format () const noexcept |
| |
| virtual bool | fetch_next_object_type (type_id_t &type)=0 |
| | Reads run-time-type information for the next object if available.
|
| |
| virtual bool | fetch_next_object_name (std::string_view &type_name) |
| | Reads run-time-type information for the next object if available.
|
| |
|
bool | next_object_name_matches (std::string_view type_name) |
| | Convenience function for querying fetch_next_object_name comparing the result to type_name in one shot.
|
| |
|
bool | assert_next_object_name (std::string_view type_name) |
| | Like next_object_name_matches, but sets an error on the deserializer on a mismatch.
|
| |
| virtual bool | begin_object (type_id_t type, std::string_view pretty_class_name)=0 |
| | Begins processing of an object, may perform a type check depending on the data format.
|
| |
| virtual bool | end_object ()=0 |
| | Ends processing of an object.
|
| |
|
virtual bool | begin_field (std::string_view name)=0 |
| |
|
virtual bool | begin_field (std::string_view, bool &is_present)=0 |
| |
|
virtual bool | begin_field (std::string_view name, span< const type_id_t > types, size_t &index)=0 |
| |
|
virtual bool | begin_field (std::string_view name, bool &is_present, span< const type_id_t > types, size_t &index)=0 |
| |
|
virtual bool | end_field ()=0 |
| |
| virtual bool | begin_tuple (size_t size)=0 |
| | Begins processing of a fixed-size sequence.
|
| |
| virtual bool | end_tuple ()=0 |
| | Ends processing of a sequence.
|
| |
| virtual bool | begin_key_value_pair () |
| | Begins processing of a tuple with two elements, whereas the first element represents the key in an associative array.
|
| |
| virtual bool | end_key_value_pair () |
| | Ends processing of a key-value pair after both values were written.
|
| |
| virtual bool | begin_sequence (size_t &size)=0 |
| | Begins processing of a sequence.
|
| |
| virtual bool | end_sequence ()=0 |
| | Ends processing of a sequence.
|
| |
| virtual bool | begin_associative_array (size_t &size) |
| | Begins processing of an associative array (map).
|
| |
| virtual bool | end_associative_array () |
| | Ends processing of an associative array (map).
|
| |
| virtual bool | value (std::byte &x)=0 |
| | Reads x from the input.
|
| |
| virtual bool | value (bool &x)=0 |
| | Reads x from the input.
|
| |
| virtual bool | value (int8_t &)=0 |
| | Reads x from the input.
|
| |
| virtual bool | value (uint8_t &)=0 |
| | Reads x from the input.
|
| |
| virtual bool | value (int16_t &)=0 |
| | Reads x from the input.
|
| |
| virtual bool | value (uint16_t &)=0 |
| | Reads x from the input.
|
| |
| virtual bool | value (int32_t &)=0 |
| | Reads x from the input.
|
| |
| virtual bool | value (uint32_t &)=0 |
| | Reads x from the input.
|
| |
| virtual bool | value (int64_t &)=0 |
| | Reads x from the input.
|
| |
| virtual bool | value (uint64_t &)=0 |
| | Reads x from the input.
|
| |
| template<class T > |
| std::enable_if_t< std::is_integral< T >::value, bool > | value (T &x) noexcept |
| | Reads x from the input.
|
| |
| virtual bool | value (float &)=0 |
| | Reads x from the input.
|
| |
| virtual bool | value (double &)=0 |
| | Reads x from the input.
|
| |
| virtual bool | value (long double &)=0 |
| | Reads x from the input.
|
| |
| virtual bool | value (std::string &)=0 |
| | Reads x from the input.
|
| |
| virtual bool | value (std::u16string &)=0 |
| | Reads x from the input.
|
| |
| virtual bool | value (std::u32string &)=0 |
| | Reads x from the input.
|
| |
| virtual bool | value (span< std::byte > x)=0 |
| | Reads a byte sequence from the input.
|
| |
| virtual bool | list (std::vector< bool > &xs) |
| | Adds each boolean in xs to the output.
|
| |
Extracts objects from a config_value.