Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

dbCalculator Class Reference
[OOFILE Database package]

#include <oof3.h>

Inheritance diagram for dbCalculator:

Inheritance graph
[legend]
List of all members.

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.


Public Member Functions

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


Constructor & Destructor Documentation

virtual dbCalculator::~dbCalculator  )  [inline, virtual]
 


Member Function Documentation

virtual dbCalculator* dbCalculator::clone  )  const [pure virtual]
 

Implemented in dbCharStripperCalculator.

dbCalculator * dbCalculator::cloneOwned dbField newOwner  )  const [virtual]
 

Reimplemented in dbCharStripperCalculator.


The documentation for this class was generated from the following files:
Generated on Fri Jan 2 00:48:03 2004 for OOFILE by doxygen 1.3.5