#include <dtn/BundlePointer.h>

Public Member Functions | |
| BundlePointer (BundlePointerRepr *repr=0) | |
| Constructor taking an iterator. | |
| BundlePointer (const BundlePointer &aOther) | |
| Copy constructor. | |
| virtual | ~BundlePointer () |
| Virtual destructor. | |
| void | operator= (const BundlePointer &aOther) |
| Assignment operator. | |
| bool | operator== (const BundlePointer &bp) |
| Equality operator. | |
| bool | isNull () const |
| |
| const BundlePointerRepr * | repr () const |
| |
| BundlePointer | next () |
| |
| const BundlePointer | next () const |
| |
This class provides the mechanisms for a policy object to examine the contents of a BundleStore. Some policies might keep caches of BundlePointers for faster lookup.
Definition at line 96 of file BundlePointer.h.
| BundlePointer::BundlePointer | ( | BundlePointerRepr * | repr = 0 |
) |
Constructor taking an iterator.
If no argument is provided, a NULL BundlePointer is created.
| repr | The iterator to store, taking ownership of the memory |
Definition at line 35 of file BundlePointer.cc.
Referenced by next().
| bool BundlePointer::operator== | ( | const BundlePointer & | bp | ) |
Equality operator.
Two BundlePointers are equal if and only if they refer to the same Bundle.
| bp | Another pointer |
NULL pointer is defined to be not equal to any other pointer, including another NULL pointer. Definition at line 77 of file BundlePointer.cc.
1.5.4