|
using | type = T2 |
|
template<typename Data_T > |
using | base_t = typename decltype(struct_maker< Data_T >())::type |
|
|
template<typename T > |
static constexpr auto | struct_maker () |
|
template<typename T > |
static constexpr decltype(auto) | get (T &t) |
|
template<typename T > |
static constexpr decltype(auto) | get (const T &t) |
|
template<typename T > |
static constexpr decltype(auto) | get_value (const T &t) |
|
template<typename T > |
static constexpr decltype(auto) | get_value (T &t) |
|
static constexpr auto | get_name () |
|
template<typename T2>
struct nt::ax_name_container_base< T2 >
Definition at line 296 of file ntuples_full.h.
◆ base_t
using base_t = typename decltype(struct_maker<Data_T>())::type |
◆ type
◆ get() [1/2]
static constexpr decltype(auto) get |
( |
const T & |
t | ) |
|
|
inlinestaticconstexpr |
Definition at line 325 of file ntuples_full.h.
326 {
327 using getter1 = decltype(std::declval<type>()(std::declval<type_wrap<const T&, c_getter1>>()));
328 return getter1::get(t);
329 }
◆ get() [2/2]
static constexpr decltype(auto) get |
( |
T & |
t | ) |
|
|
inlinestaticconstexpr |
Definition at line 318 of file ntuples_full.h.
319 {
320 using getter1 = decltype(std::declval<type>()(std::declval<type_wrap<T&, c_getter1>>()));
321 return getter1::get(t);
322 }
◆ get_name()
static constexpr auto get_name |
( |
| ) |
|
|
inlinestaticconstexpr |
Definition at line 342 of file ntuples_full.h.
343 {
344 using name_getter = decltype(std::declval<type>()(std::declval<type_wrap<int, c_get_name>>()));
345 return name_getter::get_name();
346 }
◆ get_value() [1/2]
static constexpr decltype(auto) get_value |
( |
const T & |
t | ) |
|
|
inlinestaticconstexpr |
Definition at line 331 of file ntuples_full.h.
332 {
333 return ax_name_container_base::get(t).v;
334 }
◆ get_value() [2/2]
static constexpr decltype(auto) get_value |
( |
T & |
t | ) |
|
|
inlinestaticconstexpr |
Definition at line 337 of file ntuples_full.h.
338 {
339 return ax_name_container_base::get(t).v;
340 }
◆ struct_maker()
static constexpr auto struct_maker |
( |
| ) |
|
|
inlinestaticconstexpr |
Definition at line 309 of file ntuples_full.h.
310 {
311 return decltype(std::declval<type>()(std::declval<type_wrap<T, c_struct_maker>>())) {};
312 }
◆ c_get_name
constexpr int c_get_name = 2 |
|
staticconstexprinherited |
◆ c_getter1
constexpr int c_getter1 = 1 |
|
staticconstexprinherited |
◆ c_struct_maker
constexpr int c_struct_maker = 0 |
|
staticconstexprinherited |
The documentation for this struct was generated from the following file: