ExtBlock Class Reference

List of all members.


Detailed Description

Definition at line 65 of file dtnsend.cc.


Public Member Functions

 ExtBlock (u_int type=0)
 ~ExtBlock ()
 ExtBlock (const ExtBlock &o)
bool metadata () const
void set_metadata ()
dtn_extension_block_tblock ()
void set_block_buf (char *buf, u_int len)

Static Public Attributes

static unsigned int num_meta_blocks_ = 0

Private Attributes

bool metadata_
dtn_extension_block_t block_

Constructor & Destructor Documentation

ExtBlock::ExtBlock ( u_int  type = 0  )  [inline]

ExtBlock::~ExtBlock (  )  [inline]

ExtBlock::ExtBlock ( const ExtBlock o  )  [inline]


Member Function Documentation

bool ExtBlock::metadata (  )  const [inline]

Definition at line 92 of file dtnsend.cc.

References metadata_.

void ExtBlock::set_metadata (  )  [inline]

Definition at line 93 of file dtnsend.cc.

References metadata_.

dtn_extension_block_t& ExtBlock::block (  )  [inline]

Definition at line 95 of file dtnsend.cc.

References block_.

void ExtBlock::set_block_buf ( char *  buf,
u_int  len 
) [inline]


Member Data Documentation

unsigned int ExtBlock::num_meta_blocks_ = 0 [static]

Definition at line 106 of file dtnsend.cc.

Referenced by main().

Definition at line 109 of file dtnsend.cc.

Referenced by ExtBlock(), metadata(), and set_metadata().

Definition at line 110 of file dtnsend.cc.

Referenced by block(), ExtBlock(), set_block_buf(), and ~ExtBlock().


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

Generated on Mon Jul 21 14:12:19 2008 for DTN Reference Implementation by  doxygen 1.5.6