OOFILE  1.9
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
dbNumericField Class Referenceabstract

Persistent base for fields which can be represented as numbers. More...

#include <oof4.h>

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

Public Types

enum  { kKeyLengthAutoCalculated = USHRT_MAX }
 
enum  FieldIsStandaloneT { eFieldIsStandalone }
 

Public Member Functions

virtual const char * asChars () const
 
dbQueryTrinary between (long, long) const
 
bool caseSensitive () const
 
virtual void clear ()
 
virtual dbFieldclone () const =0
 
virtual oofString copyString () const
 
virtual void copyValueFrom (const dbField *)
 
virtual void copyValueIfDifferent (const dbField *)
 
virtual void describe (std::ostream &) const
 Provide human-readable information about object. More...
 
dbQueryBinary equal (long) const
 
dbFieldequivalentFieldFromTable (dbTable *) const
 
virtual void extract (std::ostream &) const
 
unsigned long fieldDataLen () const
 
bool fieldIndexIgnoresNulls () const
 
bool fieldIndexIsCompressLeading () const
 
bool fieldIndexIsCompressPadding () const
 
OOF_IndexOptions fieldIndexOptions () const
 
virtual bool fieldIsBinary () const
 
virtual bool fieldIsBlob () const
 
virtual bool fieldIsIndexed () const
 
bool fieldIsJoinKey () const
 Checks if any relationships in field's table use field as join key. More...
 
virtual bool fieldIsKeywordIndexed () const
 
bool fieldIsPartiallyIndexed () const
 
virtual bool fieldIsSameTypeAs (const dbField *) const
 
bool fieldIsStandalone () const
 
virtual bool fieldIsUniqueIndexed () const
 
virtual bool fieldIsVirtual () const
 
unsigned short fieldKeyLen () const
 
virtual unsigned long fieldMinWrapWidth () const
 
virtual const oofStringfieldName () const
 
fieldNumT fieldNumber () const
 
unsigned short fieldNumIndexes () const
 
virtual unsigned long fieldStorageLen () const =0
 
dbTablefieldTable () const
 
virtual OOF_fieldTypes fieldType () const =0
 
virtual unsigned long fieldUsualWrapWidth () const
 
const oofStringformatMask () const
 
void formatMask (const char *)
 
virtual void generateTestData (bool, unsigned long)
 
virtual void getChars (char *ioBuff, unsigned long &outLen) const
 
dbQueryBinary greaterThan (long) const
 
dbQueryBinary greaterThanOrEqual (long) const
 
bool hasDefaultCalculator () const
 
bool hidden () const
 
void hide (bool hideIt=true)
 
void index (const OOF_IndexOptions=kIndexed)
 
void indexPartialKeyLen (unsigned short)
 
virtual bool insert (std::istream &, char fieldSep, char recSep)
 
bool isDirty () const
 
virtual bool isEmpty () const
 
dbQueryBinary lessThan (long) const
 
dbQueryBinary lessThanOrEqual (long) const
 
virtual dbQueryLiteralmakeQueryLiteral (long) const
 
virtual oofString name () const
 
virtual OOF_fieldTypes nativeType () const
 
dbQueryBinary notEqual (long) const
 
dbQueryBinary operator!= (long) const
 
void operator*= (long)
 
void operator*= (double)
 
void operator+= (long)
 
void operator+= (double)
 
void operator-= (long)
 
void operator-= (double)
 
void operator/= (long)
 
void operator/= (double)
 
dbQueryBinary operator< (long) const
 
dbQueryBinary operator<= (long) const
 
dbQueryBinary operator== (long) const
 
dbQueryBinary operator> (long) const
 
dbQueryBinary operator>= (long) const
 
dbQueryTrinary outside (long, long) const
 
virtual void postCloneTableCleanup ()
 
void saveDefaultCalculatedValue ()
 
void saveStoredCalculatedValue ()
 
void setName (const char *name)
 
virtual void setNumber (long)
 
virtual void setString (const char *)
 
void storeCalculatedValues ()
 
bool storesCalculatedValues () const
 
const char * tableName () const
 
void useCalculatorOnlyForDefaults ()
 
bool usingCalculator () const
 
virtual bool validateContents ()
 
virtual dbQueryClausevalueAsQueryLiteral () const
 
bool valueIsDuplicate () const
 
virtual oofWordParserwords () const
 

Static Public Member Functions

static TOKEN get_token (const char **s, const OOF_TOKENTYPE *m, unsigned int len)
 
static void parseMask (const char *s, TOKEN *r, const OOF_TOKENTYPE *map, unsigned int len)
 

Public Attributes

OOF_String mFormatMask
 

Protected Member Functions

void CalculateWith (dbCalculator *adoptedCalculator, bool useOnlyForDefaults)
 
virtual void CopyCalculatedValueToBuffer ()
 
 dbNumericField (const OOF_IndexOptions)
 
 dbNumericField (const char *fieldName=0)
 
 dbNumericField (const char *fieldName, const OOF_IndexOptions)
 
 dbNumericField (dbField::FieldIsStandaloneT k)
 
virtual ~dbNumericField ()
 

Static Protected Member Functions

static void CheckRange (double d, long minL, long maxL, const char *file, int line)
 
static void CheckRange (long l, long minL, long maxL, const char *file, int line)
 
static void CheckRange (unsigned long l, unsigned long max, const char *file, int line)
 

Protected Attributes

OOF_tableBackendmBackend
 
dbCalculatormCalculator
 
fieldNumT mFieldNumber
 
bool mHidden
 
dbTablemTable
 

Detailed Description

Persistent base for fields which can be represented as numbers.

Provides extra search and bases for common numeric operators.

Definition at line 166 of file oof4.h.

Constructor & Destructor Documentation

dbNumericField::dbNumericField ( const OOF_IndexOptions  indexOptions)
protected

Definition at line 24 of file oof4.cpp.

dbNumericField::dbNumericField ( const char *  fieldName = 0)
protected

Definition at line 29 of file oof4.cpp.

dbNumericField::dbNumericField ( const char *  fieldName,
const OOF_IndexOptions  indexOptions 
)
protected

Definition at line 34 of file oof4.cpp.

dbNumericField::dbNumericField ( dbField::FieldIsStandaloneT  k)
inlineprotected

Definition at line 171 of file oof4.h.

virtual dbNumericField::~dbNumericField ( )
inlineprotectedvirtual

Definition at line 173 of file oof4.h.

Member Function Documentation

const char * dbField::asChars ( ) const
virtualinherited
dbQueryTrinary dbNumericField::between ( long  fromNum,
long  toNum 
) const

Definition at line 48 of file oof4.cpp.

References dbQueryClause::between, and makeQueryLiteral().

Referenced by dbDate::between(), dbTime::between(), and dbDateTime::between().

void dbField::CalculateWith ( dbCalculator adoptedCalculator,
bool  useOnlyForDefaults 
)
protectedinherited
bool dbField::caseSensitive ( ) const
inlineinherited

Definition at line 747 of file oof3.h.

References kIndexCaseSensitive.

void dbNumericField::CheckRange ( double  d,
long  minL,
long  maxL,
const char *  file,
int  line 
)
staticprotected
void dbNumericField::CheckRange ( long  l,
long  minL,
long  maxL,
const char *  file,
int  line 
)
staticprotected

Definition at line 455 of file oof4.cpp.

References RAISE_EXCEPTION.

void dbNumericField::CheckRange ( unsigned long  l,
unsigned long  max,
const char *  file,
int  line 
)
staticprotected

Definition at line 474 of file oof4.cpp.

References RAISE_EXCEPTION.

void dbNumericField::clear ( )
virtual

Reimplemented from dbField.

Definition at line 41 of file oof4.cpp.

References dbField::setNumber().

virtual dbField* dbField::clone ( ) const
pure virtualinherited
void dbField::CopyCalculatedValueToBuffer ( )
protectedvirtualinherited
oofString dbField::copyString ( ) const
virtualinherited

Reimplemented in dbText, and dbChar.

Definition at line 472 of file oof3.cpp.

References dbField::extract().

Referenced by dbFieldLink::copyFieldToLink(), dbFieldLink::copyLinkToField(), oofRepGraphBand_CSVRender::draw(), oofRepGraphBand_TSVRender::draw(), oofRepViewBand_HTMLRender::draw(), oofRepViewBand_CSVRender::draw(), oofRepViewBand_TSVRender::draw(), oofRepViewBand_WinRender::draw(), oofRepViewBand_MacRender::draw(), oofRepViewBand_RTFRender::draw(), dbRepHTML::drawColumnar(), dbRepHTMLTable::drawColumnar(), dbRepChar::drawColumnar(), dbRepHTML::drawPageWise(), dbRepHTMLTable::drawPageWise(), dbRepChar::drawPageWise(), dbRep::extract(), oofColumnGraph::finishConstruction(), oofPointGraph::finishConstruction(), oofLineGraph::finishConstruction(), oofBarGraph::finishConstruction(), oofStackedBarGraph::finishConstruction(), oofOrdinalStackedBarGraph::finishConstruction(), oofPieGraph::finishConstruction(), oofRepViewEditLink::getCellText(), oofRepFieldBlock::getCellText(), OOF_mixOutlineItem::GetDrawContentsFromView(), dbDate::getStr255(), dbDateTime::getStr255(), dbFieldLink::linkEqualsField(), oofRepFieldBlock::MiddleText(), oofRepCustomViewDrawer::plainText(), OOF_simpleRecordBackend::recordNumberMatching(), OOF_simpleRecordBackend::SearchEqualNonIndexedWildcard(), OOF_simpleRecordBackend::SearchNotEqualNonIndexedWildcard(), OOF_simpleRecordBackend::searchSelContainsAllOf(), OOF_simpleRecordBackend::searchSelContainsAnyOf(), dbGUIAdaptLPopupButton::setValueList(), OOF_simpleRecordBackend::SubSort(), dbFieldLink::validToLeaveForm(), and oofXMLDBWriter::writeRecord().

virtual void dbField::copyValueFrom ( const dbField )
inlinevirtualinherited

Reimplemented in dbDateTime, dbTime, dbDate, dbReal, dbText, dbUlong, dbLong, dbBool, dbUshort, dbChar, and dbShort.

Definition at line 140 of file oof3.h.

Referenced by dbTable::copyRecFrom(), and dbFieldCopier::receiveMsg().

virtual void dbField::copyValueIfDifferent ( const dbField )
inlinevirtualinherited
void dbField::describe ( std::ostream &  ) const
virtualinherited

Provide human-readable information about object.

Overriden to provide much more detail particularly for dbTable::describe() which provides full schema.

Reimplemented from OOF_PublicBase.

Reimplemented in dbFixedBinary, dbChar, and dbRelRefBase.

Definition at line 544 of file oof3.cpp.

References dbField::fieldIndexOptions(), dbField::fieldIsIndexed(), dbField::fieldType(), and oofString::isEmpty().

Referenced by dbChar::describe(), dbFixedBinary::describe(), and dbTable::setSortOrder().

dbQueryBinary dbNumericField::equal ( long  n) const

Definition at line 320 of file oof4.cpp.

References dbQueryClause::equals, and makeQueryLiteral().

dbField * dbField::equivalentFieldFromTable ( dbTable baseTable) const
inherited
void dbField::extract ( std::ostream &  ) const
virtualinherited
unsigned long dbField::fieldDataLen ( ) const
inlineinherited
bool dbField::fieldIndexIgnoresNulls ( ) const
inlineinherited

Definition at line 699 of file oof3.h.

References kIndexNoNulls.

Referenced by OOF_ctreeBackend::countAll().

bool dbField::fieldIndexIsCompressLeading ( ) const
inlineinherited

Definition at line 707 of file oof3.h.

References kIndexCompressLeading.

bool dbField::fieldIndexIsCompressPadding ( ) const
inlineinherited

Definition at line 715 of file oof3.h.

References kIndexCompressPadding.

OOF_IndexOptions dbField::fieldIndexOptions ( ) const
inlineinherited

Definition at line 678 of file oof3.h.

Referenced by dbField::describe().

bool dbField::fieldIsBinary ( ) const
virtualinherited

Reimplemented in dbText, and dbChar.

Definition at line 393 of file oof3.cpp.

bool dbField::fieldIsBlob ( ) const
virtualinherited
bool dbField::fieldIsIndexed ( ) const
virtualinherited
bool dbField::fieldIsJoinKey ( ) const
inherited

Checks if any relationships in field's table use field as join key.

Relatively expensive because it's iterating over all fields but all the function calls below are inline queries so will compile down well in release mode.

WARNING Doesn't fan out - if any other tables use this field as a join key then they are doing really weird stuff and the application programmer must add their own checks.

This feature originally added to support OOF_repEditSetupVisitor::VisitViewBandBody

Definition at line 327 of file oof3.cpp.

References dbTable::field(), dbField::fieldIsStandalone(), dbField::fieldType(), dbRelRefBase::joinField(), dbField::mFieldNumber, dbField::mTable, dbTable::numFields(), and relationshipField.

Referenced by OOF_repEditSetupVisitor::VisitIterableBandBody().

bool dbField::fieldIsKeywordIndexed ( ) const
virtualinherited

Reimplemented in dbText, and dbChar.

Definition at line 415 of file oof3.cpp.

Referenced by OOF_ctreeBackend::BuildBackendtables().

bool dbField::fieldIsPartiallyIndexed ( ) const
inlineinherited

Definition at line 692 of file oof3.h.

References dbField::kKeyLengthAutoCalculated.

Referenced by dbField::fieldKeyLen().

bool dbField::fieldIsSameTypeAs ( const dbField rhs) const
virtualinherited
bool dbField::fieldIsStandalone ( ) const
inlineinherited
bool dbField::fieldIsUniqueIndexed ( ) const
virtualinherited
bool dbField::fieldIsVirtual ( ) const
virtualinherited
unsigned short dbField::fieldKeyLen ( ) const
inherited
unsigned long dbNumericField::fieldMinWrapWidth ( ) const
virtual

Reimplemented from dbField.

Definition at line 493 of file oof4.cpp.

References dbField::fieldStorageLen(), oofString::length(), and mFormatMask.

const oofString & dbField::fieldName ( ) const
inlinevirtualinherited

Reimplemented in dbRelRefBase.

Definition at line 769 of file oof3.h.

Referenced by dbView::AppendOwnedField(), OOF_ramBackend::BuildBackendtables(), OOF_dbaseBackend::BuildBackendtables(), OOF_ctreeBackend::BuildBackendtables(), dbShort::copyValueFrom(), dbChar::copyValueFrom(), dbUshort::copyValueFrom(), dbBool::copyValueFrom(), dbLong::copyValueFrom(), dbUlong::copyValueFrom(), dbText::copyValueFrom(), dbReal::copyValueFrom(), dbDate::copyValueFrom(), dbTime::copyValueFrom(), dbDateTime::copyValueFrom(), dbShort::copyValueIfDifferent(), dbChar::copyValueIfDifferent(), dbUshort::copyValueIfDifferent(), dbBool::copyValueIfDifferent(), dbLong::copyValueIfDifferent(), dbUlong::copyValueIfDifferent(), dbText::copyValueIfDifferent(), dbReal::copyValueIfDifferent(), dbDate::copyValueIfDifferent(), dbTime::copyValueIfDifferent(), dbDateTime::copyValueIfDifferent(), OOF_dbaseBackend::createTableInConnection(), dbView::currentHeading(), dbRelRefBase::describe(), dbQueryField::describe(), dbRepHTML::drawHeader(), dbRepHTMLTable::drawHeader(), dbRepChar::drawHeader(), dbRepHTML::drawPageWise(), dbRepHTMLTable::drawPageWise(), dbRepChar::drawPageWise(), oofXMLdataParser::EnterNestedData(), dbRep::extract(), oofE_CtreeBlobError::extract(), dbRelRefBase::fieldName(), oofColumnGraph::finishConstruction(), oofPointGraph::finishConstruction(), oofLineGraph::finishConstruction(), oofXYGraph::finishConstruction(), oofBarGraph::finishConstruction(), oofStackedBarGraph::finishConstruction(), oofOrdinalStackedBarGraph::finishConstruction(), dbView::getHeading(), dbQueryField::getSearchTables(), dbChar::insert(), dbText::insert(), dbField::name(), OOF_simpleRecordBackend::sortSelectionInverseNow(), OOF_simpleRecordBackend::sortSelectionNow(), oofXMLdataParser::startElement(), oofXMLDBWriter::startSchema(), OOF_repXMLschemaVisitor::UniquifyTables(), dbFieldLink::validToLeaveForm(), and oofXMLDBWriter::writeRecord().

fieldNumT dbField::fieldNumber ( ) const
inlineinherited
unsigned short dbField::fieldNumIndexes ( ) const
inlineinherited

Definition at line 723 of file oof3.h.

References kNotIndexed.

Referenced by OOF_ctreeBackend::BuildBackendtables().

virtual unsigned long dbField::fieldStorageLen ( ) const
pure virtualinherited
dbTable * dbField::fieldTable ( ) const
inherited
virtual OOF_fieldTypes dbField::fieldType ( ) const
pure virtualinherited

Implemented in dbDateTime, dbTime, dbDate, dbCompoundField, dbFixedBinary, dbReal, dbUlong, dbText, dbLong, dbBLOB, dbBool, dbUshort, dbShort, dbChar, and dbRelRefBase.

Referenced by dbCompoundField::addSegment(), OOF_ctreeBackend::BuildBackendtables(), dbShort::copyValueFrom(), dbChar::copyValueFrom(), dbUshort::copyValueFrom(), dbBool::copyValueFrom(), dbLong::copyValueFrom(), dbUlong::copyValueFrom(), dbText::copyValueFrom(), dbReal::copyValueFrom(), dbDate::copyValueFrom(), dbTime::copyValueFrom(), dbDateTime::copyValueFrom(), dbShort::copyValueIfDifferent(), dbChar::copyValueIfDifferent(), dbUshort::copyValueIfDifferent(), dbBool::copyValueIfDifferent(), dbLong::copyValueIfDifferent(), dbUlong::copyValueIfDifferent(), dbText::copyValueIfDifferent(), dbReal::copyValueIfDifferent(), dbDate::copyValueIfDifferent(), dbTime::copyValueIfDifferent(), dbDateTime::copyValueIfDifferent(), OOF_dbaseBackend::createTableInConnection(), dbField::describe(), oofRepViewBand_HTMLRender::draw(), oofRepViewBand_WinRender::draw(), oofRepViewBand_MacRender::draw(), oofRepViewBand_RTFRender::draw(), oofRepViewBand_WinRender::drawColumnHeaders(), oofRepViewBand_MacRender::drawColumnHeaders(), oofRepViewBand_RTFRender::drawColumnHeaders(), oofRepViewBand_WinRender::DrawContinuingOverPage(), oofRepViewBand_MacRender::DrawContinuingOverPage(), dbField::equivalentFieldFromTable(), OOF_simpleRecordBackend::fieldDataLen(), dbField::fieldIsJoinKey(), dbField::fieldIsSameTypeAs(), oofXMLDBWriter::fieldtype2Attributes(), dbViewAsTableStorage::FindCellData(), OOF_mixOutlineItem::findOIDforData(), oofOrdinalStackedBarGraph::finishConstruction(), dbTable::generateTestData(), dbQueryBinary::isSimpleIndexedSearch(), dbAbstractEditHelper::linkAdapter(), OOF_simpleRecordBackend::loadRelatedContextJoiningFromTo(), dbTable::makeView(), dbField::nativeType(), OOF_simpleRecordBackend::PadFieldWidthForAlignment(), dbTable::postCloneRecordCleanup(), OOF_simpleRecordBackend::recordNumberMatching(), dbTable::relateAllDeletables(), dbGUIAdaptEditPane::setFieldLink(), OOF_simpleRecordBackend::sortSelectionInverseNow(), OOF_simpleRecordBackend::sortSelectionNow(), oofXMLdataParser::startElement(), OOF_simpleRecordBackend::SubSort(), and OOF_repXMLlayoutVisitor::WriteColumns().

unsigned long dbField::fieldUsualWrapWidth ( ) const
virtualinherited

Reimplemented in dbText, and dbChar.

Definition at line 235 of file oof3.cpp.

References dbField::fieldMinWrapWidth().

Referenced by oofViewFieldDefaultsColSizer::CalculateDefaultWidths().

const oofString & dbNumericField::formatMask ( ) const
inline
void dbNumericField::formatMask ( const char *  str)
inline

Definition at line 1388 of file oof4.h.

References mFormatMask.

virtual void dbField::generateTestData ( bool  ,
unsigned long   
)
inlinevirtualinherited

Reimplemented in dbDateTime, dbTime, dbDate, dbReal, dbFixedBinary, dbText, dbUlong, dbLong, dbBLOB, dbBool, dbUshort, dbChar, and dbShort.

Definition at line 147 of file oof3.h.

Referenced by dbTable::generateTestData().

TOKEN dbNumericField::get_token ( const char **  s,
const OOF_TOKENTYPE m,
unsigned int  len 
)
static

Definition at line 142 of file oof5.cpp.

References eNUM, eOTHER, TOKEN::s, SLEN, TOKEN::token, TOKEN::value, vlen, and vocab.

void dbField::getChars ( char *  ioBuff,
unsigned long &  outLen 
) const
virtualinherited

Reimplemented in dbText, and dbChar.

Definition at line 481 of file oof3.cpp.

References dbField::extract().

Referenced by dbViewAsTableStorage::GetCellData().

dbQueryBinary dbNumericField::greaterThan ( long  n) const

Definition at line 348 of file oof4.cpp.

References dbQueryClause::greaterThan, and makeQueryLiteral().

dbQueryBinary dbNumericField::greaterThanOrEqual ( long  n) const

Definition at line 355 of file oof4.cpp.

References dbQueryClause::greaterThanOrEqual, and makeQueryLiteral().

bool dbField::hasDefaultCalculator ( ) const
inlineinherited
bool OOF_PublicBase::hidden ( ) const
inlineinherited

Definition at line 51 of file oof1.h.

Referenced by OOF_Dictionary::EntryMatchesVisibility().

void OOF_PublicBase::hide ( bool  hideIt = true)
inlineinherited

Definition at line 52 of file oof1.h.

void dbField::index ( const OOF_IndexOptions  indexOpt = kIndexed)
inherited

Definition at line 212 of file oof3.cpp.

Referenced by dbRelRefBase::joinField(), and dbRelRefBase::SetCommonRelationshipFields().

void dbField::indexPartialKeyLen ( unsigned short  inLen)
inlineinherited

Definition at line 685 of file oof3.h.

bool dbField::insert ( std::istream &  ,
char  fieldSep,
char  recSep 
)
virtualinherited

Reimplemented in dbDateTime, dbTime, dbDate, dbReal, dbText, dbUlong, dbLong, dbBool, dbUshort, dbChar, and dbShort.

Definition at line 513 of file oof3.cpp.

Referenced by dbChar::insert(), dbText::insert(), dbTable::insert(), and operator>>().

bool dbField::isDirty ( ) const
inherited
bool dbField::isEmpty ( ) const
virtualinherited

Reimplemented in dbDateTime, dbDate, dbBLOB, and dbChar.

Definition at line 170 of file oof3.cpp.

Referenced by OOF_ctreeKeywordIndex::updateWords().

dbQueryBinary dbNumericField::lessThan ( long  n) const

Definition at line 334 of file oof4.cpp.

References dbQueryClause::lessThan, and makeQueryLiteral().

dbQueryBinary dbNumericField::lessThanOrEqual ( long  n) const

Definition at line 341 of file oof4.cpp.

References dbQueryClause::lessThanOrEqual, and makeQueryLiteral().

dbQueryLiteral * dbNumericField::makeQueryLiteral ( long  n) const
virtual
oofString dbField::name ( ) const
virtualinherited

Reimplemented from OOF_PublicBase.

Definition at line 156 of file oof3.cpp.

References dbField::fieldName().

Referenced by dbField::setName().

OOF_fieldTypes dbField::nativeType ( ) const
virtualinherited
dbQueryBinary dbNumericField::notEqual ( long  n) const

Definition at line 327 of file oof4.cpp.

References makeQueryLiteral(), and dbQueryClause::notEquals.

dbQueryBinary dbNumericField::operator!= ( long  n) const
void dbNumericField::operator*= ( long  )

Definition at line 389 of file oof4.cpp.

void dbNumericField::operator*= ( double  )

Definition at line 425 of file oof4.cpp.

void dbNumericField::operator+= ( long  )

Definition at line 380 of file oof4.cpp.

void dbNumericField::operator+= ( double  )

Definition at line 416 of file oof4.cpp.

void dbNumericField::operator-= ( long  )

Definition at line 371 of file oof4.cpp.

void dbNumericField::operator-= ( double  )

Definition at line 407 of file oof4.cpp.

void dbNumericField::operator/= ( long  )

Definition at line 362 of file oof4.cpp.

void dbNumericField::operator/= ( double  )

Definition at line 398 of file oof4.cpp.

dbQueryBinary dbNumericField::operator< ( long  n) const
dbQueryBinary dbNumericField::operator<= ( long  n) const
dbQueryBinary dbNumericField::operator== ( long  n) const
dbQueryBinary dbNumericField::operator> ( long  n) const
dbQueryBinary dbNumericField::operator>= ( long  n) const
dbQueryTrinary dbNumericField::outside ( long  fromNum,
long  toNum 
) const

Definition at line 56 of file oof4.cpp.

References makeQueryLiteral(), and dbQueryClause::outside.

Referenced by dbDate::outside(), dbTime::outside(), and dbDateTime::outside().

void dbNumericField::parseMask ( const char *  s,
TOKEN r,
const OOF_TOKENTYPE map,
unsigned int  len 
)
static

Definition at line 193 of file oof5.cpp.

References eACT, eDEA, eEOT, eOTHER, MAXTOKENS, TOKEN::s, and TOKEN::token.

virtual void dbField::postCloneTableCleanup ( )
inlinevirtualinherited

Reimplemented in dbRelRefBase.

Definition at line 77 of file oof3.h.

Referenced by dbTable::postCloneTableCleanup().

void dbField::saveDefaultCalculatedValue ( )
inherited
void dbField::saveStoredCalculatedValue ( )
inherited

Definition at line 282 of file oof3.cpp.

References dbField::CopyCalculatedValueToBuffer().

Referenced by OOF_simpleRecordBackend::saveRecord().

void dbField::setName ( const char *  name)
inherited

Definition at line 195 of file oof3.cpp.

References dbField::name().

Referenced by dbView::AppendOwnedField(), and OOF_repXMLschemaVisitor::UniquifyTables().

virtual void dbField::setNumber ( long  )
inlinevirtualinherited

Reimplemented in dbDateTime, dbDate, dbReal, dbText, dbUlong, dbLong, dbBool, dbUshort, dbChar, and dbShort.

Definition at line 133 of file oof3.h.

Referenced by clear().

virtual void dbField::setString ( const char *  )
inlinevirtualinherited
void dbField::storeCalculatedValues ( )
inlineinherited

Definition at line 813 of file oof3.h.

Referenced by OOF_ctreeBackend::BuildBackendtables().

bool dbField::storesCalculatedValues ( ) const
inlineinherited

Definition at line 806 of file oof3.h.

Referenced by OOF_simpleRecordBackend::GetFieldWriteDest().

const char * dbField::tableName ( ) const
inherited
void dbField::useCalculatorOnlyForDefaults ( )
inlineinherited

Definition at line 799 of file oof3.h.

Referenced by dbField::CalculateWith().

bool dbField::usingCalculator ( ) const
inherited
bool dbField::validateContents ( )
virtualinherited

Definition at line 177 of file oof3.cpp.

dbQueryClause * dbField::valueAsQueryLiteral ( ) const
virtualinherited
bool dbField::valueIsDuplicate ( ) const
inherited
oofWordParser * dbField::words ( ) const
virtualinherited

Reimplemented in dbText, and dbChar.

Definition at line 251 of file oof3.cpp.

Referenced by OOF_simpleRecordBackend::SearchWordNonIndexed(), and OOF_ctreeKeywordIndex::updateWords().

Member Data Documentation

OOF_tableBackend* dbField::mBackend
protectedinherited
dbCalculator* dbField::mCalculator
protectedinherited
fieldNumT dbField::mFieldNumber
protectedinherited
OOF_String dbNumericField::mFormatMask

Definition at line 253 of file oof4.h.

Referenced by dbDate::extract(), dbDateTime::extract(), fieldMinWrapWidth(), and formatMask().

bool OOF_PublicBase::mHidden
protectedinherited

Definition at line 61 of file oof1.h.

dbTable* dbField::mTable
protectedinherited

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