CAPD RedHom Library
EuclBitSetT< P_BitSet, dim >::BitCoordIterator< P_BitSet, dim > Class Template Reference

#include <capd/bitSet/EuclBitSet_BitCoordIterator.h>

Public Member Functions

bool findPoint ()
 
 BitCoordIterator (const EuclBitSetT &s)
 
 BitCoordIterator (const EuclBitSetT &s, const BitCoordIterator &A_it)
 
 BitCoordIterator (const EuclBitSetT &s, const int *A_coord)
 
 BitCoordIterator (const EuclBitSetT &s, const Pixel &p)
 
 BitCoordIterator (const EuclBitSetT &s, Word pos)
 
 BitCoordIterator (const BitIterator &A_it)
 
 BitCoordIterator ()
 
template<typename P_CubSetIndex >
 BitCoordIterator (const EuclBitSetT &A_set, const P_CubSetIndex &A_index)
 
bool odd (int i)
 
BitCoordIteratordecInDir (int i)
 
BitCoordIteratorincInDir (int i)
 
BitCoordIteratoroperator++ ()
 
BitCoordIteratoroperator-- ()
 
int operator[] (int j) const
 
const int * coords () const
 
int ownDim () const
 
int embDim () const
 
Pixel operator* ()
 
bool inSpace ()
 
std::string toString ()
 
const EuclBitSetT< P_BitSet, dim > * baseEuclBitSet () const
 
void decInDir (int i, int n)
 
void incInDir (int i, int n)
 
void getCoords (int *coord) const
 

Protected Member Functions

bool incCoord ()
 
bool decCoord ()
 
bool incCoord (int n)
 

Protected Attributes

int coord [dim]
 

Static Protected Attributes

static const int bitsPerWord = 8*sizeof(typename EuclBitSetT<P_BitSet,dim>::Word)
 

Friends

class EuclBitSetT< P_BitSet, dim >
 
std::ostream & operator<< (std::ostream &out, const BitCoordIterator &A_it)
 

Constructor & Destructor Documentation

template<typename P_BitSet, int dim>
template<typename P_BitSet , int dim>
EuclBitSetT< P_BitSet, dim >::BitCoordIterator< P_BitSet, dim >::BitCoordIterator ( const EuclBitSetT s)
inline
template<typename P_BitSet, int dim>
template<typename P_BitSet , int dim>
EuclBitSetT< P_BitSet, dim >::BitCoordIterator< P_BitSet, dim >::BitCoordIterator ( const EuclBitSetT s,
const BitCoordIterator< P_BitSet, dim > &  A_it 
)
inline
template<typename P_BitSet, int dim>
template<typename P_BitSet , int dim>
EuclBitSetT< P_BitSet, dim >::BitCoordIterator< P_BitSet, dim >::BitCoordIterator ( const EuclBitSetT s,
const int *  A_coord 
)
inline
template<typename P_BitSet, int dim>
template<typename P_BitSet , int dim>
EuclBitSetT< P_BitSet, dim >::BitCoordIterator< P_BitSet, dim >::BitCoordIterator ( const EuclBitSetT s,
const Pixel p 
)
inline
template<typename P_BitSet, int dim>
template<typename P_BitSet , int dim>
EuclBitSetT< P_BitSet, dim >::BitCoordIterator< P_BitSet, dim >::BitCoordIterator ( const EuclBitSetT s,
Word  pos 
)
inline
template<typename P_BitSet, int dim>
template<typename P_BitSet , int dim>
EuclBitSetT< P_BitSet, dim >::BitCoordIterator< P_BitSet, dim >::BitCoordIterator ( const BitIterator A_it)
inline
template<typename P_BitSet, int dim>
template<typename P_BitSet , int dim>
EuclBitSetT< P_BitSet, dim >::BitCoordIterator< P_BitSet, dim >::BitCoordIterator ( )
inline
template<typename P_BitSet, int dim>
template<typename P_BitSet , int dim>
template<typename P_CubSetIndex >
EuclBitSetT< P_BitSet, dim >::BitCoordIterator< P_BitSet, dim >::BitCoordIterator ( const EuclBitSetT A_set,
const P_CubSetIndex &  A_index 
)
inline

Member Function Documentation

template<typename P_BitSet, int dim>
template<typename P_BitSet , int dim>
const EuclBitSetT<P_BitSet,dim>* EuclBitSetT< P_BitSet, dim >::BitIterator< P_BitSet, dim >::baseEuclBitSet ( ) const
inlineinherited
template<typename P_BitSet, int dim>
template<typename P_BitSet , int dim>
const int* EuclBitSetT< P_BitSet, dim >::BitCoordIterator< P_BitSet, dim >::coords ( ) const
inline
template<typename P_BitSet, int dim>
template<typename P_BitSet , int dim>
bool EuclBitSetT< P_BitSet, dim >::BitCoordIterator< P_BitSet, dim >::decCoord ( )
inlineprotected
template<typename P_BitSet, int dim>
template<typename P_BitSet , int dim>
void EuclBitSetT< P_BitSet, dim >::BitIterator< P_BitSet, dim >::decInDir ( int  i,
int  n 
)
inlineinherited
template<typename P_BitSet, int dim>
template<typename P_BitSet , int dim>
BitCoordIterator& EuclBitSetT< P_BitSet, dim >::BitCoordIterator< P_BitSet, dim >::decInDir ( int  i)
inline
template<typename P_BitSet, int dim>
template<typename P_BitSet , int dim>
int EuclBitSetT< P_BitSet, dim >::BitCoordIterator< P_BitSet, dim >::embDim ( ) const
inline
template<typename P_BitSet, int dim>
template<typename P_BitSet , int dim>
bool EuclBitSetT< P_BitSet, dim >::BitCoordIterator< P_BitSet, dim >::findPoint ( )
inline
template<typename P_BitSet, int dim>
template<typename P_BitSet , int dim>
void EuclBitSetT< P_BitSet, dim >::BitIterator< P_BitSet, dim >::getCoords ( int *  coord) const
inlineinherited
template<typename P_BitSet, int dim>
template<typename P_BitSet , int dim>
bool EuclBitSetT< P_BitSet, dim >::BitCoordIterator< P_BitSet, dim >::incCoord ( )
inlineprotected
template<typename P_BitSet, int dim>
template<typename P_BitSet , int dim>
bool EuclBitSetT< P_BitSet, dim >::BitCoordIterator< P_BitSet, dim >::incCoord ( int  n)
inlineprotected
template<typename P_BitSet, int dim>
template<typename P_BitSet , int dim>
void EuclBitSetT< P_BitSet, dim >::BitIterator< P_BitSet, dim >::incInDir ( int  i,
int  n 
)
inlineinherited
template<typename P_BitSet, int dim>
template<typename P_BitSet , int dim>
BitCoordIterator& EuclBitSetT< P_BitSet, dim >::BitCoordIterator< P_BitSet, dim >::incInDir ( int  i)
inline
template<typename P_BitSet, int dim>
template<typename P_BitSet , int dim>
bool EuclBitSetT< P_BitSet, dim >::BitCoordIterator< P_BitSet, dim >::inSpace ( )
inline
template<typename P_BitSet, int dim>
template<typename P_BitSet , int dim>
bool EuclBitSetT< P_BitSet, dim >::BitCoordIterator< P_BitSet, dim >::odd ( int  i)
inline
template<typename P_BitSet, int dim>
template<typename P_BitSet , int dim>
Pixel EuclBitSetT< P_BitSet, dim >::BitCoordIterator< P_BitSet, dim >::operator* ( )
inline
template<typename P_BitSet, int dim>
template<typename P_BitSet , int dim>
BitCoordIterator& EuclBitSetT< P_BitSet, dim >::BitCoordIterator< P_BitSet, dim >::operator++ ( )
inline
template<typename P_BitSet, int dim>
template<typename P_BitSet , int dim>
BitCoordIterator& EuclBitSetT< P_BitSet, dim >::BitCoordIterator< P_BitSet, dim >::operator-- ( )
inline
template<typename P_BitSet, int dim>
template<typename P_BitSet , int dim>
int EuclBitSetT< P_BitSet, dim >::BitCoordIterator< P_BitSet, dim >::operator[] ( int  j) const
inline
template<typename P_BitSet, int dim>
template<typename P_BitSet , int dim>
int EuclBitSetT< P_BitSet, dim >::BitCoordIterator< P_BitSet, dim >::ownDim ( ) const
inline
template<typename P_BitSet, int dim>
template<typename P_BitSet , int dim>
std::string EuclBitSetT< P_BitSet, dim >::BitCoordIterator< P_BitSet, dim >::toString ( )
inline

Friends And Related Function Documentation

template<typename P_BitSet, int dim>
template<typename P_BitSet , int dim>
friend class EuclBitSetT< P_BitSet, dim >
friend
template<typename P_BitSet, int dim>
template<typename P_BitSet , int dim>
std::ostream& operator<< ( std::ostream &  out,
const BitCoordIterator< P_BitSet, dim > &  A_it 
)
friend

Member Data Documentation

template<typename P_BitSet, int dim>
template<typename P_BitSet , int dim>
const int EuclBitSetT< P_BitSet, dim >::BitCoordIterator< P_BitSet, dim >::bitsPerWord = 8*sizeof(typename EuclBitSetT<P_BitSet,dim>::Word)
staticprotected
template<typename P_BitSet, int dim>
template<typename P_BitSet , int dim>
int EuclBitSetT< P_BitSet, dim >::BitCoordIterator< P_BitSet, dim >::coord[dim]
protected