Wire Sysio Wire Sysion 1.0.0
|
Classes | |
struct | abi_from_variant |
class | abi_from_variant_visitor |
struct | abi_to_variant |
class | abi_to_variant_visitor |
struct | abi_traverse_context |
struct | abi_traverse_context_with_path |
struct | array_index_path_item |
struct | array_type_path_root |
struct | binary_to_variant_context |
struct | empty_path_item |
struct | empty_path_root |
struct | field_path_item |
struct | generate_path_string_visitor |
struct | path_item_type_visitor |
struct | struct_type_path_root |
struct | type_requires_abi |
struct | type_requires_abi< Container< T, Args... > > |
struct | variant_path_item |
struct | variant_to_binary_context |
struct | variant_type_path_root |
Typedefs | |
using | path_root = std::variant<empty_path_root, array_type_path_root, struct_type_path_root, variant_type_path_root> |
using | path_item = std::variant<empty_path_item, array_index_path_item, field_path_item, variant_path_item> |
template<typename T > | |
using | not_require_abi_t = std::enable_if_t<!type_requires_abi_v<T>(), int> |
template<typename T > | |
using | require_abi_t = std::enable_if_t<type_requires_abi_v<T>(), int> |
Functions | |
constexpr size_t | const_strlen (const char *str) |
void | output_name (std::ostream &s, const string_view &str, bool shorten, size_t max_length=64) |
string | limit_size (const std::string_view &str) |
limits the string size to default max_length of output_name | |
template<typename T > | |
constexpr bool | single_type_requires_abi_v () |
template<typename T > | |
constexpr bool | type_requires_abi_v () |
using sysio::chain::impl::not_require_abi_t = std::enable_if_t<!type_requires_abi_v<T>(), int> |
convenience aliases for creating overload-guards based on whether the type contains ABI related info
Definition at line 326 of file abi_serializer.hpp.
using sysio::chain::impl::path_item = std::variant<empty_path_item, array_index_path_item, field_path_item, variant_path_item> |
Definition at line 225 of file abi_serializer.hpp.
using sysio::chain::impl::path_root = std::variant<empty_path_root, array_type_path_root, struct_type_path_root, variant_type_path_root> |
Definition at line 206 of file abi_serializer.hpp.
using sysio::chain::impl::require_abi_t = std::enable_if_t<type_requires_abi_v<T>(), int> |
Definition at line 329 of file abi_serializer.hpp.
|
constexpr |
Definition at line 703 of file abi_serializer.cpp.
string sysio::chain::impl::limit_size | ( | const std::string_view & | str | ) |
Definition at line 880 of file abi_serializer.cpp.
void sysio::chain::impl::output_name | ( | std::ostream & | s, |
const string_view & | str, | ||
bool | shorten, | ||
size_t | max_length = 64 ) |
Definition at line 708 of file abi_serializer.cpp.
|
constexpr |
Determine if a type contains ABI related info, perhaps deeply nested
T | - the type to check |
Definition at line 284 of file abi_serializer.hpp.
|
constexpr |
Definition at line 318 of file abi_serializer.hpp.