1.1.0
CCC
 
ABiTargetCheck Class Referenceabstract

#include <ABiTargetCheck.hpp>

Inheritance diagram for ABiTargetCheck:
AStringable BiTargetCheckBench BiTargetCheckCell BiTargetCheckCode BiTargetCheckDate BiTargetCheckDistance BiTargetCheckFaults BiTargetCheckGeometry

Public Member Functions

 ABiTargetCheck ()
 
 ABiTargetCheck (const ABiTargetCheck &r)
 
ABiTargetCheckoperator= (const ABiTargetCheck &r)
 
virtual ~ABiTargetCheck ()
 
virtual bool isOK (const SpaceTarget &T1, const SpaceTarget &T2) const =0
 
virtual bool isValid (const Db *dbin, const Db *dbout)
 
- Public Member Functions inherited from AStringable
 AStringable ()
 
 AStringable (const AStringable &r)
 
AStringableoperator= (const AStringable &r)
 
virtual ~AStringable ()
 
virtual String toString (const AStringFormat *strfmt=nullptr) const
 
virtual void display (const AStringFormat *strfmt=nullptr) const final
 
virtual void display (int level) const final
 

Detailed Description

This class performs the test between two Space Points (usually the target point first and the tentative point second) The function isOK returns TRUE if the two space points are "comparable" with respect to the current criterion Examples:

  • if the criterion is based on FAULTS, the method isOK returns TRUE if the two space points are not separated by any fault segment
  • if the criterion is based on DISTANCE, the method isOK returns TRUE if the distance between the two space points is smaller than a threshold distance (registered as a member of the BiTargetCheckDistance class)

Constructor & Destructor Documentation

ABiTargetCheck::ABiTargetCheck ( )
ABiTargetCheck::ABiTargetCheck ( const ABiTargetCheck r)
ABiTargetCheck::~ABiTargetCheck ( )
virtual

Member Function Documentation

virtual bool ABiTargetCheck::isOK ( const SpaceTarget T1,
const SpaceTarget T2 
) const
pure virtual
virtual bool ABiTargetCheck::isValid ( const Db dbin,
const Db dbout 
)
inlinevirtual

Reimplemented in BiTargetCheckBench, and BiTargetCheckCell.

ABiTargetCheck & ABiTargetCheck::operator= ( const ABiTargetCheck r)

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