OpenKalman
Static Public Member Functions | Static Public Attributes | List of all members
OpenKalman::interface::pass_through_object_traits< Object, Nested > Struct Template Reference

Pass-through object traits. More...

#include <pass_through_interface.hpp>

Static Public Member Functions

template<typename T , bool Enable = true, std::enable_if_t< Enable and get_constant_defined_for< Nested >, int > = 0>
static constexpr auto get_constant (T &&t)
 

Static Public Attributes

static constexpr auto get_mdspan
 
static constexpr auto get_pattern_collection
 
static constexpr triangle_type triangle_type_value = triangle_type_of_v<Nested>
 
static constexpr auto nested_object
 
template<applicability b>
static constexpr bool is_square = square_shaped<Nested, 2, b>
 
static constexpr bool is_triangular_adapter = false
 
static constexpr bool is_hermitian = hermitian_matrix<Nested>
 
static constexpr HermitianAdapterType hermitian_adapter_type = hermitian_adapter_type_of_v<Nested>
 

Detailed Description

template<typename Object, typename Nested>
struct OpenKalman::interface::pass_through_object_traits< Object, Nested >

Pass-through object traits.

This is a base class that simply passes through all object traits to a nested class interface. The object must have a nested_object member function.

Member Data Documentation

◆ get_mdspan

template<typename Object, typename Nested>
constexpr auto OpenKalman::interface::pass_through_object_traits< Object, Nested >::get_mdspan
static
Initial value:
= [](auto&& t) -> decltype(auto)
{
assert_valid_arg_type(t);
return OpenKalman::get_mdspan(std::forward<decltype(t)>(t).nested_object());
}

◆ get_pattern_collection

template<typename Object, typename Nested>
constexpr auto OpenKalman::interface::pass_through_object_traits< Object, Nested >::get_pattern_collection
static
Initial value:
= [](auto&& t) -> decltype(auto)
{
assert_valid_arg_type(t);
return OpenKalman::get_pattern_collection(std::forward<decltype(t)>(t).nested_object());
}

◆ nested_object

template<typename Object, typename Nested>
constexpr auto OpenKalman::interface::pass_through_object_traits< Object, Nested >::nested_object
static
Initial value:
= [](auto&& t) -> decltype(auto)
{
assert_valid_arg_type(t);
return std::forward<decltype(t)>(t).nested_object();
}

The documentation for this struct was generated from the following file: