#include <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_sptr > | get (const vcl_string type) const |
Protected Member Functions | |
| void | rebuild () |
Protected Attributes | |
| vcl_vector< gmvl_node_sptr > | nodes_ |
| vcl_vector< vcl_pair < vcl_string, vcl_vector < gmvl_node_sptr > > > | typecache_ |
Friends | |
| vcl_ostream & | operator<< (vcl_ostream &os, const gmvl_node_cache &c) |
Definition at line 17 of file gmvl_node_cache.h.
| 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.
| 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.
| gmvl_node_sptr gmvl_node_cache::get | ( | const int | index | ) | const [inline] |
Definition at line 28 of file gmvl_node_cache.h.
| vcl_vector< gmvl_node_sptr > gmvl_node_cache::get | ( | const vcl_string | type | ) | const |
Definition at line 75 of file gmvl_node_cache.cxx.
| void gmvl_node_cache::rebuild | ( | ) | [protected] |
Definition at line 90 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.
| vcl_ostream& operator<< | ( | vcl_ostream & | os, |
| const gmvl_node_cache & | c | ||
| ) | [friend] |
Definition at line 120 of file gmvl_node_cache.cxx.
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.
1.7.5.1