Horus Doc || C++ Reference || Class Overview   Pixels   Images   Detector   Geometry   Registry || Doxygen's quick Index  

HxIfRbPair Class Reference

Representation for the result of a query of the rule base. More...

#include <HxImgFtorRuleBase.h>

List of all members.

Public Methods

 HxIfRbPair ()
 Constructor. More...

 HxIfRbPair (HxImageSignature s, bool f=true)
 Constructor. More...

 operator int ()
 Cast found to an integer. More...

 operator HxImageSignature ()
 Cast result to an HxImageSignature. More...


Public Attributes

bool found
 Was it really found? More...

HxImageSignature sig
 The result. More...


Detailed Description

Representation for the result of a query of the rule base.

The result is basically an HxImageSignature annotaed with a flag "found" telling whether the result was actually found in the rule base or was constructed from a default image signature.


Constructor & Destructor Documentation

HxIfRbPair::HxIfRbPair   [inline]
 

Constructor.

00027 {}

HxIfRbPair::HxIfRbPair HxImageSignature    s,
bool    f = true
[inline]
 

Constructor.

00031                                     : sig(s), found(f) {}


Member Function Documentation

HxIfRbPair::operator int   [inline]
 

Cast found to an integer.

00039 { return found ? 1 : 0; }

HxIfRbPair::operator HxImageSignature   [inline]
 

Cast result to an HxImageSignature.

00041 { return sig; }


Member Data Documentation

bool HxIfRbPair::found
 

Was it really found?

HxImageSignature HxIfRbPair::sig
 

The result.


The documentation for this class was generated from the following file:
Generated on Tue Feb 3 14:18:55 2004 for C++Reference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001