Generated on Wed Apr 29 2015 11:51:41 for GGL-4.1.2 by doxygen 1.8.3.1
Public Types | Public Member Functions | Protected Attributes
ggl::GS_STL_pushAllT< STL_CONTAINER > Class Template Reference

Graph storage within STL push-back container. More...

#include <GS_STL.hh>

Inheritance diagram for ggl::GS_STL_pushAllT< STL_CONTAINER >:
Inheritance graph
[legend]

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...
 

Detailed Description

template<class STL_CONTAINER = typename std::vector< Graph >>
class ggl::GS_STL_pushAllT< STL_CONTAINER >

   A ggl::Graph_Storage implementation that pushs each added graph
   to the end of a provided STL container using its "push_back" method.
Template Parameters
STL_CONTAINERa push-back STL container for Graph objects.
Author
Martin Mann (c) 2008 http://www.bioinf.uni-freiburg.de/~mmann/

Definition at line 28 of file GS_STL.hh.

Member Typedef Documentation

template<class STL_CONTAINER = typename std::vector< Graph >>
typedef STL_CONTAINER ggl::GS_STL_pushAllT< STL_CONTAINER >::storage_type

Definition at line 33 of file GS_STL.hh.

Constructor & Destructor Documentation

template<class STL_CONTAINER = typename std::vector< Graph >>
ggl::GS_STL_pushAllT< STL_CONTAINER >::GS_STL_pushAllT ( STL_CONTAINER &  storage)

Construction

Parameters
storagethe STL container to write the graphs to
template<class STL_CONTAINER = typename std::vector< Graph >>
virtual ggl::GS_STL_pushAllT< STL_CONTAINER >::~GS_STL_pushAllT ( )
virtual

Member Function Documentation

template<class STL_CONTAINER = typename std::vector< Graph >>
virtual void ggl::GS_STL_pushAllT< STL_CONTAINER >::add ( const Graph graph)
virtual

Adds the given graph to the internal STL container.

Parameters
graphthe Graph object to add.

Implements ggl::Graph_Storage.

Field Documentation

template<class STL_CONTAINER = typename std::vector< Graph >>
STL_CONTAINER& ggl::GS_STL_pushAllT< STL_CONTAINER >::storage
protected

Definition at line 38 of file GS_STL.hh.


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