ug4
|
#include <multi_index.h>
Public Types | |
typedef TSingleIndexType | single_index_type |
Public Member Functions | |
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 [N] |
A MultiIndex is just a vector of integers.
typedef TSingleIndexType ug::MultiIndex< N, TSingleIndexType >::single_index_type |
|
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 |
Referenced by ug::MultiIndex< 2, size_t >::MultiIndex(), ug::MultiIndex< 3, size_t >::MultiIndex(), ug::MultiIndex< 2, size_t >::operator!=(), ug::MultiIndex< 2, size_t >::operator<(), ug::MultiIndex< N, TSingleIndexType >::operator==(), ug::MultiIndex< 1, size_t >::operator==(), ug::MultiIndex< 2, size_t >::operator==(), ug::MultiIndex< 3, size_t >::operator==(), ug::MultiIndex< 2, size_t >::operator>(), ug::MultiIndex< N, TSingleIndexType >::operator[](), ug::MultiIndex< 1, size_t >::operator[](), ug::MultiIndex< 2, size_t >::operator[](), and ug::MultiIndex< 3, size_t >::operator[]().