ug4
|
#include <multi_index.h>
Public Types | |
typedef size_t | single_index_type |
Public Member Functions | |
MultiIndex () | |
Default constructor. More... | |
MultiIndex (single_index_type a, single_index_type b, single_index_type c) | |
Constructor with values. More... | |
bool | operator!= (const MultiIndex &o) const |
bool | operator== (const MultiIndex &o) const |
comparison operator More... | |
single_index_type & | operator[] (size_t i) |
access to index component More... | |
const single_index_type & | operator[] (size_t i) const |
const access to index component More... | |
size_t | size () const |
number of indices in multi index More... | |
Private Attributes | |
single_index_type | m_indices [3] |
typedef size_t ug::MultiIndex< 3, size_t >::single_index_type |
|
inline |
Default constructor.
|
inline |
Constructor with values.
References ug::MultiIndex< N, TSingleIndexType >::m_indices.
|
inline |
|
inline |
comparison operator
References ug::MultiIndex< N, TSingleIndexType >::m_indices.
|
inline |
access to index component
References ug::MultiIndex< N, TSingleIndexType >::m_indices, and UG_ASSERT.
|
inline |
const access to index component
References ug::MultiIndex< N, TSingleIndexType >::m_indices, and UG_ASSERT.
|
inline |
number of indices in multi index
|
private |