IBR-DTNSuite
0.8
|
#include <BundleStorage.h>
Public Member Functions | |
virtual | ~BundleFilterCallback () |
virtual size_t | limit () const |
virtual bool | shouldAdd (const dtn::data::MetaBundle &) const |
Definition at line 52 of file BundleStorage.h.
virtual dtn::storage::BundleStorage::BundleFilterCallback::~BundleFilterCallback | ( | ) | [inline, virtual] |
Definition at line 55 of file BundleStorage.h.
virtual size_t dtn::storage::BundleStorage::BundleFilterCallback::limit | ( | ) | const [inline, virtual] |
Limit the number of selected items.
Definition at line 61 of file BundleStorage.h.
Referenced by dtn::storage::MemoryBundleStorage::get(), dtn::storage::SimpleBundleStorage::get(), and dtn::storage::SQLiteDatabase::get().
virtual bool dtn::storage::BundleStorage::BundleFilterCallback::shouldAdd | ( | const dtn::data::MetaBundle & | ) | const [inline, virtual] |
This method is called by the storage to determine if one bundle should added to a set or not.
id | The bundle id of the bundle to select. |
Definition at line 69 of file BundleStorage.h.
Referenced by dtn::storage::MemoryBundleStorage::get(), and dtn::storage::SimpleBundleStorage::get().