Structure to enable the use of the dim_traits class for std::vector.
More...
#include <mia/core/traits.hh>
Structure to enable the use of the dim_traits class for std::vector.
Definition at line 45 of file traits.hh.
◆ vector_dimsize() [1/2]
vector_dimsize::vector_dimsize |
( |
| ) |
|
|
inline |
contruct the dimsize object
Definition at line 48 of file traits.hh.
◆ vector_dimsize() [2/2]
vector_dimsize::vector_dimsize |
( |
size_t |
n | ) |
|
|
inline |
contruct the dimsize object
Definition at line 52 of file traits.hh.
◆ operator[]() [1/2]
size_t& vector_dimsize::operator[] |
( |
int |
| ) |
|
|
inline |
return a read-write reference to the first (and only)dimension
Definition at line 61 of file traits.hh.
◆ operator[]() [2/2]
const size_t& vector_dimsize::operator[] |
( |
int |
| ) |
const |
|
inline |
return a read-only reference to the first (and only)dimension
Definition at line 67 of file traits.hh.
References NS_MIA_END.
◆ size()
size_t vector_dimsize::size |
( |
| ) |
|
|
inline |
- Returns
- the dimension 1 as dimension of this vector
Definition at line 56 of file traits.hh.
The documentation for this struct was generated from the following file: