OOFILE  1.9
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members

Use to have local non-persistent variable of type dbChar. More...

#include <oof4.h>

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

Public Types

enum  { kKeyLengthAutoCalculated = USHRT_MAX }
 
enum  FieldIsStandaloneT { eFieldIsStandalone }
 

Public Member Functions

virtual const char * asChars () const
 
dbQueryTrinary between (const char *, const char *) const
 
dbCharcalculateWith (dbCharCalculator *adoptedCalculator, bool useOnlyForDefaults=false)
 
dbCharCalculatorcalculator () const
 
bool caseSensitive () const
 
virtual void clear ()
 
virtual dbFieldclone () const
 
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...
 
dbFieldequivalentFieldFromTable (dbTable *) const
 
virtual void extract (std::ostream &os) 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
 
dbTablefieldTable () const
 
virtual OOF_fieldTypes fieldType () const
 
virtual unsigned long fieldUsualWrapWidth () const
 Returns fixed width of the field. More...
 
virtual void generateTestData (bool generateRandom, unsigned long seedOrCount)
 
virtual void getChars (char *ioBuff, unsigned long &ioLen) const
 
void getStr255 (Str255 s) const
 
dbQueryBinary hasAllWordsDelimited (const char *, char delimiter)
 
dbQueryBinary hasAllWordsOf (const char **schStrs, unsigned long count)
 
dbQueryBinary hasAllWordsOf (oofWordParser *)
 
dbQueryBinary hasAllWordsStartsWithDelimited (const char *, char delimiter)
 
dbQueryBinary hasAllWordsStartsWithOf (const char **schStrs, unsigned long count)
 
dbQueryBinary hasAllWordsStartsWithOf (oofWordParser *)
 
dbQueryBinary hasAnyWordsDelimited (const char *, char delimiter)
 
dbQueryBinary hasAnyWordsOf (const char **schStrs, unsigned long count)
 
dbQueryBinary hasAnyWordsOf (oofWordParser *)
 
dbQueryBinary hasAnyWordsStartsWithDelimited (const char *, char delimiter)
 
dbQueryBinary hasAnyWordsStartsWithOf (const char **schStrs, unsigned long count)
 
dbQueryBinary hasAnyWordsStartsWithOf (oofWordParser *)
 
bool hasDefaultCalculator () const
 
dbQueryBinary hasWord (const char *str) const
 
dbQueryBinary hasWordStartsWith (const char *str) const
 
bool hidden () const
 
void hide (bool hideIt=true)
 
void index (const OOF_IndexOptions=kIndexed)
 
void indexPartialKeyLen (unsigned short)
 
void indexWords (oofWordParser *adoptedParser=0)
 
virtual bool insert (std::istream &, char fieldSep, char recSep)
 Implement operator>> reading from stream into dbChar. More...
 
bool isDirty () const
 
virtual bool isEmpty () const
 
unsigned short length () const
 
virtual oofString name () const
 
virtual OOF_fieldTypes nativeType () const
 
 oofChar (unsigned long fieldWidth=80)
 
 oofChar (const char *initialString, unsigned long fieldWidth=0)
 
 oofChar (const dbChar &)
 
 oofChar (const oofChar &)
 
 operator const char * () const
 
dbQueryBinary operator!= (const char *) const
 
void operator+= (char)
 
void operator+= (const char *)
 
dbQueryBinary operator< (const char *) const
 
dbQueryBinary operator<= (const char *) const
 
oofCharoperator= (const char *)
 
oofCharoperator= (char)
 
oofCharoperator= (const oofChar &)
 
oofCharoperator= (const dbChar &)
 
dbQueryBinary operator== (const char *) const
 
dbQueryBinary operator> (const char *) const
 
dbQueryBinary operator>= (const char *) const
 
dbQueryTrinary outside (const char *, const char *) const
 
virtual void postCloneTableCleanup ()
 
void saveDefaultCalculatedValue ()
 
void saveStoredCalculatedValue ()
 
void setChars (const char *str, unsigned long charLen)
 Copy string up to the specified length or maximum size of this fixed length string. More...
 
void setName (const char *name)
 
virtual void setNumber (long)
 
void setStr255 (const Str255 s)
 
virtual void setString (const char *)
 
virtual void setString (const oofString &)
 
dbQueryBinary startsWith (const char *) const
 
void storeCalculatedValues ()
 
bool storesCalculatedValues () const
 
const char * tableName () const
 
void useCalculatorOnlyForDefaults ()
 
bool usingCalculator () const
 
virtual bool validateContents ()
 
const char * value () const
 
virtual dbQueryClausevalueAsQueryLiteral () const
 
bool valueIsDuplicate () const
 
oofWordParserwordParser () const
 
virtual oofWordParserwords () const
 
virtual ~oofChar ()
 

Protected Member Functions

void CalculateWith (dbCalculator *adoptedCalculator, bool useOnlyForDefaults)
 
virtual void CopyCalculatedValueToBuffer ()
 

Protected Attributes

OOF_tableBackendmBackend
 
dbCalculatormCalculator
 
fieldNumT mFieldNumber
 
bool mHidden
 
unsigned long mMaxLength
 Maximum length that can be stored in the field. More...
 
oofWordParsermParser
 
dbTablemTable
 
dbFieldmThisField
 

Detailed Description

Use to have local non-persistent variable of type dbChar.

Definition at line 1126 of file oof4.h.

Constructor & Destructor Documentation

oofChar::oofChar ( unsigned long  fieldWidth = 80)

Definition at line 1969 of file oof4.cpp.

Referenced by clone().

oofChar::oofChar ( const char *  initialString,
unsigned long  fieldWidth = 0 
)

Definition at line 1975 of file oof4.cpp.

References dbChar::operator=().

oofChar::oofChar ( const dbChar rhs)

Definition at line 1983 of file oof4.cpp.

References dbChar::operator=().

oofChar::oofChar ( const oofChar rhs)

Definition at line 1990 of file oof4.cpp.

References dbChar::operator=().

virtual oofChar::~oofChar ( )
inlinevirtual

Definition at line 1133 of file oof4.h.

Member Function Documentation

const char * dbChar::asChars ( ) const
virtualinherited
dbQueryTrinary dbChar::between ( const char *  fromStr,
const char *  toStr 
) const
inherited

Definition at line 1326 of file oof3.cpp.

References dbQueryClause::between.

void dbField::CalculateWith ( dbCalculator adoptedCalculator,
bool  useOnlyForDefaults 
)
protectedinherited
dbChar & dbChar::calculateWith ( dbCharCalculator adoptedCalculator,
bool  useOnlyForDefaults = false 
)
inherited

Definition at line 830 of file oof3.cpp.

References dbField::CalculateWith().

dbCharCalculator * dbChar::calculator ( ) const
inlineinherited

Definition at line 846 of file oof3.h.

References dbField::mCalculator.

Referenced by dbChar::CopyCalculatedValueToBuffer().

bool dbField::caseSensitive ( ) const
inlineinherited

Definition at line 747 of file oof3.h.

References kIndexCaseSensitive.

void dbChar::clear ( )
virtualinherited

Reimplemented from dbField.

Definition at line 1121 of file oof3.cpp.

References dbChar::setChars().

Referenced by dbChar::operator=().

dbField * oofChar::clone ( ) const
virtual

Reimplemented from dbChar.

Definition at line 1998 of file oof4.cpp.

References oofChar().

void dbChar::CopyCalculatedValueToBuffer ( )
protectedvirtualinherited

Reimplemented from dbField.

Definition at line 1395 of file oof3.cpp.

References dbCharCalculator::calc(), dbChar::calculator(), and dbField::mCalculator.

oofString dbChar::copyString ( ) const
virtualinherited

Reimplemented from dbField.

Definition at line 851 of file oof3.cpp.

void dbChar::copyValueFrom ( const dbField srcField)
virtualinherited

Reimplemented from dbField.

Definition at line 858 of file oof3.cpp.

References charField, dbField::fieldName(), dbField::fieldType(), and dbConnect::raise().

void dbChar::copyValueIfDifferent ( const dbField srcField)
virtualinherited

Reimplemented from dbField.

Definition at line 870 of file oof3.cpp.

References charField, dbField::fieldName(), dbField::fieldType(), and dbConnect::raise().

void dbChar::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 dbField.

Definition at line 1377 of file oof3.cpp.

References dbField::describe(), and dbChar::mMaxLength.

dbField * dbField::equivalentFieldFromTable ( dbTable baseTable) const
inherited
void dbChar::extract ( std::ostream &  os) const
virtualinherited

Reimplemented from dbField.

Definition at line 1189 of file oof3.cpp.

Referenced by operator<<().

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 dbChar::fieldIsBinary ( ) const
virtualinherited

Reimplemented from dbField.

Definition at line 899 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 dbChar::fieldIsKeywordIndexed ( ) const
virtualinherited

Reimplemented from dbField.

Definition at line 892 of file oof3.cpp.

References OOF_mixKeywordableField::mParser.

bool dbField::fieldIsPartiallyIndexed ( ) const
inlineinherited

Definition at line 692 of file oof3.h.

References dbField::kKeyLengthAutoCalculated.

Referenced by dbField::fieldKeyLen().

bool dbChar::fieldIsSameTypeAs ( const dbField rhs) const
virtualinherited

Reimplemented from dbField.

Definition at line 1385 of file oof3.cpp.

References dbField::fieldIsSameTypeAs(), and dbChar::mMaxLength.

bool dbField::fieldIsStandalone ( ) const
inlineinherited
bool dbField::fieldIsUniqueIndexed ( ) const
virtualinherited
bool dbField::fieldIsVirtual ( ) const
virtualinherited
unsigned short dbField::fieldKeyLen ( ) const
inherited
unsigned long dbField::fieldMinWrapWidth ( ) const
virtualinherited
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().

unsigned long dbChar::fieldStorageLen ( ) const
virtualinherited

Implements dbField.

Definition at line 923 of file oof3.cpp.

References dbChar::mMaxLength.

Referenced by dbChar::insert().

dbTable * dbField::fieldTable ( ) const
inherited
OOF_fieldTypes dbChar::fieldType ( ) const
virtualinherited

Implements dbField.

Definition at line 885 of file oof3.cpp.

References charField.

unsigned long dbChar::fieldUsualWrapWidth ( ) const
virtualinherited

Returns fixed width of the field.

For empty oofChar (standalone subclass) it still returns a non-zero value so we don't run into problems with wrapping or other output algorithms.

Returns
a minimum of 1.
Todo:
Make fieldUsualWrapWidth a settable attribute.

Reimplemented from dbField.

Definition at line 913 of file oof3.cpp.

References dbChar::mMaxLength.

void dbChar::generateTestData ( bool  generateRandom,
unsigned long  seedOrCount 
)
virtualinherited

Reimplemented from dbField.

Definition at line 1255 of file oof3.cpp.

References oofString::makeRandomChars(), dbChar::mMaxLength, and dbChar::setString().

void dbChar::getChars ( char *  ioBuff,
unsigned long &  ioLen 
) const
virtualinherited

Reimplemented from dbField.

Definition at line 838 of file oof3.cpp.

void dbChar::getStr255 ( Str255  s) const
inherited

Definition at line 979 of file oof3.cpp.

References OOF_MEM_DEBUG_FORCE_POOL_CHECK.

dbQueryBinary OOF_mixKeywordableField::hasAllWordsDelimited ( const char *  str,
char  delimiter 
)
inherited
dbQueryBinary OOF_mixKeywordableField::hasAllWordsOf ( const char **  schStrs,
unsigned long  count 
)
inherited
dbQueryBinary OOF_mixKeywordableField::hasAllWordsOf ( oofWordParser inParser)
inherited
dbQueryBinary OOF_mixKeywordableField::hasAllWordsStartsWithDelimited ( const char *  str,
char  delimiter 
)
inherited
dbQueryBinary OOF_mixKeywordableField::hasAllWordsStartsWithOf ( const char **  schStrs,
unsigned long  count 
)
inherited
dbQueryBinary OOF_mixKeywordableField::hasAllWordsStartsWithOf ( oofWordParser inParser)
inherited
dbQueryBinary OOF_mixKeywordableField::hasAnyWordsDelimited ( const char *  str,
char  delimiter 
)
inherited

Definition at line 488 of file oofwords.cpp.

References dbQueryClause::hasAnyWord, and OOF_mixKeywordableField::mThisField.

dbQueryBinary OOF_mixKeywordableField::hasAnyWordsOf ( const char **  schStrs,
unsigned long  count 
)
inherited
dbQueryBinary OOF_mixKeywordableField::hasAnyWordsOf ( oofWordParser inParser)
inherited
dbQueryBinary OOF_mixKeywordableField::hasAnyWordsStartsWithDelimited ( const char *  str,
char  delimiter 
)
inherited
dbQueryBinary OOF_mixKeywordableField::hasAnyWordsStartsWithOf ( const char **  schStrs,
unsigned long  count 
)
inherited
dbQueryBinary OOF_mixKeywordableField::hasAnyWordsStartsWithOf ( oofWordParser inParser)
inherited
bool dbField::hasDefaultCalculator ( ) const
inlineinherited
dbQueryBinary OOF_mixKeywordableField::hasWord ( const char *  str) const
inherited

Definition at line 474 of file oofwords.cpp.

References dbQueryClause::hasWord, and OOF_mixKeywordableField::mThisField.

dbQueryBinary OOF_mixKeywordableField::hasWordStartsWith ( const char *  str) const
inherited
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.

void OOF_mixKeywordableField::indexWords ( oofWordParser adoptedParser = 0)
inherited
bool dbChar::insert ( std::istream &  ,
char  fieldSep,
char  recSep 
)
virtualinherited

Implement operator>> reading from stream into dbChar.

Reimplemented from dbField.

Definition at line 1199 of file oof3.cpp.

References dbField::fieldName(), dbChar::fieldStorageLen(), dbField::insert(), dbConnect::raise(), dbField::tableName(), and dbConnect::willTruncateTrailingSpaces().

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

Reimplemented from dbField.

Definition at line 937 of file oof3.cpp.

References dbChar::length().

unsigned short dbChar::length ( ) const
inherited

Definition at line 930 of file oof3.cpp.

Referenced by dbChar::isEmpty(), and dbChar::operator+=().

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
dbChar::operator const char * ( ) const
inherited

Definition at line 957 of file oof3.cpp.

dbQueryBinary dbChar::operator!= ( const char *  str) const
inherited

Definition at line 1342 of file oof3.cpp.

References dbQueryClause::notEquals.

void dbChar::operator+= ( char  ch)
inherited

Definition at line 1048 of file oof3.cpp.

void dbChar::operator+= ( const char *  inStr)
inherited
dbQueryBinary dbChar::operator< ( const char *  str) const
inherited

Definition at line 1349 of file oof3.cpp.

References dbQueryClause::lessThan.

dbQueryBinary dbChar::operator<= ( const char *  str) const
inherited

Definition at line 1356 of file oof3.cpp.

References dbQueryClause::lessThanOrEqual.

oofChar & oofChar::operator= ( const char *  rhs)

Definition at line 2021 of file oof4.cpp.

References dbChar::operator=().

oofChar & oofChar::operator= ( char  rhs)

Definition at line 2029 of file oof4.cpp.

References dbChar::operator=().

oofChar & oofChar::operator= ( const oofChar rhs)

Definition at line 2005 of file oof4.cpp.

References dbChar::operator=().

oofChar & oofChar::operator= ( const dbChar rhs)

Definition at line 2013 of file oof4.cpp.

References dbChar::operator=().

dbQueryBinary dbChar::operator== ( const char *  str) const
inherited

Definition at line 1272 of file oof3.cpp.

References dbQueryClause::equals.

dbQueryBinary dbChar::operator> ( const char *  str) const
inherited

Definition at line 1363 of file oof3.cpp.

References dbQueryClause::greaterThan.

dbQueryBinary dbChar::operator>= ( const char *  str) const
inherited

Definition at line 1370 of file oof3.cpp.

References dbQueryClause::greaterThanOrEqual.

dbQueryTrinary dbChar::outside ( const char *  fromStr,
const char *  toStr 
) const
inherited

Definition at line 1334 of file oof3.cpp.

References dbQueryClause::outside.

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 dbChar::setChars ( const char *  str,
unsigned long  charLen 
)
inherited

Copy string up to the specified length or maximum size of this fixed length string.

Gives message in OOF_DEBUG mode warning of truncation but carries on.

Bug:
should check if usingCalculator() like operator+=
Todo:
optional error on field length overrun when appending like dbChar::insert

Definition at line 1136 of file oof3.cpp.

References dbField::fieldIsStandalone(), dbField::mBackend, dbChar::mMaxLength, OOF_MEM_DEBUG_FORCE_POOL_CHECK, dbConnect::raise(), and OOF_tableBackend::writeChars().

Referenced by dbChar::clear(), dbChar::operator=(), dbChar::setStr255(), and dbChar::setString().

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().

void dbChar::setNumber ( long  n)
virtualinherited

Reimplemented from dbField.

Definition at line 1004 of file oof3.cpp.

References dbChar::setString().

void dbChar::setStr255 ( const Str255  s)
inherited

Definition at line 990 of file oof3.cpp.

References dbChar::setChars().

void dbChar::setString ( const char *  str)
virtualinherited

Reimplemented from dbField.

Definition at line 1114 of file oof3.cpp.

References dbChar::operator=().

Referenced by dbChar::generateTestData(), and dbChar::setNumber().

void dbChar::setString ( const oofString str)
inlinevirtualinherited

Definition at line 832 of file oof3.h.

References oofString::length(), and dbChar::setChars().

dbQueryBinary dbChar::startsWith ( const char *  str) const
inherited

Definition at line 1287 of file oof3.cpp.

References dbQueryClause::startsWith.

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.

const char * dbChar::value ( ) const
inlineinherited

Definition at line 839 of file oof3.h.

Referenced by dbChar::valueAsQueryLiteral().

dbQueryClause * dbChar::valueAsQueryLiteral ( ) const
virtualinherited

Reimplemented from dbField.

Definition at line 1279 of file oof3.cpp.

References dbChar::value().

bool dbField::valueIsDuplicate ( ) const
inherited
oofWordParser * OOF_mixKeywordableField::wordParser ( ) const
inherited
oofWordParser * dbChar::words ( ) const
virtualinherited

Reimplemented from dbField.

Definition at line 951 of file oof3.cpp.

References OOF_mixKeywordableField::wordParser().

Member Data Documentation

OOF_tableBackend* dbField::mBackend
protectedinherited
dbCalculator* dbField::mCalculator
protectedinherited
fieldNumT dbField::mFieldNumber
protectedinherited
bool OOF_PublicBase::mHidden
protectedinherited

Definition at line 61 of file oof1.h.

unsigned long dbChar::mMaxLength
protectedinherited
oofWordParser* OOF_mixKeywordableField::mParser
protectedinherited
dbTable* dbField::mTable
protectedinherited
dbField* OOF_mixKeywordableField::mThisField
protectedinherited

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