Generated on Wed Apr 29 2015 11:51:41 for GGL-4.1.2 by doxygen 1.8.3.1
Public Member Functions | Data Fields
sgm::GM_vf2::EdgeLabelComparator Class Reference

#include <GM_vf2.hh>

Inheritance diagram for sgm::GM_vf2::EdgeLabelComparator:
Inheritance graph
[legend]

Public Member Functions

virtual bool compatible (void *pa, void *pb)
 
virtual bool compatibleLabel (const Label &a, const Label &b)
 
 EdgeLabelComparator (const Label &pWildcard)
 

Data Fields

const Label pWildcard
 the label defining the wildcard to use More...
 

Detailed Description

Comparator class for the edge label used in the internal VF-2 data structures

Definition at line 57 of file GM_vf2.hh.

Constructor & Destructor Documentation

sgm::GM_vf2::EdgeLabelComparator::EdgeLabelComparator ( const Label pWildcard)

construction

Parameters
pWildcardaccess to the wildcard label

Member Function Documentation

virtual bool sgm::GM_vf2::EdgeLabelComparator::compatible ( void *  pa,
void *  pb 
)
virtual

comparison of the two pointers and objects.

Parameters
pafirst label pointer, assumed to be the pattern
pbsecond label pointer, assumed to be the target
Returns
true if pa and pb are Label pointers != NULL and pa has a lexicographically smaller text

Implements sgm::VF2_MatchingHandler::LabelComparator.

virtual bool sgm::VF2_MatchingHandler::LabelComparator::compatibleLabel ( const Label a,
const Label b 
)
virtualinherited

comparison of the two Label objects.

Parameters
afirst label
bsecond label
Returns
true if a and b are both Label != 0 and either of them is a wildcard or both are equal

Field Documentation

const Label sgm::VF2_MatchingHandler::LabelComparator::pWildcard
inherited

Definition at line 109 of file VF2_MatchingHandler.hh.


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