로딩중...
검색중...
일치하는것 없음
iter 클래스 참조

Bidirectional iterator for key-value containers 더 자세히 ...

#include <biter.hpp>

iter에 대한 상속 다이어그램 :
iterable iterable

Public 멤버 함수

 iter (iteration *newStep)
 
 iter (const me &rhs)
 
me operator+ (ncnt step)
 
me & operator++ ()
 
me operator++ (int)
 
me & operator+= (ncnt step)
 
V & operator* ()
 
V * operator-> ()
 
const V & operator* () const BY_CONST_FUNC(operator*()) const V *operator->() const BY_CONST_FUNC(operator->()) me &operator=(const me &rhs)
 
 operator nbool () const
 
nbool isReversed () const override
 
void rel () override
 
nbool isFrom (const tbicontainable &it) const override
 
nbool isEnd () const override
 
ncnt next (ncnt step) override
 
ncnt prev (ncnt step) override
 
ncnt stepForward (ncnt step) override
 
ncnt stepBackward (ncnt step) override
 
const K * getKey () const override
 
template<typename E >
const E * getKey () const
 
V * getVal () override
 
template<typename E >
E * getVal ()
 
void setVal (const V &new1) override
 
tbicontainable< K, V > * getContainer () override
 
 iter (iteration *newStep)
 
 iter (const me &rhs)
 
me operator+ (ncnt step)
 
me & operator++ ()
 
me operator++ (int)
 
me & operator+= (ncnt step)
 
RSquare operator* () override
 
std::remove_reference< R >::type operator-> ()
 
const std::remove_reference< R >::type operator-> () const BY_CONST_FUNC(operator->()) me &operator=(const me &rhs)
 
 operator nbool () const
 
nbool isReversed () const override
 
void rel () override
 
nbool isFrom (const tucontainable &it) const override
 
nbool isEnd () const override
 
ncnt next (ncnt step) override
 
ncnt prev (ncnt step) override
 
ncnt stepForward (ncnt step) override
 
ncnt stepBackward (ncnt step) override
 
get () override
 
template<typename E >
E * get ()
 
tucontainable< T, R, RSquare > * getContainer () override
 
const tucontainable< T, R, RSquare > *getContainer() const BY_CONST_FUNC(getContainer()) private nbool _onSame (const typeProvidable &rhs) const override
 
void _nextToMatchParamType (typename iterable::iterationType type)
 
ncnt _step (typename iterable::iterationType type, ncnt step)
 
ncnt _iterate (typename iterable::iterationType type, ncnt step)
 
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 V * getVal ()=0
 
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)
 
virtual tbicontainable< K, V > * getContainer ()=0
 
virtual tucontainable< T, R, RSquare > * getContainer ()=0
 
virtual RSquare operator* ()=0
 
const RSquare operator* () const BY_CONST_FUNC(operator*()) virtual nbool isEnd() const=0
 
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 R get ()=0
 
const R get () const BY_CONST_FUNC(get()) virtual nbool isFrom(const tucontainable &it) const=0
 
- iterable(으)로부터 상속된 Public 멤버 함수
void setVal (const V *it) BY_SIDE_FUNC(setVal)
 
nbool isFrom (const tbicontainable *it) const BY_SIDE_FUNC(isFrom)
 
nbool isFrom (const tucontainable *it) const BY_SIDE_FUNC(isFrom)
 

Protected 속성

tstr< iteration_iteration
 

Friends

template<typename K1 , typename V1 , typename defaultContainer1 >
class tnchain
 
template<typename K1 , typename V1 , typename TACTIC >
class tnmap
 
class iteration
 
template<typename E , typename TACTIC >
class tnarr
 
template<typename K , typename V , typename defaultContainer >
class tnchain
 

추가로 상속된 멤버들

- iterable(으)로부터 상속된 Protected 타입
enum  iterationType {
  NEXT , PREV , FORWARD , BACKWARD ,
  NEXT , PREV , FORWARD , BACKWARD
}
 
enum  iterationType {
  NEXT , PREV , FORWARD , BACKWARD ,
  NEXT , PREV , FORWARD , BACKWARD
}
 

상세한 설명

Bidirectional iterator for key-value containers

Unidirectional iterator for sequence containers

Iterator implementation for bidirectional containers with key-value pair access. nested class of tbicontainable.hpp: this file allows to be refered by 'tbicontainable.hpp' file only.

Iterator implementation for unidirectional containers with element access. nested class of tucontainable.hpp: this file allows to be refered by 'tucontainable.hpp' file only.

멤버 함수 문서화

◆ _nextToMatchParamType()

void iter::_nextToMatchParamType ( typename iterable::iterationType type)

iterates until points to object of compatible type to given parameterized type T. iter should be alwyas stable state which points to object of proper type.

◆ get() [1/4]

template<typename E >
E * iter::get ( )
inlinevirtual

iterable를 구현.

◆ get() [2/4]

const R iterable::get ( ) const &
virtual

iterable를 구현.

◆ get() [3/4]

R iter::get ( )
overridevirtual

iterable를 구현.

◆ get() [4/4]

virtual R iterable::get ( )
virtual

iterable를 구현.

◆ getContainer() [1/4]

tbicontainable< K, V > * iter::getContainer ( )
overridevirtual

iterable를 구현.

◆ getContainer() [2/4]

tucontainable< T, R, RSquare > * iter::getContainer ( )
overridevirtual

iterable를 구현.

◆ getContainer() [3/4]

virtual tbicontainable< K, V > * iterable::getContainer ( )
virtual

iterable를 구현.

◆ getContainer() [4/4]

virtual tucontainable< T, R, RSquare > * iterable::getContainer ( )
virtual

iterable를 구현.

◆ getKey() [1/2]

template<typename E >
const E * iter::getKey ( ) const
inlinevirtual

iterable를 구현.

◆ getKey() [2/2]

const K * iter::getKey ( ) const
overridevirtual

iterable를 구현.

◆ getVal() [1/4]

template<typename E >
E * iter::getVal ( )
inlinevirtual

iterable를 구현.

◆ getVal() [2/4]

const V * iterable::getVal ( ) const &
newvirtual

iterable를 구현.

◆ getVal() [3/4]

V * iter::getVal ( )
overridevirtual

iterable를 구현.

◆ getVal() [4/4]

virtual V * iterable::getVal ( )
virtual

iterable를 구현.

◆ isEnd() [1/2]

nbool iter::isEnd ( ) const
overridevirtual

iterable를 구현.

◆ isEnd() [2/2]

nbool iter::isEnd ( ) const
overridevirtual

iterable를 구현.

◆ isFrom() [1/3]

nbool iter::isFrom ( const tbicontainable & it) const
overridevirtual

iterable를 구현.

◆ isFrom() [2/3]

virtual nbool iterable::isFrom ( const tbicontainable & it) const
virtual

iterable를 구현.

◆ isFrom() [3/3]

virtual nbool iterable::isFrom ( const tbicontainable & it) const
virtual

iterable를 구현.

◆ isReversed() [1/2]

nbool iter::isReversed ( ) const
overridevirtual

iterable를 구현.

◆ isReversed() [2/2]

nbool iter::isReversed ( ) const
overridevirtual

iterable를 구현.

◆ next() [1/2]

ncnt iter::next ( ncnt step)
overridevirtual

proceed iteration obj to point next element by given step.

매개변수
stephow 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(으)로부터 재구현되었습니다.

◆ next() [2/2]

ncnt iter::next ( ncnt step)
overridevirtual

proceed iteration obj to point next element by given step.

매개변수
stephow 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(으)로부터 재구현되었습니다.

◆ operator*() [1/5]

V & iter::operator* ( )
virtual

iterable를 구현.

◆ operator*() [2/5]

const V & iter::operator* ( ) const -> () const BY_CONST_FUNC(operator->()) me &operator=(const me &rhs)
virtual

iterable를 구현.

◆ operator*() [3/5]

const RSquare iterable::operator* ( ) const
virtual

iterable를 구현.

◆ operator*() [4/5]

RSquare iter::operator* ( )
overridevirtual

iterable를 구현.

◆ operator*() [5/5]

virtual RSquare iterable::operator* ( )
virtual

iterable를 구현.

◆ prev() [1/2]

ncnt iter::prev ( ncnt step)
overridevirtual

iterable(으)로부터 재구현되었습니다.

◆ prev() [2/2]

ncnt iter::prev ( ncnt step)
overridevirtual

iterable(으)로부터 재구현되었습니다.

◆ rel() [1/2]

void iter::rel ( )
overridevirtual

once rel(), an iterator enters a state where it can never be reused again.

iterable를 구현.

◆ rel() [2/2]

void iter::rel ( )
overridevirtual

once rel(), an iterator enters a state where it can never be reused again.

iterable를 구현.

◆ stepBackward() [1/2]

ncnt iter::stepBackward ( ncnt step)
overridevirtual

iterable를 구현.

◆ stepBackward() [2/2]

ncnt iter::stepBackward ( ncnt step)
overridevirtual

iterable를 구현.

◆ stepForward() [1/2]

ncnt iter::stepForward ( ncnt step)
overridevirtual

iterable를 구현.

◆ stepForward() [2/2]

ncnt iter::stepForward ( ncnt step)
overridevirtual

iterable를 구현.


이 클래스에 대한 문서화 페이지는 다음의 파일들로부터 생성되었습니다.:
to Top