|
OpenKalman
|
An adapter that attaches a pattern_collection to an indexible object. More...
#include <pattern_adapter.hpp>


Public Member Functions | |
| template<typename Arg , typename P , std::enable_if_t< stdex::constructible_from< Nested, Arg &&> and stdex::constructible_from< PatternCollection, P &&>, int > = 0> | |
| constexpr | pattern_adapter (Arg &&arg, P &&p) |
| Construct from an indexible object and a pattern_collection. | |
| constexpr | pattern_adapter ()=default |
| Default constructor. | |
| constexpr PatternCollection & | pattern_collection () & |
| Get the associated pattern_collection. | |
| constexpr const PatternCollection & | pattern_collection () const & |
| constexpr PatternCollection && | pattern_collection () && |
| constexpr const PatternCollection && | pattern_collection () const && |
Public Member Functions inherited from OpenKalman::internal::AdapterBase< pattern_adapter< Nested, PatternCollection >, Nested > | |
| constexpr | AdapterBase ()=default |
| Default constructor. | |
| constexpr | AdapterBase (Arg &&arg) |
| Construct from the nested type. | |
| constexpr Nested & | nested_object () & |
| Get the nested object. | |
| constexpr const Nested & | nested_object () const & |
| constexpr Nested && | nested_object () && |
| constexpr const Nested && | nested_object () const && |
| decltype(auto) constexpr | operator[] (I &&...i) & |
| Access a component using a collection or pack of indices. | |
| decltype(auto) constexpr | operator[] (I &&...i) const & |
| decltype(auto) constexpr | operator[] (I &&...i) && |
| decltype(auto) constexpr | operator[] (I &&...i) const && |
An adapter that attaches a pattern_collection to an indexible object.
Any vector space descriptors associated with the nested object are effectively overwritten. The adapter can be owning or non-owning, depending on whether Nested is an lvalue reference.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
1.8.13