visit_struct
3 minute read
visit_struct
Namespaces
Name |
---|
visit_struct::detail |
visit_struct::helper |
visit_struct::traits |
Classes
Name | |
---|---|
struct | visit_struct::type_c |
struct | visit_struct::accessor |
struct | visit_struct::type_at_s |
Types
Name | |
---|---|
template <int idx,typename S > using typename type_at_s< idx, S >::type |
type_at |
Functions
Name | |
---|---|
template <typename S > VISIT_STRUCT_CONSTEXPR std::size_t |
field_count() |
template <typename S > VISIT_STRUCT_CONSTEXPR std::size_t |
field_count(S && ) |
template <typename S ,typename V > VISIT_STRUCT_CXX14_CONSTEXPR auto |
apply_visitor(V && v, S && s) |
template <typename S1 ,typename S2 ,typename V > VISIT_STRUCT_CXX14_CONSTEXPR auto |
apply_visitor(V && v, S1 && s1, S2 && s2) |
template <typename V ,typename S > VISIT_STRUCT_CXX14_CONSTEXPR auto |
for_each(S && s, V && v) |
template <typename S1 ,typename S2 ,typename V > VISIT_STRUCT_CXX14_CONSTEXPR auto |
for_each(S1 && s1, S2 && s2, V && v) |
template <typename S ,typename V > VISIT_STRUCT_CXX14_CONSTEXPR auto |
visit_types(V && v) |
template <typename S ,typename V > VISIT_STRUCT_CXX14_CONSTEXPR auto |
visit_pointers(V && v) |
template <typename S ,typename V > VISIT_STRUCT_CXX14_CONSTEXPR auto |
visit_accessors(V && v) |
template <typename S ,typename V > VISIT_STRUCT_CXX14_CONSTEXPR auto |
apply_visitor(V && v) |
template <int idx,typename S > VISIT_STRUCT_CONSTEXPR auto |
get(S && s) |
template <int idx,typename S > VISIT_STRUCT_CONSTEXPR auto |
get_name() |
template <int idx,typename S > VISIT_STRUCT_CONSTEXPR auto |
get_name(S && ) |
template <int idx,typename S > VISIT_STRUCT_CONSTEXPR auto |
get_pointer() |
template <int idx,typename S > VISIT_STRUCT_CONSTEXPR auto |
get_pointer(S && ) |
template <int idx,typename S > VISIT_STRUCT_CONSTEXPR auto |
get_accessor() |
template <int idx,typename S > VISIT_STRUCT_CONSTEXPR auto |
get_accessor(S && ) |
template <typename S > VISIT_STRUCT_CONSTEXPR auto |
get_name() |
template <typename S > VISIT_STRUCT_CONSTEXPR auto |
get_name(S && ) |
Attributes
Name | |
---|---|
VISIT_STRUCT_CONSTEXPR const int | max_visitable_members |
Types Documentation
using type_at
template <int idx,
typename S >
using visit_struct::type_at = typedef typename type_at_s<idx, S>::type;
Functions Documentation
function field_count
template <typename S >
VISIT_STRUCT_CONSTEXPR std::size_t field_count()
function field_count
template <typename S >
VISIT_STRUCT_CONSTEXPR std::size_t field_count(
S &&
)
function apply_visitor
template <typename S ,
typename V >
VISIT_STRUCT_CXX14_CONSTEXPR auto apply_visitor(
V && v,
S && s
)
function apply_visitor
template <typename S1 ,
typename S2 ,
typename V >
VISIT_STRUCT_CXX14_CONSTEXPR auto apply_visitor(
V && v,
S1 && s1,
S2 && s2
)
function for_each
template <typename V ,
typename S >
VISIT_STRUCT_CXX14_CONSTEXPR auto for_each(
S && s,
V && v
)
function for_each
template <typename S1 ,
typename S2 ,
typename V >
VISIT_STRUCT_CXX14_CONSTEXPR auto for_each(
S1 && s1,
S2 && s2,
V && v
)
function visit_types
template <typename S ,
typename V >
VISIT_STRUCT_CXX14_CONSTEXPR auto visit_types(
V && v
)
function visit_pointers
template <typename S ,
typename V >
VISIT_STRUCT_CXX14_CONSTEXPR auto visit_pointers(
V && v
)
function visit_accessors
template <typename S ,
typename V >
VISIT_STRUCT_CXX14_CONSTEXPR auto visit_accessors(
V && v
)
function apply_visitor
template <typename S ,
typename V >
VISIT_STRUCT_CXX14_CONSTEXPR auto apply_visitor(
V && v
)
function get
template <int idx,
typename S >
VISIT_STRUCT_CONSTEXPR auto get(
S && s
)
function get_name
template <int idx,
typename S >
VISIT_STRUCT_CONSTEXPR auto get_name()
function get_name
template <int idx,
typename S >
VISIT_STRUCT_CONSTEXPR auto get_name(
S &&
)
function get_pointer
template <int idx,
typename S >
VISIT_STRUCT_CONSTEXPR auto get_pointer()
function get_pointer
template <int idx,
typename S >
VISIT_STRUCT_CONSTEXPR auto get_pointer(
S &&
)
function get_accessor
template <int idx,
typename S >
VISIT_STRUCT_CONSTEXPR auto get_accessor()
function get_accessor
template <int idx,
typename S >
VISIT_STRUCT_CONSTEXPR auto get_accessor(
S &&
)
function get_name
template <typename S >
VISIT_STRUCT_CONSTEXPR auto get_name()
function get_name
template <typename S >
VISIT_STRUCT_CONSTEXPR auto get_name(
S &&
)
Attributes Documentation
variable max_visitable_members
static VISIT_STRUCT_CONSTEXPR const int max_visitable_members = 69;
Updated on 2022-04-05 at 16:21:26 +0200