|
IBR-DTNSuite 0.6
|
#include <BundleID.h>


Public Member Functions | |
| BundleID (const dtn::data::EID source=dtn::data::EID(), const size_t timestamp=0, const size_t sequencenumber=0, const bool fragment=false, const size_t offset=0) | |
| BundleID (const dtn::data::Bundle &b) | |
| virtual | ~BundleID () |
| bool | operator!= (const BundleID &other) const |
| bool | operator== (const BundleID &other) const |
| bool | operator< (const BundleID &other) const |
| bool | operator> (const BundleID &other) const |
| string | toString () const |
| size_t | getTimestamp () const |
Public Attributes | |
| dtn::data::EID | source |
| size_t | timestamp |
| size_t | sequencenumber |
| bool | fragment |
| size_t | offset |
Friends | |
| std::ostream & | operator<< (std::ostream &stream, const BundleID &obj) |
| std::istream & | operator>> (std::istream &stream, BundleID &obj) |
Definition at line 18 of file BundleID.h.
| dtn::data::BundleID::BundleID | ( | const dtn::data::EID | source = dtn::data::EID(), |
| const size_t | timestamp = 0, |
||
| const size_t | sequencenumber = 0, |
||
| const bool | fragment = false, |
||
| const size_t | offset = 0 |
||
| ) |
Definition at line 17 of file BundleID.cpp.
| dtn::data::BundleID::BundleID | ( | const dtn::data::Bundle & | b | ) |
Definition at line 22 of file BundleID.cpp.
| dtn::data::BundleID::~BundleID | ( | ) | [virtual] |
Definition at line 28 of file BundleID.cpp.
| size_t dtn::data::BundleID::getTimestamp | ( | ) | const |
Definition at line 72 of file BundleID.cpp.
References timestamp.
Referenced by dtn::data::MetaBundle::MetaBundle().
| bool dtn::data::BundleID::operator!= | ( | const BundleID & | other | ) | const |
Definition at line 53 of file BundleID.cpp.
| bool dtn::data::BundleID::operator< | ( | const BundleID & | other | ) | const |
Definition at line 32 of file BundleID.cpp.
References fragment, offset, sequencenumber, source, and timestamp.
| bool dtn::data::BundleID::operator== | ( | const BundleID & | other | ) | const |
Definition at line 58 of file BundleID.cpp.
References fragment, offset, sequencenumber, source, and timestamp.
| bool dtn::data::BundleID::operator> | ( | const BundleID & | other | ) | const |
Definition at line 48 of file BundleID.cpp.
| string dtn::data::BundleID::toString | ( | ) | const |
Definition at line 77 of file BundleID.cpp.
References fragment, dtn::data::EID::getString(), offset, sequencenumber, source, and timestamp.
Referenced by dtn::core::SimpleBundleStorage::clear(), dtn::core::SimpleBundleStorage::eventBundleExpired(), dtn::routing::NeighborRoutingExtension::notify(), dtn::core::EventDebugger::raiseEvent(), dtn::core::SimpleBundleStorage::remove(), dtn::routing::RequeueBundleEvent::toString(), dtn::routing::QueueBundleEvent::toString(), dtn::net::TransferCompletedEvent::toString(), dtn::net::TransferAbortedEvent::toString(), and dtn::core::BundleExpiredEvent::toString().

| std::ostream& operator<< | ( | std::ostream & | stream, |
| const BundleID & | obj | ||
| ) | [friend] |
Definition at line 92 of file BundleID.cpp.
| std::istream& operator>> | ( | std::istream & | stream, |
| BundleID & | obj | ||
| ) | [friend] |
Definition at line 104 of file BundleID.cpp.
Definition at line 40 of file BundleID.h.
Referenced by operator<(), operator==(), and toString().
| size_t dtn::data::BundleID::offset |
Definition at line 41 of file BundleID.h.
Referenced by operator<(), dtn::data::operator<<(), operator==(), dtn::data::operator>>(), dtn::data::CustodySignalBlock::setMatch(), and toString().
Definition at line 38 of file BundleID.h.
Referenced by operator<(), dtn::data::operator<<(), operator==(), dtn::data::operator>>(), dtn::data::CustodySignalBlock::setMatch(), and toString().
Definition at line 36 of file BundleID.h.
Referenced by operator<(), dtn::data::operator<<(), operator==(), dtn::data::operator>>(), dtn::routing::EpidemicRoutingExtension::run(), dtn::data::CustodySignalBlock::setMatch(), and toString().
Definition at line 37 of file BundleID.h.
Referenced by getTimestamp(), operator<(), dtn::data::operator<<(), operator==(), dtn::data::operator>>(), dtn::data::CustodySignalBlock::setMatch(), and toString().