#include <oof3.h>
Inheritance diagram for dbCompoundField:


Most often used to declare a compound index. Unless indexed, often will not actually allocate storage in the database. Read-only field.
Public Types | |
| enum | FieldIsStandaloneT { eFieldIsStandalone } |
| enum | { kKeyLengthAutoCalculated = USHRT_MAX } |
Public Member Functions | |
| dbCompoundField (const OOF_IndexOptions) | |
| dbCompoundField (const char *fieldName=0) | |
| dbCompoundField (const char *fieldName, const OOF_IndexOptions) | |
| dbCompoundField (const dbCompoundField &) | |
| virtual | ~dbCompoundField () |
| virtual dbField * | clone () const |
| virtual void | addSegment (dbField &) |
| virtual void | extract (std::ostream &os) const |
| virtual bool | fieldIsSameTypeAs (const dbField *) const |
| virtual OOF_fieldTypes | fieldType () const |
| virtual unsigned long | fieldStorageLen () const |
| virtual bool | fieldIsVirtual () const |
| const dbField * | field (unsigned int) const |
| dbQueryBinary | operator== (const char *) const |
| dbQueryBinary | operator< (const char *) const |
| dbQueryBinary | operator<= (const char *) const |
| dbQueryBinary | operator>= (const char *) const |
| dbQueryBinary | operator> (const char *) const |
| dbQueryBinary | operator!= (const char *) const |
| dbQueryBinary | startsWith (const char *str) const |
| virtual void | postCloneTableCleanup () |
| virtual oofString | name () const |
| void | index (const OOF_IndexOptions=kIndexed) |
| void | indexPartialKeyLen (unsigned short) |
| void | setName (const char *name) |
| bool | hasDefaultCalculator () const |
| void | useCalculatorOnlyForDefaults () |
| bool | storesCalculatedValues () const |
| void | storeCalculatedValues () |
| bool | usingCalculator () const |
| const char * | tableName () const |
| bool | fieldIsStandalone () const |
| virtual void | describe (std::ostream &) const |
| Provide human-readable information about object. | |
| virtual OOF_fieldTypes | nativeType () const |
| virtual unsigned long | fieldMinWrapWidth () const |
| virtual unsigned long | fieldUsualWrapWidth () const |
| dbTable * | fieldTable () const |
| unsigned long | fieldDataLen () const |
| virtual bool | isEmpty () const |
| bool | isDirty () const |
| fieldNumT | fieldNumber () const |
| virtual const oofString & | fieldName () const |
| OOF_IndexOptions | fieldIndexOptions () const |
| bool | fieldIndexIgnoresNulls () const |
| bool | fieldIndexIsCompressLeading () const |
| bool | fieldIndexIsCompressPadding () const |
| virtual bool | fieldIsIndexed () const |
| bool | fieldIsPartiallyIndexed () const |
| virtual bool | fieldIsKeywordIndexed () const |
| virtual bool | fieldIsUniqueIndexed () const |
| unsigned short | fieldNumIndexes () const |
| unsigned short | fieldKeyLen () const |
| bool | caseSensitive () const |
| virtual bool | fieldIsBlob () const |
| virtual bool | fieldIsBinary () const |
| dbField * | equivalentFieldFromTable (dbTable *) const |
| bool | valueIsDuplicate () const |
| virtual dbQueryClause * | valueAsQueryLiteral () const |
| bool | fieldIsJoinKey () const |
| Checks if any relationships in field's table use field as join key. | |
| virtual void | clear () |
| virtual void | setString (const char *) |
| virtual void | setNumber (long) |
| virtual oofString | copyString () const |
| virtual void | getChars (char *ioBuff, unsigned long &outLen) const |
| virtual const char * | asChars () const |
| virtual bool | insert (std::istream &, char fieldSep, char recSep) |
| virtual void | copyValueFrom (const dbField *) |
| virtual void | copyValueIfDifferent (const dbField *) |
| virtual bool | validateContents () |
| virtual oofWordParser * | words () const |
| void | saveDefaultCalculatedValue () |
| void | saveStoredCalculatedValue () |
| virtual void | generateTestData (bool, unsigned long) |
| bool | hidden () const |
| void | hide (bool hideIt=true) |
| virtual unsigned short | countSegments () const |
| OOF_FieldSegOwner & | operator<< (dbField &) |
| OOF_FieldSegOwner & | operator>> (dbField &) |
| void | toggleSegmentReversedFlags () |
| OOF_Segment * | segment (unsigned int) const |
| fieldNumT | fieldNumberOfSegment (unsigned int) const |
Protected Member Functions | |
| void | CalculateWith (dbCalculator *adoptedCalculator, bool useOnlyForDefaults) |
| virtual void | CopyCalculatedValueToBuffer () |
Protected Attributes | |
| OOF_tableBackend * | mBackend |
| dbTable * | mTable |
| fieldNumT | mFieldNumber |
| dbCalculator * | mCalculator |
| bool | mHidden |
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
Reimplemented from OOF_FieldSegOwner. |
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
Reimplemented in dbChar, dbText, dbFixedBinary, and dbNumericField. |
|
|
Implements dbField. |
|
|
Reimplemented in dbChar, dbText, dbShort, dbUshort, dbBool, dbLong, dbUlong, dbReal, dbDate, dbTime, and dbDateTime. |
|
|
|
|
|
Reimplemented in dbChar, dbText, dbShort, dbUshort, dbBool, dbLong, dbUlong, dbReal, dbDate, dbTime, and dbDateTime. |
|
|
Reimplemented in dbChar, dbText, dbShort, dbUshort, dbBool, dbLong, dbUlong, dbReal, dbDate, dbTime, and dbDateTime. |
|
|
|
|
|
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 dbChar, dbFixedBinary, and dbRelRefBase. |
|
|
|
|
|
Reimplemented from dbField. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in dbBLOB. |
|
|
|
|
|
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 |
|
|
|
|
|
|
|
|
Reimplemented from dbField. |
|
|
|
|
|
|
|
|
Reimplemented from dbField. |
|
|
|
|
|
Reimplemented in dbNumericField. |
|
|
Reimplemented in dbRelRefBase. |
|
|
|
|
|
|
|
|
|
|
|
Implements dbField. |
|
|
|
|
|
Implements dbField. |
|
|
|
|
||||||||||||
|
Reimplemented in dbChar, dbBLOB, dbText, dbFixedBinary, dbShort, dbUshort, dbBool, dbLong, dbUlong, dbReal, dbDate, dbTime, and dbDateTime. |
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
Reimplemented in dbChar, dbText, dbShort, dbUshort, dbBool, dbLong, dbUlong, dbReal, dbDate, dbTime, and dbDateTime. |
|
|
Reimplemented in dbBLOB. |
|
|
Reimplemented in dbChar, dbBLOB, dbDate, and dbDateTime. |
|
|
Reimplemented from OOF_PublicBase. |
|
|
Reimplemented in dbText, dbBool, dbDate, dbTime, dbDateTime, and dbRelRefBase. |
|
|
|
|
|
|
|
|
Reimplemented in dbSorter. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in dbSorter. |
|
|
Reimplemented in dbRelRefBase. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in dbChar, dbText, dbShort, dbUshort, dbBool, dbLong, dbUlong, dbReal, dbDate, and dbDateTime. |
|
|
Reimplemented in dbChar, dbText, dbFixedBinary, dbShort, dbUshort, dbBool, dbLong, dbUlong, dbReal, dbDate, and dbDateTime. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in dbChar, dbText, dbShort, dbUshort, dbBool, dbLong, dbUlong, dbReal, dbDate, dbTime, and dbDateTime. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.5