Graph storage within STL push-back container. More...
#include <GS_STL.hh>
Public Types | |
typedef STL_CONTAINER | storage_type |
type of STL container of graphs this graph storage uses More... | |
Public Member Functions | |
virtual void | add (const Graph &graph) |
GS_STL_pushAllT (STL_CONTAINER &storage) | |
virtual | ~GS_STL_pushAllT () |
destruction More... | |
Protected Attributes | |
STL_CONTAINER & | storage |
the STL container to write the graphs to More... | |
A ggl::Graph_Storage implementation that pushs each added graph to the end of a provided STL container using its "push_back" method.
STL_CONTAINER | a push-back STL container for Graph objects. |
typedef STL_CONTAINER ggl::GS_STL_pushAllT< STL_CONTAINER >::storage_type |
ggl::GS_STL_pushAllT< STL_CONTAINER >::GS_STL_pushAllT | ( | STL_CONTAINER & | storage | ) |
Construction
storage | the STL container to write the graphs to |
|
virtual |
|
virtual |
Adds the given graph to the internal STL container.
graph | the Graph object to add. |
Implements ggl::Graph_Storage.
|
protected |