IBR-DTNSuite  0.10
dtn::data::BundleString Class Reference

#include <BundleString.h>

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

Public Member Functions

 BundleString (const std::string &value)
 
 BundleString ()
 
virtual ~BundleString ()
 
Length getLength () const
 

Friends

std::ostream & operator<< (std::ostream &stream, const BundleString &bstring)
 
std::istream & operator>> (std::istream &stream, BundleString &bstring)
 

Detailed Description

Definition at line 32 of file BundleString.h.

Constructor & Destructor Documentation

dtn::data::BundleString::BundleString ( const std::string &  value)

Definition at line 31 of file BundleString.cpp.

dtn::data::BundleString::BundleString ( )

Definition at line 36 of file BundleString.cpp.

dtn::data::BundleString::~BundleString ( )
virtual

Definition at line 40 of file BundleString.cpp.

Member Function Documentation

Length dtn::data::BundleString::getLength ( ) const

This method returns the length of the full encoded bundle string.

Returns
The length of the full encoded bundle string

Definition at line 44 of file BundleString.cpp.

References dtn::data::SDNV< E >::getLength().

Referenced by dtn::net::DiscoveryService::getLength(), and dtn::data::SeparateSerializer::getLength().

Here is the call graph for this function:

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  stream,
const BundleString bstring 
)
friend

Definition at line 50 of file BundleString.cpp.

std::istream& operator>> ( std::istream &  stream,
BundleString bstring 
)
friend

Definition at line 58 of file BundleString.cpp.


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