Chain iteration implementation
더 자세히 ...
#include <nchainIteration.hpp>
|
|
| nchainIteration (tnchain *iteratingChain, const K *key, nbool isReversed) |
| |
|
| nchainIteration (tnchain *iteratingChain, const K *key, nbool isReversed, nbool isBoundary, nbool isAutoAdvance) |
| |
| nbool | isEnd () const override |
| |
| void | rel () override |
| |
|
nbool | isBoundary () const |
| |
| ncnt | next (ncnt step) override |
| |
| ncnt | prev (ncnt step) override |
| |
| ncnt | stepForward (ncnt step) override |
| |
| ncnt | stepBackward (ncnt step) override |
| |
| tbicontainable< K, V > * | getContainer () override |
| |
| const K * | getKey () const override |
| |
| V * | getVal () override |
| |
|
void | setVal (const V &new1) override |
| |
|
| 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) |
| |
|
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 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) |
| |
|
|
nbool | _onSame (const typeProvidable &rhs) const override |
| |
|
| enum | iterationType {
NEXT
, PREV
, FORWARD
, BACKWARD
,
NEXT
, PREV
, FORWARD
, BACKWARD
} |
| |
| enum | iterationType {
NEXT
, PREV
, FORWARD
, BACKWARD
,
NEXT
, PREV
, FORWARD
, BACKWARD
} |
| |
Chain iteration implementation
Concrete iteration implementation for chained container structures. nested class of tnchain.hpp: this file allows to be refered by 'tnchain.hpp' file only.
◆ getContainer()
| tbicontainable< K, V > * nchainIteration::getContainer |
( |
| ) |
|
|
inlineoverridevirtual |
◆ getKey()
| const K * nchainIteration::getKey |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getVal()
| V * nchainIteration::getVal |
( |
| ) |
|
|
inlineoverridevirtual |
◆ isEnd()
| nbool nchainIteration::isEnd |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ next()
| ncnt nchainIteration::next |
( |
ncnt | step | ) |
|
|
inlineoverridevirtual |
proceed iteration obj to point next element by given step.
- 매개변수
-
| step | how much it proceeds. positive value only. |
- 반환값
- how many step it proceeded. if it tries to proceed further when it reached to End() it won't be counted as returning value. it'll return '0' if it already reached to the end.
iterable(으)로부터 재구현되었습니다.
◆ prev()
| ncnt nchainIteration::prev |
( |
ncnt | step | ) |
|
|
inlineoverridevirtual |
◆ rel()
| void nchainIteration::rel |
( |
| ) |
|
|
inlineoverridevirtual |
◆ stepBackward()
| ncnt nchainIteration::stepBackward |
( |
ncnt | step | ) |
|
|
inlineoverridevirtual |
◆ stepForward()
| ncnt nchainIteration::stepForward |
( |
ncnt | step | ) |
|
|
inlineoverridevirtual |
이 클래스에 대한 문서화 페이지는 다음의 파일로부터 생성되었습니다.: