#include <RefList.h>
Collaboration diagram for RefList_iterator< T >:
Public Types | |
typedef forward_iterator_tag | iterator_category |
typedef T | value_type |
Public Member Functions | |
RefList_iterator () | |
RefList_iterator (const RefList_iterator &second) | |
RefList_iterator (OidType oid, Connection *curConnection) | |
Ref< T > | operator * () |
RefList_iterator & | operator++ () |
RefList_iterator | operator++ (int) |
bool | operator== (const RefList_iterator &second) const |
bool | operator!= (const RefList_iterator &second) const |
Protected Member Functions | |
void | loadData () |
Protected Attributes | |
OidType | listEntryOid |
OidType | nextOid |
OidType | pointedObjectOid |
Connection * | connection |
|
Iterator category - as in STL.
|
|
Iterator value type - as in STL.
|
|
Default constructor - created iterator points nowhere.
|
|
Copy constructor.
|
|
Constructor that creates valid iterator from OID of corresponding RefListEntry and given connection.
|
|
Method that initializes nextOid and pointedObjectOid (if needed). Loads RefListEntry with OID listEntryOid from database. |
|
Returns Ref<T> reference to pointed object.
|
|
Prefix operator ++. Increments the iterator, than returns Ref<T> reference to pointed object.
|
|
Postfix operator ++. Increments the iterator and returns Ref<T> reference to object, to which the iterator pointed before the increment. |
|
Tests whether the iterators correspond to the same RefListEntry.
|
|
Tests whether the iterators correspond to different RefListEntry-s.
|
|
OID of RefListEntry to which this iteratotr position corresponds.
|
|
OID of next entry in appropriate RefList<T> (if known).
|
|
OID of object to which this iterator points (if known).
|
|
Connection used to retrieve RefList<T>'s entries from the database.
|