OOFILE  1.9
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
dbText Class Reference

Persistent field used to store a variable length string. More...

#include <oof3.h>

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

Public Types

enum  { kKeyLengthAutoCalculated = USHRT_MAX }
 
enum  FieldIsStandaloneT { eFieldIsStandalone }
 

Public Member Functions

void adoptBody (void *body, unsigned long bodyLen) const
 
void adoptBody (void *body, unsigned long bodyLen, unsigned long usedLen) const
 
void adoptString (oofString &adoptedString) const
 
char * allocRoomFor (unsigned long) const
 
void append (const dbBLOB &)
 
virtual void append (const void *appendBody, unsigned long bodyLen=ULONG_MAX, unsigned long usedLen=ULONG_MAX)
 
virtual const char * asChars () const
 
char * bodyAddress () const
 
dbTextcalculateWith (dbTextCalculator *adoptedCalculator, bool useOnlyForDefaults=false)
 
dbTextCalculatorcalculator () const
 
bool caseSensitive () const
 
virtual void clear ()
 
virtual dbFieldclone () const
 
virtual oofString copyString () const
 
virtual void copyValueFrom (const dbField *)
 
virtual void copyValueIfDifferent (const dbField *)
 
 dbText (const OOF_IndexOptions)
 
 dbText (const char *fieldName=0)
 
 dbText (const char *fieldName, const OOF_IndexOptions)
 
 dbText (dbField::FieldIsStandaloneT)
 
 dbText (const dbText &)
 
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
 
virtual void generateTestData (bool generateRandom, unsigned long seedOrCount)
 
virtual void getChars (char *ioBuff, unsigned long &outLen) 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)
 
bool isDirty () const
 
virtual bool isEmpty () const
 
virtual unsigned long length () const
 
bool loaded () const
 
void markDirty () const
 
virtual oofString name () const
 
virtual OOF_fieldTypes nativeType () const
 
 operator const char * () const
 
dbQueryBinary operator!= (const char *) const
 
void operator+= (const dbBLOB &)
 
void operator+= (char)
 
void operator+= (const char *)
 
dbQueryBinary operator< (const char *) const
 
dbQueryBinary operator<= (const char *) const
 
dbTextoperator= (char)
 
dbTextoperator= (const char *)
 
dbTextoperator= (const dbText &)
 
dbQueryBinary operator== (const char *) const
 
dbQueryBinary operator> (const char *) const
 
dbQueryBinary operator>= (const char *) const
 
char * orphanBody () const
 
virtual void postCloneTableCleanup ()
 
void reset () const
 
void saveDefaultCalculatedValue ()
 
void saveStoredCalculatedValue ()
 
void setBytes (const void *buf, unsigned long bufLen)
 Copy the incoming buffer into our local buffer in mStorage. More...
 
void setChars (const char *str, unsigned long charLen)
 
void setName (const char *name)
 
virtual void setNumber (long)
 
virtual void setString (const char *)
 
virtual void setString (const oofString &)
 
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 ~dbText ()
 

Static Public Member Functions

static void convertsLineEndingsOnLoad (bool willConvert)
 
static bool convertsLineEndingsOnLoad ()
 

Protected Member Functions

void CalculateWith (dbCalculator *adoptedCalculator, bool useOnlyForDefaults)
 
virtual void CopyCalculatedValueToBuffer ()
 
void LoadField () const
 
void SetLength (unsigned long len) const
 

Protected Attributes

OOF_tableBackendmBackend
 
dbCalculatormCalculator
 
fieldNumT mFieldNumber
 
bool mHidden
 
bool mIsTextField
 
oofWordParsermParser
 
dbBLOBstoragemStorage
 
dbTablemTable
 
dbFieldmThisField
 

Static Protected Attributes

static bool sConvertsLineEndingsOnLoad = false
 

Detailed Description

Persistent field used to store a variable length string.

Usually lazily evaluated, so only loaded on access to field rather than with main record.

Definition at line 459 of file oof3.h.

Constructor & Destructor Documentation

dbText::dbText ( const OOF_IndexOptions  opt)

Definition at line 1450 of file oof3.cpp.

References dbBLOB::mIsTextField.

Referenced by clone().

dbText::dbText ( const char *  fieldName = 0)

Definition at line 1467 of file oof3.cpp.

References dbBLOB::mIsTextField.

dbText::dbText ( const char *  fieldName,
const OOF_IndexOptions  opt 
)

Definition at line 1475 of file oof3.cpp.

References dbBLOB::mIsTextField.

dbText::dbText ( dbField::FieldIsStandaloneT  k)

Definition at line 1459 of file oof3.cpp.

References dbBLOB::mIsTextField.

dbText::dbText ( const dbText rhs)

Definition at line 1484 of file oof3.cpp.

References dbBLOB::mIsTextField.

virtual dbText::~dbText ( )
inlinevirtual

Definition at line 467 of file oof3.h.

Member Function Documentation

void dbBLOB::adoptBody ( void *  body,
unsigned long  bodyLen 
) const
inherited
void dbBLOB::adoptBody ( void *  body,
unsigned long  bodyLen,
unsigned long  usedLen 
) const
inherited

Definition at line 2182 of file oof3.cpp.

References dbBLOB::mStorage, and dbBLOB::SetLength().

void dbText::adoptString ( oofString adoptedString) const

Definition at line 1722 of file oof3.cpp.

References dbBLOB::adoptBody(), oofString::length(), and oofString::orphan().

char * dbBLOB::allocRoomFor ( unsigned long  len) const
inlineinherited
void dbBLOB::append ( const dbBLOB rhs)
inherited

Definition at line 2209 of file oof3.cpp.

References dbBLOB::bodyAddress(), and dbBLOB::length().

Referenced by append(), dbBLOB::operator+=(), and operator+=().

void dbText::append ( const void *  appendBody,
unsigned long  bodyLen = ULONG_MAX,
unsigned long  usedLen = ULONG_MAX 
)
virtual

Reimplemented from dbBLOB.

Definition at line 1730 of file oof3.cpp.

References dbBLOB::append().

const char * dbText::asChars ( ) const
virtual

Reimplemented from dbField.

Definition at line 1523 of file oof3.cpp.

char * dbBLOB::bodyAddress ( ) const
inherited
void dbField::CalculateWith ( dbCalculator adoptedCalculator,
bool  useOnlyForDefaults 
)
protectedinherited
dbText & dbText::calculateWith ( dbTextCalculator adoptedCalculator,
bool  useOnlyForDefaults = false 
)

Definition at line 1500 of file oof3.cpp.

References dbField::CalculateWith().

dbTextCalculator * dbText::calculator ( ) const
inline

Definition at line 939 of file oof3.h.

References dbField::mCalculator.

Referenced by CopyCalculatedValueToBuffer().

bool dbField::caseSensitive ( ) const
inlineinherited

Definition at line 747 of file oof3.h.

References kIndexCaseSensitive.

void dbText::clear ( )
virtual

Reimplemented from dbField.

Definition at line 1694 of file oof3.cpp.

References setChars().

dbField * dbText::clone ( ) const
virtual

Reimplemented from dbBLOB.

Reimplemented in oofText.

Definition at line 1493 of file oof3.cpp.

References dbText().

void dbText::convertsLineEndingsOnLoad ( bool  willConvert)
inlinestatic

Definition at line 911 of file oof3.h.

References sConvertsLineEndingsOnLoad.

bool dbText::convertsLineEndingsOnLoad ( )
inlinestatic

Definition at line 918 of file oof3.h.

References sConvertsLineEndingsOnLoad.

Referenced by dbBLOB::LoadField().

void dbText::CopyCalculatedValueToBuffer ( )
protectedvirtual

Reimplemented from dbField.

Definition at line 1882 of file oof3.cpp.

References dbTextCalculator::calc(), calculator(), and dbField::mCalculator.

oofString dbText::copyString ( ) const
virtual

Reimplemented from dbField.

Definition at line 1560 of file oof3.cpp.

void dbText::copyValueFrom ( const dbField srcField)
virtual

Reimplemented from dbField.

Definition at line 1567 of file oof3.cpp.

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

void dbText::copyValueIfDifferent ( const dbField srcField)
virtual

Reimplemented from dbField.

Definition at line 1579 of file oof3.cpp.

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

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

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

Reimplemented from dbBLOB.

Definition at line 1762 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 dbText::fieldIsBinary ( ) const
virtual

Reimplemented from dbField.

Definition at line 1615 of file oof3.cpp.

bool dbBLOB::fieldIsBlob ( ) const
virtualinherited

Reimplemented from dbField.

Definition at line 2162 of file oof3.cpp.

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 dbText::fieldIsKeywordIndexed ( ) const
virtual

Reimplemented from dbField.

Definition at line 1608 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 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 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(), copyValueFrom(), dbReal::copyValueFrom(), dbDate::copyValueFrom(), dbTime::copyValueFrom(), dbDateTime::copyValueFrom(), dbShort::copyValueIfDifferent(), dbChar::copyValueIfDifferent(), dbUshort::copyValueIfDifferent(), dbBool::copyValueIfDifferent(), dbLong::copyValueIfDifferent(), dbUlong::copyValueIfDifferent(), 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(), 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 dbBLOB::fieldStorageLen ( ) const
virtualinherited
dbTable * dbField::fieldTable ( ) const
inherited
OOF_fieldTypes dbText::fieldType ( ) const
virtual

Reimplemented from dbBLOB.

Definition at line 1594 of file oof3.cpp.

References textField.

unsigned long dbText::fieldUsualWrapWidth ( ) const
virtual

Reimplemented from dbField.

Definition at line 1622 of file oof3.cpp.

void dbText::generateTestData ( bool  generateRandom,
unsigned long  seedOrCount 
)
virtual

Reimplemented from dbBLOB.

Definition at line 1746 of file oof3.cpp.

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

void dbText::getChars ( char *  ioBuff,
unsigned long &  outLen 
) const
virtual

Reimplemented from dbField.

Definition at line 1551 of file oof3.cpp.

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 dbText::insert ( std::istream &  ,
char  fieldSep,
char  recSep 
)
virtual
bool dbBLOB::isDirty ( ) const
inlineinherited

Definition at line 857 of file oof3.h.

References dbBLOB::mStorage.

Referenced by OOF_simpleRecordBackend::DonateBlobBodiesTo(), and OOF_ramBackend::SaveContext().

bool dbBLOB::isEmpty ( ) const
virtualinherited

Reimplemented from dbField.

Definition at line 2155 of file oof3.cpp.

References dbBLOB::length().

unsigned long dbText::length ( ) const
virtual

Reimplemented from dbBLOB.

Definition at line 1537 of file oof3.cpp.

References dbField::fieldDataLen(), dbField::fieldIsStandalone(), and dbField::mBackend.

bool dbBLOB::loaded ( ) const
inlineinherited

Definition at line 871 of file oof3.h.

References dbBLOBstorage::mLoaded, and dbBLOB::mStorage.

Referenced by dbBLOB::append(), and dbBLOB::bodyAddress().

void dbBLOB::LoadField ( ) const
protectedinherited
void dbBLOB::markDirty ( ) const
inlineinherited

Definition at line 864 of file oof3.h.

References dbBLOB::mStorage.

Referenced by dbBLOB::append().

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 dbText::nativeType ( ) const
virtual

Reimplemented from dbField.

Definition at line 1601 of file oof3.cpp.

References charField.

dbText::operator const char * ( ) const

Definition at line 1507 of file oof3.cpp.

dbQueryBinary dbText::operator!= ( const char *  str) const

Definition at line 1847 of file oof3.cpp.

References dbQueryClause::notEquals.

void dbBLOB::operator+= ( const dbBLOB rhs)
inherited

Definition at line 2246 of file oof3.cpp.

References dbBLOB::append().

void dbText::operator+= ( char  ch)

Definition at line 1701 of file oof3.cpp.

void dbText::operator+= ( const char *  str)

Definition at line 1711 of file oof3.cpp.

References dbBLOB::append().

dbQueryBinary dbText::operator< ( const char *  str) const

Definition at line 1854 of file oof3.cpp.

References dbQueryClause::lessThan.

dbQueryBinary dbText::operator<= ( const char *  str) const

Definition at line 1861 of file oof3.cpp.

References dbQueryClause::lessThanOrEqual.

dbText & dbText::operator= ( char  ch)

Definition at line 1644 of file oof3.cpp.

Referenced by oofText::oofText(), oofText::operator=(), and setString().

dbText & dbText::operator= ( const char *  str)

Definition at line 1655 of file oof3.cpp.

References setChars().

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

Definition at line 1633 of file oof3.cpp.

dbQueryBinary dbText::operator== ( const char *  str) const

Definition at line 1840 of file oof3.cpp.

References dbQueryClause::equals.

dbQueryBinary dbText::operator> ( const char *  str) const

Definition at line 1868 of file oof3.cpp.

References dbQueryClause::greaterThan.

dbQueryBinary dbText::operator>= ( const char *  str) const

Definition at line 1875 of file oof3.cpp.

References dbQueryClause::greaterThanOrEqual.

char * dbBLOB::orphanBody ( ) const
inlineinherited

Definition at line 893 of file oof3.h.

References dbBLOB::mStorage.

Referenced by OOF_simpleRecordBackend::DonateBlobBodiesTo(), and OOF_ramBackend::SaveContext().

virtual void dbField::postCloneTableCleanup ( )
inlinevirtualinherited

Reimplemented in dbRelRefBase.

Definition at line 77 of file oof3.h.

Referenced by dbTable::postCloneTableCleanup().

void dbBLOB::reset ( ) const
inlineinherited
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 dbBLOB::setBytes ( const void *  buf,
unsigned long  bufLen 
)
inherited

Copy the incoming buffer into our local buffer in mStorage.

Use adoptBody to avoid copying.

Definition at line 2280 of file oof3.cpp.

References dbTable::ensureRecordLoaded(), dbField::fieldIsStandalone(), dbTable::markDirty(), dbBLOB::mStorage, and dbField::mTable.

Referenced by dbBLOB::generateTestData(), and dbBLOB::operator=().

void dbText::setChars ( const char *  str,
unsigned long  charLen 
)
void dbBLOB::SetLength ( unsigned long  len) const
protectedinherited
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 dbText::setNumber ( long  n)
virtual

Reimplemented from dbField.

Definition at line 1668 of file oof3.cpp.

References setString().

void dbText::setString ( const char *  str)
virtual

Reimplemented from dbField.

Definition at line 1676 of file oof3.cpp.

References operator=().

Referenced by generateTestData(), and setNumber().

void dbText::setString ( const oofString str)
inlinevirtual

Definition at line 925 of file oof3.h.

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

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 * dbText::value ( ) const
inline

Definition at line 932 of file oof3.h.

Referenced by valueAsQueryLiteral().

dbQueryClause * dbText::valueAsQueryLiteral ( ) const
virtual

Reimplemented from dbField.

Definition at line 1832 of file oof3.cpp.

References value().

bool dbField::valueIsDuplicate ( ) const
inherited
oofWordParser * OOF_mixKeywordableField::wordParser ( ) const
inherited
oofWordParser * dbText::words ( ) const
virtual

Reimplemented from dbField.

Definition at line 1530 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.

bool dbBLOB::mIsTextField
protectedinherited

Definition at line 432 of file oof3.h.

Referenced by dbText(), and dbBLOB::LoadField().

oofWordParser* OOF_mixKeywordableField::mParser
protectedinherited
dbBLOBstorage* dbBLOB::mStorage
protectedinherited
dbTable* dbField::mTable
protectedinherited
dbField* OOF_mixKeywordableField::mThisField
protectedinherited
bool dbText::sConvertsLineEndingsOnLoad = false
staticprotected

Definition at line 524 of file oof3.h.

Referenced by convertsLineEndingsOnLoad().


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