dtn::LinkMetadataSet Class Reference

Data structure to store a metadata block vector for each outgoing link, similar to LinkBlockSet. More...

#include <MetadataBlock.h>

List of all members.

Classes

struct  Entry

Public Member Functions

virtual ~LinkMetadataSet ()
MetadataVeccreate_blocks (const LinkRef &link)
MetadataVecfind_blocks (const LinkRef &link) const
void delete_blocks (const LinkRef &link)

Private Types

typedef std::vector< EntryVector
typedef std::vector< Entry >
::iterator 
iterator
typedef std::vector< Entry >
::const_iterator 
const_iterator

Private Attributes

Vector entries_


Detailed Description

Data structure to store a metadata block vector for each outgoing link, similar to LinkBlockSet.

Definition at line 226 of file MetadataBlock.h.


Member Typedef Documentation

Definition at line 245 of file MetadataBlock.h.

typedef std::vector<Entry>::iterator dtn::LinkMetadataSet::iterator [private]

Definition at line 244 of file MetadataBlock.h.

typedef std::vector<Entry> dtn::LinkMetadataSet::Vector [private]

Definition at line 243 of file MetadataBlock.h.


Constructor & Destructor Documentation

dtn::LinkMetadataSet::~LinkMetadataSet (  )  [virtual]

Definition at line 322 of file MetadataBlock.cc.

References entries_.


Member Function Documentation

MetadataVec * dtn::LinkMetadataSet::create_blocks ( const LinkRef link  ) 

Definition at line 332 of file MetadataBlock.cc.

References ASSERT, entries_, and find_blocks().

void dtn::LinkMetadataSet::delete_blocks ( const LinkRef link  ) 

Definition at line 357 of file MetadataBlock.cc.

References entries_.

Referenced by dtn::MetadataBlockProcessor::delete_generated_metadata().

MetadataVec * dtn::LinkMetadataSet::find_blocks ( const LinkRef link  )  const

Definition at line 344 of file MetadataBlock.cc.

References entries_.

Referenced by create_blocks(), and dtn::MetadataBlockProcessor::prepare_generated_metadata().


Member Data Documentation

Definition at line 246 of file MetadataBlock.h.

Referenced by create_blocks(), delete_blocks(), find_blocks(), and ~LinkMetadataSet().


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

Generated on Fri Jan 30 09:43:13 2009 for DTN Reference Implementation by  doxygen 1.5.8