dtn::data::BundleID Class Reference

#include <BundleID.h>

Inheritance diagram for dtn::data::BundleID:
dtn::data::MetaBundle

List of all members.

Public Member Functions

 BundleID ()
 BundleID (const dtn::data::Bundle &b)
 BundleID (EID source, size_t timestamp, size_t sequencenumber, bool fragment=false, size_t offset=0)
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)

Detailed Description

Definition at line 18 of file BundleID.h.


Constructor & Destructor Documentation

dtn::data::BundleID::BundleID (  ) 

Definition at line 17 of file BundleID.cpp.

dtn::data::BundleID::BundleID ( const dtn::data::Bundle b  ) 

Definition at line 27 of file BundleID.cpp.

dtn::data::BundleID::BundleID ( EID  source,
size_t  timestamp,
size_t  sequencenumber,
bool  fragment = false,
size_t  offset = 0 
)

Definition at line 22 of file BundleID.cpp.

dtn::data::BundleID::~BundleID (  )  [virtual]

Definition at line 33 of file BundleID.cpp.


Member Function Documentation

size_t dtn::data::BundleID::getTimestamp (  )  const

Definition at line 77 of file BundleID.cpp.

References timestamp.

bool dtn::data::BundleID::operator!= ( const BundleID other  )  const

Definition at line 58 of file BundleID.cpp.

bool dtn::data::BundleID::operator< ( const BundleID other  )  const

Definition at line 37 of file BundleID.cpp.

References fragment, offset, sequencenumber, source, and timestamp.

bool dtn::data::BundleID::operator== ( const BundleID other  )  const

Definition at line 63 of file BundleID.cpp.

References fragment, offset, sequencenumber, source, and timestamp.

bool dtn::data::BundleID::operator> ( const BundleID other  )  const

Definition at line 53 of file BundleID.cpp.

string dtn::data::BundleID::toString (  )  const

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  stream,
const BundleID obj 
) [friend]

Definition at line 97 of file BundleID.cpp.

std::istream& operator>> ( std::istream &  stream,
BundleID obj 
) [friend]

Definition at line 109 of file BundleID.cpp.


Member Data Documentation

Definition at line 41 of file BundleID.h.

Referenced by operator<(), operator==(), and toString().


The documentation for this class was generated from the following files:
Generated on Mon Aug 23 08:12:59 2010 for IBR-DTNSuite by  doxygen 1.6.3