ug4
ug::Raster< T, TDIM >::MultiIndex Class Reference

#include <raster.h>

Public Member Functions

int dim () const
 
 MultiIndex ()
 
 MultiIndex (size_t i)
 
size_t & operator[] (int d)
 
size_t operator[] (int d) const
 
void set (size_t i)
 

Private Attributes

size_t m_ind [TDIM]
 

Friends

std::ostream & operator<< (std::ostream &o, const MultiIndex &mi)
 

Constructor & Destructor Documentation

◆ MultiIndex() [1/2]

template<class T , int TDIM>
ug::Raster< T, TDIM >::MultiIndex::MultiIndex

◆ MultiIndex() [2/2]

template<class T , int TDIM>
ug::Raster< T, TDIM >::MultiIndex::MultiIndex ( size_t  i)

Member Function Documentation

◆ dim()

template<class T , int TDIM>
int ug::Raster< T, TDIM >::MultiIndex::dim

◆ operator[]() [1/2]

template<class T , int TDIM>
size_t & ug::Raster< T, TDIM >::MultiIndex::operator[] ( int  d)

◆ operator[]() [2/2]

template<class T , int TDIM>
size_t ug::Raster< T, TDIM >::MultiIndex::operator[] ( int  d) const

◆ set()

template<class T , int TDIM>
void ug::Raster< T, TDIM >::MultiIndex::set ( size_t  i)

Friends And Related Function Documentation

◆ operator<<

template<class T , int TDIM>
std::ostream& operator<< ( std::ostream &  o,
const MultiIndex mi 
)
friend

Member Data Documentation

◆ m_ind

template<class T , int TDIM>
size_t ug::Raster< T, TDIM >::MultiIndex::m_ind[TDIM]
private

The documentation for this class was generated from the following files: