| |
libFAUDES
Sections
Index
|
faudes::TBaseSet< T, Cmp >::Iterator Class Reference#include <baseset.h>
Detailed Descriptiontemplate<class T, class Cmp = std::less<T>>
Iterator class for high-level api to TBaseSet.
|
Public Member Functions | |
Iterator () | |
Default contructor, container unknown. | |
Iterator (const TBaseSet< T, Cmp > *pBaseSet, const typename std::set< T, Cmp >::const_iterator &sit) | |
Construct by members, used by TBaseSet to create temporary iterators. | |
Iterator (const Iterator &fit) | |
Copy constructor, copies container reference, incl attach. | |
~Iterator (void) | |
Destructor. | |
const Iterator & | operator= (const Iterator &rSrc) |
Assigment, tracks container. | |
void | StlIterator (const typename std::set< T, Cmp >::const_iterator &sit) |
Assign STL iterator only. | |
const std::set< T, Cmp > ::const_iterator & | StlIterator (void) const |
Get STL iterator only. | |
void | Invalidate (void) |
Invalidate. | |
void | Detach (void) |
Detach. | |
void | DValid (void) const |
Check validity (provoke abort error). | |
const T * | operator-> (void) const |
Reimplement dereference. | |
const T & | operator* (void) const |
Reimplement derefernce. | |
bool | operator== (const Iterator &rOther) const |
Reimplement ==. | |
bool | operator!= (const Iterator &rOther) const |
Reimplement !=. | |
Iterator | operator++ (int step) |
Reimplement postfix ++. | |
const Iterator & | operator++ (void) |
Reimplement prefix ++. | |
Iterator | operator-- (int step) |
Reimplement postfix --. | |
const Iterator & | operator-- (void) |
Reimplement prefix --. | |
Public Attributes | |
const TBaseSet< T, Cmp > * | pBaseSet |
Order by reference for containers of Iterators <. | |
bool | mAttached |
Indocate that this iterator is attached to some baseset. |
faudes::TBaseSet< T, Cmp >::Iterator::Iterator | ( | ) | [inline] |
Default contructor, container unknown.
faudes::TBaseSet< T, Cmp >::Iterator::Iterator | ( | const TBaseSet< T, Cmp > * | pBaseSet, | |
const typename std::set< T, Cmp >::const_iterator & | sit | |||
) | [inline] |
Construct by members, used by TBaseSet to create temporary iterators.
faudes::TBaseSet< T, Cmp >::Iterator::Iterator | ( | const Iterator & | fit | ) | [inline] |
Copy constructor, copies container reference, incl attach.
faudes::TBaseSet< T, Cmp >::Iterator::~Iterator | ( | void | ) | [inline] |
Destructor.
const Iterator& faudes::TBaseSet< T, Cmp >::Iterator::operator= | ( | const Iterator & | rSrc | ) | [inline] |
Assigment, tracks container.
void faudes::TBaseSet< T, Cmp >::Iterator::StlIterator | ( | const typename std::set< T, Cmp >::const_iterator & | sit | ) | [inline] |
Assign STL iterator only.
const std::set<T,Cmp>::const_iterator& faudes::TBaseSet< T, Cmp >::Iterator::StlIterator | ( | void | ) | const [inline] |
Get STL iterator only.
void faudes::TBaseSet< T, Cmp >::Iterator::Invalidate | ( | void | ) | [inline] |
Invalidate.
void faudes::TBaseSet< T, Cmp >::Iterator::Detach | ( | void | ) | [inline] |
Detach.
void faudes::TBaseSet< T, Cmp >::Iterator::DValid | ( | void | ) | const [inline] |
Check validity (provoke abort error).
const T* faudes::TBaseSet< T, Cmp >::Iterator::operator-> | ( | void | ) | const [inline] |
Reimplement dereference.
const T& faudes::TBaseSet< T, Cmp >::Iterator::operator* | ( | void | ) | const [inline] |
Reimplement derefernce.
bool faudes::TBaseSet< T, Cmp >::Iterator::operator== | ( | const Iterator & | rOther | ) | const [inline] |
Reimplement ==.
bool faudes::TBaseSet< T, Cmp >::Iterator::operator!= | ( | const Iterator & | rOther | ) | const [inline] |
Reimplement !=.
Iterator faudes::TBaseSet< T, Cmp >::Iterator::operator++ | ( | int | step | ) | [inline] |
Reimplement postfix ++.
const Iterator& faudes::TBaseSet< T, Cmp >::Iterator::operator++ | ( | void | ) | [inline] |
Reimplement prefix ++.
Iterator faudes::TBaseSet< T, Cmp >::Iterator::operator-- | ( | int | step | ) | [inline] |
Reimplement postfix --.
const Iterator& faudes::TBaseSet< T, Cmp >::Iterator::operator-- | ( | void | ) | [inline] |
Reimplement prefix --.
const TBaseSet<T,Cmp>* faudes::TBaseSet< T, Cmp >::Iterator::pBaseSet |
Order by reference for containers of Iterators <.
Maintaine container reference
bool faudes::TBaseSet< T, Cmp >::Iterator::mAttached |
Indocate that this iterator is attached to some baseset.
libFAUDES 2.13a c++ source docu by doxygen 1.5.6