DGtal 1.3.0
|
Public Member Functions | |
CodeHandler () | |
void | init (const TIterator &it) |
Code | getCode (Index n) const |
Code | getCode (Index n) |
Private Attributes | |
std::vector< Code > | myCodes |
TIterator | myIter |
CodeHandler encapsulates an iterator in order to provide constant time access to the codes previously read.
TIterator | an iterator on the codes. |
iterator_type | the type of iterations services provided by TIterator. |
Definition at line 128 of file OneBalancedWordComputer.h.
|
inline |
Definition at line 131 of file OneBalancedWordComputer.h.
|
inline |
Definition at line 143 of file OneBalancedWordComputer.h.
References DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::CodeHandler< TIterator, iterator_type >::myCodes, and DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::CodeHandler< TIterator, iterator_type >::myIter.
|
inline |
Definition at line 138 of file OneBalancedWordComputer.h.
References DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::CodeHandler< TIterator, iterator_type >::myCodes.
|
inline |
Definition at line 133 of file OneBalancedWordComputer.h.
References DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::CodeHandler< TIterator, iterator_type >::myIter.
|
private |
Definition at line 154 of file OneBalancedWordComputer.h.
Referenced by DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::CodeHandler< TIterator, iterator_type >::getCode().
|
private |
Definition at line 155 of file OneBalancedWordComputer.h.
Referenced by DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::CodeHandler< TIterator, iterator_type >::getCode(), DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::CodeHandler< TIterator, RandomAccessCategory >::getCode(), DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::CodeHandler< TIterator, iterator_type >::init(), and DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::CodeHandler< TIterator, RandomAccessCategory >::init().