IBR-DTNSuite  0.10
dtn::security::SecurityBlock::TLV Class Reference

#include <SecurityBlock.h>

Collaboration diagram for dtn::security::SecurityBlock::TLV:
Collaboration graph

Public Member Functions

 TLV ()
 
 TLV (TLV_TYPES type, std::string value)
 
bool operator< (const TLV &tlv) const
 
bool operator== (const TLV &tlv) const
 
const std::string getValue () const
 
TLV_TYPES getType () const
 
dtn::data::Length getLength () const
 

Friends

std::ostream & operator<< (std::ostream &stream, const TLV &tlv)
 
std::istream & operator>> (std::istream &stream, TLV &tlv)
 

Detailed Description

Definition at line 105 of file SecurityBlock.h.

Constructor & Destructor Documentation

dtn::security::SecurityBlock::TLV::TLV ( )
inline

Definition at line 108 of file SecurityBlock.h.

dtn::security::SecurityBlock::TLV::TLV ( TLV_TYPES  type,
std::string  value 
)
inline

Definition at line 109 of file SecurityBlock.h.

Member Function Documentation

dtn::data::Length dtn::security::SecurityBlock::TLV::getLength ( ) const

Definition at line 129 of file SecurityBlock.cpp.

SecurityBlock::TLV_TYPES dtn::security::SecurityBlock::TLV::getType ( ) const

Definition at line 124 of file SecurityBlock.cpp.

const std::string dtn::security::SecurityBlock::TLV::getValue ( ) const

Definition at line 119 of file SecurityBlock.cpp.

bool dtn::security::SecurityBlock::TLV::operator< ( const TLV tlv) const

Definition at line 163 of file SecurityBlock.cpp.

bool dtn::security::SecurityBlock::TLV::operator== ( const TLV tlv) const

Definition at line 168 of file SecurityBlock.cpp.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  stream,
const TLV tlv 
)
friend

Definition at line 173 of file SecurityBlock.cpp.

std::istream& operator>> ( std::istream &  stream,
SecurityBlock::TLV tlv 
)
friend

Definition at line 180 of file SecurityBlock.cpp.


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