OOFILE  1.9
Public Member Functions | List of all members
dbCharStripperCalculator Class Reference

Calculator to strip all embedded characters. More...

#include <oof3.h>

Inheritance diagram for dbCharStripperCalculator:
Inheritance graph
[legend]
Collaboration diagram for dbCharStripperCalculator:
Collaboration graph
[legend]

Public Member Functions

virtual const char * calc (const dbChar *)
 
virtual dbCalculatorclone () const
 
virtual dbCalculatorcloneOwned (dbField *) const
 
 dbCharStripperCalculator (dbChar &stripsField, char toStrip= ' ')
 

Detailed Description

Calculator to strip all embedded characters.

Defaults to stripping spaces. Use by attaching to a dbChar.

Definition at line 236 of file oof3.h.

Constructor & Destructor Documentation

dbCharStripperCalculator::dbCharStripperCalculator ( dbChar stripsField,
char  toStrip = ' ' 
)

Definition at line 1415 of file oof3.cpp.

Referenced by clone(), and cloneOwned().

Member Function Documentation

const char * dbCharStripperCalculator::calc ( const dbChar )
virtual

Implements dbCharCalculator.

Definition at line 1422 of file oof3.cpp.

References dbChar::asChars(), and oofString::stripChar().

dbCalculator * dbCharStripperCalculator::clone ( ) const
virtual

Implements dbCalculator.

Definition at line 1431 of file oof3.cpp.

References dbCharStripperCalculator().

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

Reimplemented from dbCalculator.

Definition at line 1438 of file oof3.cpp.

References dbCharStripperCalculator(), dbTable::field(), dbField::fieldNumber(), and dbField::fieldTable().


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