|
template<typename F > |
| adapter_builder (formats_builder *owner, F &&f) |
|
| adapter_builder (formats_builder *owner) |
|
adapter_builder< T > & | type_default_on_null (bool on=true) |
|
adapter_builder< T > & | type_default_value (std::function< T(const extraction_context &ctx)> create) |
|
adapter_builder< T > & | type_default_value (const T &value) |
|
template<typename TMember > |
member_adapter_builder< T, TMember > | member (std::string name, TMember T::*selector) |
|
template<typename TMember > |
member_adapter_builder< T, TMember > | member (std::string name, std::function< const TMember &(const T &)> access, std::function< void(T &, TMember &&)> mutate) |
|
template<typename TMember > |
member_adapter_builder< T, TMember > | member (std::string name, const TMember &(T::*access)() const, TMember &(T::*mutable_access)()) |
|
template<typename TMember > |
member_adapter_builder< T, TMember > | member (std::string name, const TMember &(T::*access)() const, void(T::*mutate)(TMember)) |
|
template<typename TMember > |
member_adapter_builder< T, TMember > | member (std::string name, const TMember &(T::*access)() const, void(T::*mutate)(TMember &&)) |
|
adapter_builder< T > & | pre_extract (pre_extract_func perform) |
|
adapter_builder< T > & | post_extract (post_extract_func perform) |
|
adapter_builder< T > & | on_extract_extra_keys (extra_keys_func handler) |
|
| formats_builder_dsl (formats_builder *owner) |
|
template<typename T > |
adapter_builder< T > | type () |
|
template<typename T , typename F > |
adapter_builder< T > | type (F &&) |
|
template<typename TEnum > |
formats_builder & | enum_type (std::string enum_name, std::initializer_list< std::pair< TEnum, value >> mapping) |
|
template<typename TEnum > |
formats_builder & | enum_type_icase (std::string enum_name, std::initializer_list< std::pair< TEnum, value >> mapping) |
|
template<typename TPointer > |
polymorphic_adapter_builder< TPointer > | polymorphic_type (std::string discrimination_key="") |
|
template<typename TPointer , typename F > |
polymorphic_adapter_builder< TPointer > | polymorphic_type (std::string discrimination_key, F &&) |
|
template<typename F > |
formats_builder & | extend (F &&) |
|
formats_builder & | register_adapter (const adapter *p) |
|
formats_builder & | register_adapter (std::shared_ptr< const adapter > p) |
|
formats_builder & | reference_type (std::type_index typ) |
|
formats_builder & | reference_type (std::type_index type, std::type_index from) |
|
template<typename TOptional > |
formats_builder & | register_optional () |
|
template<typename TContainer > |
formats_builder & | register_container () |
|
template<typename TWrapper > |
formats_builder & | register_wrapper () |
|
formats_builder & | check_references (const formats &other, const std::string &name="") |
|
formats_builder & | check_references (const formats::list &others, const std::string &name="") |
|
formats_builder & | check_references (const std::string &name="") |
|
formats_builder & | on_duplicate_type (duplicate_type_action action) noexcept |
|
formats | compose_checked (formats other, const std::string &name="") |
|
formats | compose_checked (std::vector< formats > others, const std::string &name="") |
|
| operator formats () const |
|
template<typename T>
class jsonv::adapter_builder< T >
Definition at line 18 of file forward.hpp.