PersistentBundle Class Reference
[pydtn]

Internal representation type for a persistent DTN::Bundle. More...

#include <pydtn/PersistentStore.h>

Collaboration diagram for PersistentBundle:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 PersistentBundle (DTN::Bundle *b)
 Constructor.
 PersistentBundle (const DTN::ByteString &originator, uint32_t seqNum)
 Constructor for a dummy object, used in searching.
virtual ~PersistentBundle ()
 Virtual destructor.
DTN::Bundlebundle () const
 
Returns:
the stored DTN::Bundle

bool operator< (const PersistentBundle &b) const
 
Parameters:
b Another PersistentBundle

const TimetimeAdded () const
 
Returns:
the Time at which the DTN::Bundle was added


Detailed Description

Internal representation type for a persistent DTN::Bundle.

Definition at line 47 of file PersistentStore.h.


Member Function Documentation

bool PersistentBundle::operator< ( const PersistentBundle b  )  const

Parameters:
b Another PersistentBundle

Returns:
whether this object should be sorted before b

Definition at line 77 of file PersistentStore.cc.

References m_originator, and m_seqNum.


The documentation for this class was generated from the following files:
Generated on Mon Mar 24 11:15:47 2008 for Pydtn Simulator by  doxygen 1.5.4