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

#include <SecurityBlock.h>

Inheritance diagram for dtn::security::SecurityBlock::TLVList:
Inheritance graph
Collaboration diagram for dtn::security::SecurityBlock::TLVList:
Collaboration graph

Public Member Functions

 TLVList ()
 
virtual ~TLVList ()
 
const std::string get (TLV_TYPES type) const
 
void get (TLV_TYPES type, unsigned char *value, dtn::data::Length length) const
 
void set (TLV_TYPES type, std::string value)
 
void set (TLV_TYPES type, const unsigned char *value, dtn::data::Length length)
 
void remove (TLV_TYPES type)
 
const std::string toString () const
 
dtn::data::Length getLength () const
 

Friends

std::ostream & operator<< (std::ostream &stream, const TLVList &tlvlist)
 
std::istream & operator>> (std::istream &stream, TLVList &tlvlist)
 

Detailed Description

Definition at line 128 of file SecurityBlock.h.

Constructor & Destructor Documentation

dtn::security::SecurityBlock::TLVList::TLVList ( )
inline

Definition at line 131 of file SecurityBlock.h.

virtual dtn::security::SecurityBlock::TLVList::~TLVList ( )
inlinevirtual

Definition at line 132 of file SecurityBlock.h.

Member Function Documentation

void dtn::security::SecurityBlock::TLVList::get ( TLV_TYPES  type,
unsigned char *  value,
dtn::data::Length  length 
) const

Definition at line 86 of file SecurityBlock.cpp.

void dtn::security::SecurityBlock::TLVList::remove ( SecurityBlock::TLV_TYPES  type)

Definition at line 114 of file SecurityBlock.cpp.

void dtn::security::SecurityBlock::TLVList::set ( TLV_TYPES  type,
const unsigned char *  value,
dtn::data::Length  length 
)

Definition at line 108 of file SecurityBlock.cpp.

const std::string dtn::security::SecurityBlock::TLVList::toString ( ) const

Definition at line 44 of file SecurityBlock.cpp.

Referenced by dtn::security::MutualSerializer::operator<<().

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  stream,
const TLVList tlvlist 
)
friend

Definition at line 134 of file SecurityBlock.cpp.

std::istream& operator>> ( std::istream &  stream,
SecurityBlock::TLVList tlvlist 
)
friend

Definition at line 146 of file SecurityBlock.cpp.


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