Refine.cpp

Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2004 CSIRO ICT Centre
00003  *
00004  * $Id: Refine.cpp 587 2004-12-03 15:06:33Z nch $
00005  */
00006 
00007 #include "ObjectPairConsumer.h"
00008 
00009 #include "Refine.h"
00010 
00011 
00012 Refine::Refine(ObjectPairConsumer * mPPCons,
00013                ObjectPairConsumer * uPPCons)
00014     : matchedObjectPairConsumer(mPPCons),
00015       unmatchedObjectPairConsumer(uPPCons)
00016 {
00017 }
00018 
00019 bool Refine::reportMatch(Object const * redObject, Object const * blueObject)
00020 {
00021   return matchedObjectPairConsumer->report(redObject, blueObject);
00022 }
00023 
00024 void Refine::reportNoMatch(Object const * redObject, Object const * blueObject)
00025 {
00026   unmatchedObjectPairConsumer->report(redObject, blueObject);
00027 }
00028 
00029 void Refine::finished()
00030 {
00031   unmatchedObjectPairConsumer->finished();
00032   matchedObjectPairConsumer->finished();
00033 }
Generated on Mon Oct 4 10:39:55 2010 for Matching.kdevelop by  doxygen 1.6.3