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_pushAllPT< STL_CONTAINER > Class Template Reference

Stores new graph pointers in STL push-back container. More...

#include <GS_STL.hh>

Inheritance diagram for ggl::GS_STL_pushAllPT< 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_pushAllPT (STL_CONTAINER &storage)
 
virtual ~GS_STL_pushAllPT ()
 destruction More...
 

Protected Attributes

STL_CONTAINER & storage
 

Detailed Description

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

A ggl::Graph_Storage implementation that pushs a 'new' allocated copy of 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 pointer.
Author
Martin Mann (c) 2008 http://www.bioinf.uni-freiburg.de/~mmann/

Definition at line 91 of file GS_STL.hh.

Member Typedef Documentation

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

Definition at line 96 of file GS_STL.hh.

Constructor & Destructor Documentation

template<class STL_CONTAINER = typename std::vector< Graph* >>
ggl::GS_STL_pushAllPT< STL_CONTAINER >::GS_STL_pushAllPT ( 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_pushAllPT< STL_CONTAINER >::~GS_STL_pushAllPT ( )
virtual

Member Function Documentation

template<class STL_CONTAINER = typename std::vector< Graph* >>
virtual void ggl::GS_STL_pushAllPT< 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_pushAllPT< STL_CONTAINER >::storage
protected

Definition at line 100 of file GS_STL.hh.


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