#include <oof4.h>
Inheritance diagram for oofBLOB:


Public Types | |
| enum | FieldIsStandaloneT { eFieldIsStandalone } |
| enum | { kKeyLengthAutoCalculated = USHRT_MAX } |
Public Member Functions | |
| oofBLOB () | |
| oofBLOB (const oofBLOB &) | |
| oofBLOB (const dbBLOB &) | |
| virtual | ~oofBLOB () |
| virtual dbField * | clone () const |
| oofBLOB & | operator= (const oofBLOB &) |
| oofBLOB & | operator= (const dbBLOB &) |
| virtual OOF_fieldTypes | fieldType () const |
| virtual unsigned long | fieldStorageLen () const |
| virtual bool | isEmpty () const |
| virtual unsigned long | length () const |
| virtual bool | fieldIsBlob () const |
| bool | isDirty () const |
| bool | loaded () const |
| virtual void | extract (std::ostream &os) const |
| char * | bodyAddress () const |
| void | reset () const |
| char * | allocRoomFor (unsigned long) const |
| char * | orphanBody () const |
| void | adoptBody (void *body, unsigned long bodyLen) const |
| void | adoptBody (void *body, unsigned long bodyLen, unsigned long usedLen) const |
| void | append (const dbBLOB &) |
| virtual void | append (const void *appendBody, unsigned long bodyLen, unsigned long usedLen=ULONG_MAX) |
| void | setBytes (const void *buf, unsigned long bufLen) |
| Copy the incoming buffer into our local buffer in mStorage. | |
| void | markDirty () const |
| void | operator+= (const dbBLOB &) |
| virtual void | generateTestData (bool generateRandom, unsigned long seedOrCount) |
| 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 bool | fieldIsSameTypeAs (const dbField *) 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 |
| 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 | fieldIsBinary () const |
| virtual bool | fieldIsVirtual () 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 () |
| bool | hidden () const |
| void | hide (bool hideIt=true) |
Protected Member Functions | |
| void | SetLength (unsigned long len) const |
| void | LoadField () const |
| void | CalculateWith (dbCalculator *adoptedCalculator, bool useOnlyForDefaults) |
| virtual void | CopyCalculatedValueToBuffer () |
Protected Attributes | |
| dbBLOBstorage * | mStorage |
| bool | mIsTextField |
| OOF_tableBackend * | mBackend |
| dbTable * | mTable |
| fieldNumT | mFieldNumber |
| dbCalculator * | mCalculator |
| bool | mHidden |
Friends | |
| void | dbBLOBstorage::setChars (const char *str, unsigned long charLen) |
| void | dbBLOBstorage::setBytes (const char *buf, unsigned long bufLen) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
||||||||||||||||
|
Reimplemented in dbText. |
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
Reimplemented in dbChar, dbText, dbFixedBinary, and dbNumericField. |
|
|
Reimplemented from dbBLOB. |
|
|
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 dbText. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from dbField. |
|
|
|
|
|
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 in dbChar, dbFixedBinary, dbCompoundField, and dbRelRefBase. |
|
|
|
|
|
|
|
|
Reimplemented in dbCompoundField, and dbRelRefBase. |
|
|
|
|
|
Reimplemented in dbNumericField. |
|
|
Reimplemented in dbRelRefBase. |
|
|
|
|
|
|
|
|
Implements dbField. |
|
|
|
|
|
Implements dbField. Reimplemented in dbText. |
|
|
|
|
||||||||||||
|
Reimplemented from dbField. Reimplemented in dbText. |
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
Reimplemented in dbChar, dbText, dbShort, dbUshort, dbBool, dbLong, dbUlong, dbReal, dbDate, dbTime, and dbDateTime. |
|
|
Reimplemented from dbField. |
|
|
Reimplemented from dbField. |
|
|
Reimplemented in dbText. |
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from OOF_PublicBase. |
|
|
Reimplemented in dbText, dbBool, dbDate, dbTime, dbDateTime, and dbRelRefBase. |
|
|
|
|
|
Reimplemented from dbBLOB. |
|
|
|
|
|
|
|
|
Reimplemented in dbRelRefBase. |
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
Copy the incoming buffer into our local buffer in mStorage. Use adoptBody to avoid copying. |
|
|
|
|
|
|
|
|
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