IBR-DTNSuite  0.12
dtn::data::MetaBundle Class Reference

#include <MetaBundle.h>

Inheritance diagram for dtn::data::MetaBundle:
Inheritance graph
Collaboration diagram for dtn::data::MetaBundle:
Collaboration graph

Public Member Functions

 MetaBundle ()
 
virtual ~MetaBundle ()
 
bool operator!= (const MetaBundle &other) const
 
bool operator== (const MetaBundle &other) const
 
bool operator< (const MetaBundle &other) const
 
bool operator> (const MetaBundle &other) const
 
bool operator!= (const BundleID &other) const
 
bool operator== (const BundleID &other) const
 
bool operator< (const BundleID &other) const
 
bool operator> (const BundleID &other) const
 
bool operator!= (const PrimaryBlock &other) const
 
bool operator== (const PrimaryBlock &other) const
 
bool operator< (const PrimaryBlock &other) const
 
bool operator> (const PrimaryBlock &other) const
 
int getPriority () const
 
bool get (dtn::data::PrimaryBlock::FLAGS flag) const
 
bool isFragment () const
 
void setFragment (bool val)
 
- Public Member Functions inherited from dtn::data::BundleID
 BundleID ()
 
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
 
 BundleID (const BundleID &id)
 
BundleIDoperator= (const BundleID &id)
 
std::string toString () const
 
virtual dtn::data::Length getPayloadLength () const
 
virtual void setPayloadLength (const dtn::data::Length &value)
 
void addTo (ibrcommon::BloomFilter &bf) const
 
bool isIn (const ibrcommon::BloomFilter &bf) const
 
size_t raw (unsigned char *data, size_t len) const
 

Static Public Member Functions

static MetaBundle create (const dtn::data::BundleID &id)
 
static MetaBundle create (const dtn::data::Bundle &bundle)
 

Public Attributes

Number lifetime
 
dtn::data::EID destination
 
dtn::data::EID reportto
 
dtn::data::EID custodian
 
Number appdatalength
 
Bitset
< dtn::data::PrimaryBlock::FLAGS
procflags
 
Number expiretime
 
Number hopcount
 
Integer net_priority
 
- Public Attributes inherited from dtn::data::BundleID
dtn::data::EID source
 
dtn::data::Timestamp timestamp
 
dtn::data::Number sequencenumber
 
dtn::data::Number fragmentoffset
 

Detailed Description

Definition at line 35 of file MetaBundle.h.

Constructor & Destructor Documentation

dtn::data::MetaBundle::MetaBundle ( )

Definition at line 44 of file MetaBundle.cpp.

Referenced by create().

dtn::data::MetaBundle::~MetaBundle ( )
virtual

Definition at line 81 of file MetaBundle.cpp.

Member Function Documentation

MetaBundle dtn::data::MetaBundle::create ( const dtn::data::Bundle bundle)
static

Definition at line 39 of file MetaBundle.cpp.

References MetaBundle().

Here is the call graph for this function:

int dtn::data::MetaBundle::getPriority ( ) const
bool dtn::data::MetaBundle::operator!= ( const MetaBundle other) const

Definition at line 94 of file MetaBundle.cpp.

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

Definition at line 114 of file MetaBundle.cpp.

bool dtn::data::MetaBundle::operator!= ( const PrimaryBlock other) const

Definition at line 134 of file MetaBundle.cpp.

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

Definition at line 84 of file MetaBundle.cpp.

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

Definition at line 104 of file MetaBundle.cpp.

bool dtn::data::MetaBundle::operator< ( const PrimaryBlock other) const

Definition at line 124 of file MetaBundle.cpp.

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

Definition at line 99 of file MetaBundle.cpp.

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

Definition at line 119 of file MetaBundle.cpp.

bool dtn::data::MetaBundle::operator== ( const PrimaryBlock other) const

Definition at line 139 of file MetaBundle.cpp.

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

Definition at line 89 of file MetaBundle.cpp.

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

Definition at line 109 of file MetaBundle.cpp.

bool dtn::data::MetaBundle::operator> ( const PrimaryBlock other) const

Definition at line 129 of file MetaBundle.cpp.

void dtn::data::MetaBundle::setFragment ( bool  val)
virtual

Reimplemented from dtn::data::BundleID.

Definition at line 170 of file MetaBundle.cpp.

References dtn::data::PrimaryBlock::FRAGMENT, and procflags.

Member Data Documentation

Integer dtn::data::MetaBundle::net_priority

Definition at line 67 of file MetaBundle.h.

dtn::data::EID dtn::data::MetaBundle::reportto

Definition at line 61 of file MetaBundle.h.

Referenced by dtn::data::DefaultDeserializer::operator>>().


The documentation for this class was generated from the following files: