Loading...
Searching...
No Matches
nmapIteration Class Reference
Inheritance diagram for nmapIteration:
iteration iterable iterable

Public Member Functions

 nmapIteration (tnmap &own, const K *key, nbool isReversed)
 
nbool isEnd () const override
 
void rel () override
 
ncnt stepForward (ncnt step) override
 
ncnt stepBackward (ncnt step) override
 
const K * getKey () const override
 
V * getVal () override
 
void setVal (const V &new1) override
 
tbicontainable< K, V > * getContainer () override
 
- Public Member Functions inherited from iteration
 iteration (nbool isReversed)
 
nbool isFrom (const tbicontainable &rhs) const override
 
nbool isReversed () const override
 
 iteration (nbool isReversed)
 
nbool isFrom (const tucontainable &rhs) const override
 
nbool isReversed () const override
 
virtual nbool isFrom (const tbicontainable &it) const=0
 
nbool isFrom (const tbicontainable *it) const BY_SIDE_FUNC(isFrom)
 
nbool isFrom (const tucontainable *it) const BY_SIDE_FUNC(isFrom)
 
virtual nbool isFrom (const tbicontainable &it) const=0
 
nbool isFrom (const tbicontainable *it) const BY_SIDE_FUNC(isFrom)
 
nbool isFrom (const tucontainable *it) const BY_SIDE_FUNC(isFrom)
 
- Public Member Functions inherited from iterable
virtual ncnt next (ncnt step)
 
virtual ncnt prev (ncnt step)
 
const V * getVal () const BY_CONST_FUNC(getVal()) virtual void setVal(const V &new Val)=0
 
void setVal (const V *it) BY_SIDE_FUNC(setVal)
 
nbool isFrom (const tbicontainable *it) const BY_SIDE_FUNC(isFrom)
 
virtual RSquare operator* ()=0
 
const RSquare operator* () const BY_CONST_FUNC(operator*()) virtual nbool isEnd() const =0
 
virtual ncnt next (ncnt step)
 
virtual ncnt prev (ncnt step)
 
virtual R get ()=0
 
const R get () const BY_CONST_FUNC(get()) virtual nbool isFrom(const tucontainable &it) const =0
 
nbool isFrom (const tucontainable *it) const BY_SIDE_FUNC(isFrom)
 

Protected Member Functions

nbool _onSame (const typeProvidable &rhs) const override
 

Friends

class tnmap
 

Additional Inherited Members

- Protected Types inherited from iterable
enum  iterationType {
  NEXT , PREV , FORWARD , BACKWARD ,
  NEXT , PREV , FORWARD , BACKWARD
}
 
enum  iterationType {
  NEXT , PREV , FORWARD , BACKWARD ,
  NEXT , PREV , FORWARD , BACKWARD
}
 

Member Function Documentation

◆ getContainer()

tbicontainable< K, V > * nmapIteration::getContainer ( )
inlineoverridevirtual

Implements iterable.

◆ getKey()

const K * nmapIteration::getKey ( ) const
inlineoverridevirtual

Implements iterable.

◆ getVal()

V * nmapIteration::getVal ( )
inlineoverridevirtual

Implements iterable.

◆ isEnd()

nbool nmapIteration::isEnd ( ) const
inlineoverridevirtual

Implements iterable.

◆ rel()

void nmapIteration::rel ( )
inlineoverridevirtual

Implements iterable.

◆ stepBackward()

ncnt nmapIteration::stepBackward ( ncnt step)
inlineoverridevirtual

Implements iterable.

◆ stepForward()

ncnt nmapIteration::stepForward ( ncnt step)
inlineoverridevirtual

if iteration reached to the last element to iterate, it can precede to next, which means to the End of a buffer. however, this step wasn't regarded to a step even though it proceeds.

Implements iterable.


The documentation for this class was generated from the following file:
to Top