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
sgm::MR_StoringInsertT< STL_INSERT_CONTAINER > Class Template Reference

#include <MR_Storing.hh>

Inheritance diagram for sgm::MR_StoringInsertT< STL_INSERT_CONTAINER >:
Inheritance graph
[legend]

Public Types

typedef STL_INSERT_CONTAINER Storage
 

Public Member Functions

 MR_StoringInsertT (STL_INSERT_CONTAINER &storage)
 
virtual void reportHit (const Pattern_Interface &pattern, const Graph_Interface &target, const Match &match)
 
virtual ~MR_StoringInsertT ()
 

Protected Attributes

Storagestorage
 where to store the matches in using its "push_back" method More...
 

Detailed Description

template<class STL_INSERT_CONTAINER>
class sgm::MR_StoringInsertT< STL_INSERT_CONTAINER >

A sgm::Match_Reporter implementation that stores each match mapping within a provided STL container.

STL_INSERT_CONTAINER should allow for "push_back(Match)".

Author
Martin Mann (c) 2009 http://www.bioinf.uni-freiburg.de/~mmann/

Definition at line 102 of file MR_Storing.hh.

Member Typedef Documentation

template<class STL_INSERT_CONTAINER >
typedef STL_INSERT_CONTAINER sgm::MR_StoringInsertT< STL_INSERT_CONTAINER >::Storage

Definition at line 106 of file MR_Storing.hh.

Constructor & Destructor Documentation

template<class STL_INSERT_CONTAINER >
sgm::MR_StoringInsertT< STL_INSERT_CONTAINER >::MR_StoringInsertT ( STL_INSERT_CONTAINER &  storage)
inline

Construction

Parameters
storagethe STL_INSERT_CONTAINER to write to

Definition at line 148 of file MR_Storing.hh.

template<class STL_INSERT_CONTAINER >
sgm::MR_StoringInsertT< STL_INSERT_CONTAINER >::~MR_StoringInsertT ( )
inlinevirtual

Definition at line 155 of file MR_Storing.hh.

Member Function Documentation

template<class STL_INSERT_CONTAINER >
void sgm::MR_StoringInsertT< STL_INSERT_CONTAINER >::reportHit ( const Pattern_Interface pattern,
const Graph_Interface target,
const Match match 
)
inlinevirtual

Adds the match to the STL container without further processing.

Parameters
patternthe pattern graph that was searched for
targetthe graph the pattern was found within
matchcontains the indices of the matched pattern nodes in the target graph. match[i] corresponds to the mapping of the ith vertex in the pattern graph.

Implements sgm::Match_Reporter.

Definition at line 162 of file MR_Storing.hh.

Field Documentation

template<class STL_INSERT_CONTAINER >
Storage& sgm::MR_StoringInsertT< STL_INSERT_CONTAINER >::storage
protected

Definition at line 111 of file MR_Storing.hh.


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