Public Member Functions | Protected Attributes | Friends
gmvl_database Class Reference

#include <gmvl_database.h>

List of all members.

Public Member Functions

void add_node (const gmvl_node_sptr node)
void remove_node (const gmvl_node_sptr node)
void add_connection (const gmvl_node_sptr node1, const gmvl_node_sptr node2)
void add_connections (const gmvl_node_sptr node1, vcl_vector< gmvl_node_sptr > nodes)
vcl_vector< gmvl_node_sptrget_nodes (const vcl_string type) const
vcl_vector< gmvl_node_sptrget_connected_nodes (const gmvl_node_sptr node) const
vcl_vector< gmvl_node_sptrget_connected_nodes (const gmvl_node_sptr node1, const gmvl_node_sptr node2) const
vcl_vector< gmvl_node_sptrget_connected_nodes (const gmvl_node_sptr node1, const gmvl_node_sptr node2, const gmvl_node_sptr node3) const
vcl_vector< gmvl_node_sptrget_connected_nodes (const vcl_vector< gmvl_node_sptr > nodes) const
vcl_vector< gmvl_node_sptrget_connected_nodes (const gmvl_node_sptr node, const vcl_string type) const
vcl_vector< gmvl_node_sptrget_connected_nodes (const vcl_vector< gmvl_node_sptr > nodes, const vcl_string type) const
gmvl_node_sptr find_tag (const vcl_string &string) const

Protected Attributes

gmvl_node_cache nodecache_
gmvl_connection_cache connectioncache_

Friends

vcl_ostream & operator<< (vcl_ostream &os, const gmvl_database &db)

Detailed Description

Definition at line 21 of file gmvl_database.h.


Member Function Documentation

void gmvl_database::add_connection ( const gmvl_node_sptr  node1,
const gmvl_node_sptr  node2 
)

Definition at line 44 of file gmvl_database.cxx.

void gmvl_database::add_connections ( const gmvl_node_sptr  node1,
vcl_vector< gmvl_node_sptr nodes 
)

Definition at line 55 of file gmvl_database.cxx.

void gmvl_database::add_node ( const gmvl_node_sptr  node)

Definition at line 15 of file gmvl_database.cxx.

gmvl_node_sptr gmvl_database::find_tag ( const vcl_string &  string) const

Definition at line 27 of file gmvl_database.cxx.

vcl_vector< gmvl_node_sptr > gmvl_database::get_connected_nodes ( const gmvl_node_sptr  node) const

Definition at line 69 of file gmvl_database.cxx.

vcl_vector< gmvl_node_sptr > gmvl_database::get_connected_nodes ( const gmvl_node_sptr  node1,
const gmvl_node_sptr  node2 
) const

Definition at line 97 of file gmvl_database.cxx.

vcl_vector< gmvl_node_sptr > gmvl_database::get_connected_nodes ( const gmvl_node_sptr  node1,
const gmvl_node_sptr  node2,
const gmvl_node_sptr  node3 
) const

Definition at line 112 of file gmvl_database.cxx.

vcl_vector< gmvl_node_sptr > gmvl_database::get_connected_nodes ( const vcl_vector< gmvl_node_sptr nodes) const

Definition at line 128 of file gmvl_database.cxx.

vcl_vector< gmvl_node_sptr > gmvl_database::get_connected_nodes ( const gmvl_node_sptr  node,
const vcl_string  type 
) const

Definition at line 82 of file gmvl_database.cxx.

vcl_vector< gmvl_node_sptr > gmvl_database::get_connected_nodes ( const vcl_vector< gmvl_node_sptr nodes,
const vcl_string  type 
) const

Definition at line 141 of file gmvl_database.cxx.

vcl_vector< gmvl_node_sptr > gmvl_database::get_nodes ( const vcl_string  type) const

Definition at line 62 of file gmvl_database.cxx.

void gmvl_database::remove_node ( const gmvl_node_sptr  node)

Definition at line 20 of file gmvl_database.cxx.


Friends And Related Function Documentation

vcl_ostream& operator<< ( vcl_ostream &  os,
const gmvl_database db 
) [friend]

Definition at line 165 of file gmvl_database.cxx.


Member Data Documentation

Definition at line 60 of file gmvl_database.h.

Definition at line 59 of file gmvl_database.h.


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