OOFILE  1.9
Public Member Functions | List of all members
dbCalculator Class Referenceabstract

Base class for a calculator attached to a dbField. More...

#include <oof3.h>

Inheritance diagram for dbCalculator:
Inheritance graph
[legend]

Public Member Functions

virtual dbCalculatorclone () const =0
 
virtual dbCalculatorcloneOwned (dbField *newOwner) const
 
virtual ~dbCalculator ()
 

Detailed Description

Base class for a calculator attached to a dbField.

The calculator will be used to supply the value for the field, either always or just a default to initialise an empty field.

See also
dbField::calculateWith for how you attach calculators.
In general, calculated fields do not occupy storage space. However, the author of a specific calculated field may do something to cause another field to be allocated in the database. Also, indexed calculated fields will normally allocate a field to contain the indexed value. This makes them very fast to search.

Definition at line 46 of file oof3.h.

Constructor & Destructor Documentation

virtual dbCalculator::~dbCalculator ( )
inlinevirtual

Definition at line 50 of file oof3.h.

Member Function Documentation

virtual dbCalculator* dbCalculator::clone ( ) const
pure virtual

Implemented in dbCharStripperCalculator.

Referenced by cloneOwned().

dbCalculator * dbCalculator::cloneOwned ( dbField newOwner) const
virtual

Reimplemented in dbCharStripperCalculator.

Definition at line 1406 of file oof3.cpp.

References clone().

Referenced by dbField::dbField().


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