![]() |
CNORXZ
Container with Native Operation Routines and Expressions
|
#include <index_format.h>
Public Types | |
| typedef Arr< UPos, N > | InputType |
Public Member Functions | |
| SP_DEFAULT_MEMBERS (constexpr, MFormat) | |
| constexpr | MFormat (const Arr< UPos, N > &b) |
| template<class FormatT > | |
| constexpr | MFormat (const FormatT &f) |
| const Arr< UPos, N > & | all () const |
| constexpr decltype(auto) | size () const |
| template<SizeT I> | |
| constexpr decltype(auto) | get (CSizeT< I > i) const |
| template<SizeT I> | |
| constexpr decltype(auto) | operator[] (CSizeT< I > i) const |
| template<SizeT I> | |
| constexpr decltype(auto) | get (CSizeT< I > i) const |
| template<SizeT I> | |
| constexpr decltype(auto) | operator[] (CSizeT< I > i) const |
Multi index format of static size. Wrapper of standard array of UPos.
| N | Format size |
Definition at line 31 of file index_format.h.
| typedef Arr<UPos,N> CNORXZ::MFormat< N >::InputType |
Definition at line 34 of file index_format.h.
|
explicitconstexpr |
Construct MFormat from standard array.
| b | Input array |
Definition at line 24 of file index_format.cc.h.
|
constexpr |
Construct MFormat from format of arbitrary type. The input format size has to match the static size N.
| f | Input format |
Definition at line 30 of file index_format.cc.h.
| const Arr< UPos, N > & CNORXZ::MFormat< N >::all | ( | ) | const |
Get underlying array.
Definition at line 37 of file index_format.cc.h.
|
constexpr |
Definition at line 50 of file index_format.cc.h.
|
constexpr |
Get format element.
| i | CSizeT indicating static element position |
|
constexpr |
Definition at line 57 of file index_format.cc.h.
|
constexpr |
Get format element.
| i | CSizeT indicating static element position |
|
constexpr |
Get format size.
Definition at line 43 of file index_format.cc.h.
| CNORXZ::MFormat< N >::SP_DEFAULT_MEMBERS | ( | constexpr | , |
| MFormat< N > | ) |
default constructors and assignments