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

gmvl_node_cache Class Reference

#include <gmvl_node_cache.h>

List of all members.


Detailed Description

Definition at line 17 of file gmvl_node_cache.h.

Public Member Functions

 gmvl_node_cache ()
 ~gmvl_node_cache ()
void add (const gmvl_node_sptr node)
void remove (const gmvl_node_sptr node)
gmvl_node_sptr get (const int index) const
bool cached (const gmvl_node_sptr node) const
vcl_vector< gmvl_node_sptrget (const vcl_string type) const

Protected Member Functions

void rebuild ()

Protected Attributes

vcl_vector< gmvl_node_sptrnodes_
vcl_vector< vcl_pair< vcl_string,
vcl_vector< gmvl_node_sptr > > > 
typecache_

Friends

vcl_ostream & operator<< (vcl_ostream &os, const gmvl_node_cache &c)


Constructor & Destructor Documentation

gmvl_node_cache::gmvl_node_cache  ) 
 

Definition at line 13 of file gmvl_node_cache.cxx.

gmvl_node_cache::~gmvl_node_cache  ) 
 

Definition at line 17 of file gmvl_node_cache.cxx.


Member Function Documentation

void gmvl_node_cache::add const gmvl_node_sptr  node  ) 
 

Definition at line 22 of file gmvl_node_cache.cxx.

bool gmvl_node_cache::cached const gmvl_node_sptr  node  )  const
 

Definition at line 68 of file gmvl_node_cache.cxx.

vcl_vector< gmvl_node_sptr > gmvl_node_cache::get const vcl_string  type  )  const
 

Definition at line 78 of file gmvl_node_cache.cxx.

gmvl_node_sptr gmvl_node_cache::get const int  index  )  const [inline]
 

Definition at line 28 of file gmvl_node_cache.h.

void gmvl_node_cache::rebuild  )  [protected]
 

Definition at line 93 of file gmvl_node_cache.cxx.

void gmvl_node_cache::remove const gmvl_node_sptr  node  ) 
 

Definition at line 50 of file gmvl_node_cache.cxx.


Friends And Related Function Documentation

vcl_ostream& operator<< vcl_ostream &  os,
const gmvl_node_cache c
[friend]
 

Definition at line 123 of file gmvl_node_cache.cxx.


Member Data Documentation

vcl_vector<gmvl_node_sptr> gmvl_node_cache::nodes_ [protected]
 

Definition at line 40 of file gmvl_node_cache.h.

vcl_vector<vcl_pair<vcl_string,vcl_vector<gmvl_node_sptr> > > gmvl_node_cache::typecache_ [protected]
 

Definition at line 43 of file gmvl_node_cache.h.


The documentation for this class was generated from the following files:
Generated on Thu Jan 10 14:47:46 2008 for contrib/gel/gmvl by  doxygen 1.4.4