Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

Bodon::MapRepr Class Reference

This struct represent an edge of a MapRepr. More...

#include <MapRepr.hpp>

List of all members.

Public Member Functions

 MapRepr ()
std::map< item_t, void
* >::iterator 
erase (std::map< item_t, void * >::iterator pos)
void * find (item_t label) const
void *& findOrCreate (item_t label)
bool lookup (item_t label, void *&subtrie) const
void insert (const std::vector< Edge > &new_edges)

Static Public Member Functions

static bool isLookupPreferred ()


Detailed Description

This struct represent an edge of a MapRepr.

An edge has a label, and an edge points to a subtrie.

Definition at line 17 of file MapRepr.hpp.


Constructor & Destructor Documentation

Bodon::MapRepr::MapRepr  )  [inline]
 

Definition at line 21 of file MapRepr.hpp.


Member Function Documentation

std::map<item_t,void*>::iterator Bodon::MapRepr::erase std::map< item_t, void * >::iterator  pos  )  [inline]
 

Definition at line 23 of file MapRepr.hpp.

void* Bodon::MapRepr::find item_t  label  )  const [inline]
 

Definition at line 31 of file MapRepr.hpp.

Referenced by lookup().

void*& Bodon::MapRepr::findOrCreate item_t  label  )  [inline]
 

Definition at line 41 of file MapRepr.hpp.

void Bodon::MapRepr::insert const std::vector< Edge > &  new_edges  )  [inline]
 

Definition at line 68 of file MapRepr.hpp.

static bool Bodon::MapRepr::isLookupPreferred  )  [inline, static]
 

Definition at line 48 of file MapRepr.hpp.

bool Bodon::MapRepr::lookup item_t  label,
void *&  subtrie
const [inline]
 

Definition at line 53 of file MapRepr.hpp.

References find().


The documentation for this class was generated from the following file:
Generated on Sun Sep 17 17:56:13 2006 for FIM environment by  doxygen 1.4.4