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

#include <BundleString.h>

List of all members.

Public Member Functions

 BundleString (std::string value)
 BundleString ()
virtual ~BundleString ()
size_t 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 17 of file BundleString.h.


Constructor & Destructor Documentation

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

Definition at line 16 of file BundleString.cpp.

Definition at line 25 of file BundleString.cpp.


Member Function Documentation

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

Returns:
The length of the full encoded bundle string

Definition at line 29 of file BundleString.cpp.

References dtn::data::SDNV::getLength().

Referenced by dtn::net::DiscoveryService::getLength(), dtn::data::CustodySignalBlock::getLength(), dtn::data::StatusReportBlock::getLength(), dtn::data::SeparateSerializer::getLength(), and dtn::net::operator>>().

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 35 of file BundleString.cpp.

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

Definition at line 43 of file BundleString.cpp.


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