OOFILE  1.9
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
OOF_recordBufferedContext Class Reference

Simplest internal representation of a record's contents and context in dbTable. More...

#include <oofrecs.h>

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

Public Types

enum  ERecordState { eNew, eLoaded, eUnloaded }
 

Public Member Functions

char * buffer () const
 
void copyFrom (const OOF_recordBufferedContext *)
 
virtual void copyFrom (const OOF_recordBufferedContext &)
 
unsigned long currentOffset () const
 
bool isNew () const
 
 OOF_recordBufferedContext ()
 
 OOF_recordBufferedContext (const OOF_recordBufferedContext &)
 
 operator unsigned long () const
 
const OOF_recordBufferedContextoperator= (const OOF_recordBufferedContext &)
 
bool operator== (unsigned long) const
 
bool operator== (const OOF_recordBufferedContext &) const
 
virtual ~OOF_recordBufferedContext ()
 

Protected Member Functions

void AllocBuffer ()
 

Protected Attributes

OOF_ExpandableLongArraymBlobFieldBodies
 
char * mBuffer
 
unsigned long mCurrLoadedRecOffset
 
OOF_dirtyFieldMap mDirtyMap
 
unsigned long mRecBufLen
 
ERecordState mRecordState
 

Friends

class OOF_simpleRecordBackend
 

Detailed Description

Simplest internal representation of a record's contents and context in dbTable.

OOF_recordCache contains the contents of OOF_recordBufferedContext and can recreate but doesn't necessarily have to store OOF_recordBufferedContext objects.

Definition at line 130 of file oofrecs.h.

Constructor & Destructor Documentation

OOF_recordBufferedContext::OOF_recordBufferedContext ( )
OOF_recordBufferedContext::OOF_recordBufferedContext ( const OOF_recordBufferedContext rhs)

Definition at line 41 of file oofrec4.cpp.

References AllocBuffer(), mBuffer, and mRecBufLen.

OOF_recordBufferedContext::~OOF_recordBufferedContext ( )
virtual

Member Function Documentation

void OOF_recordBufferedContext::AllocBuffer ( )
protected
char * OOF_recordBufferedContext::buffer ( ) const
inline

Definition at line 732 of file oofrecs.h.

References mBuffer.

Referenced by OOF_ramBackend::~OOF_ramBackend().

void OOF_recordBufferedContext::copyFrom ( const OOF_recordBufferedContext rhs)
inline
void OOF_recordBufferedContext::copyFrom ( const OOF_recordBufferedContext rhs)
virtual

Definition at line 72 of file oofrec4.cpp.

References mBuffer, mCurrLoadedRecOffset, mRecBufLen, and mRecordState.

unsigned long OOF_recordBufferedContext::currentOffset ( ) const
inline
bool OOF_recordBufferedContext::isNew ( ) const
inline
OOF_recordBufferedContext::operator unsigned long ( ) const
inline

Definition at line 711 of file oofrecs.h.

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

Definition at line 85 of file oofrec4.cpp.

References copyFrom().

bool OOF_recordBufferedContext::operator== ( unsigned long  inOffset) const
inline

Definition at line 725 of file oofrecs.h.

References mCurrLoadedRecOffset.

bool OOF_recordBufferedContext::operator== ( const OOF_recordBufferedContext rhs) const

Definition at line 93 of file oofrec4.cpp.

References mCurrLoadedRecOffset.

Friends And Related Function Documentation

friend class OOF_simpleRecordBackend
friend

Definition at line 160 of file oofrecs.h.

Member Data Documentation

OOF_ExpandableLongArray* OOF_recordBufferedContext::mBlobFieldBodies
protected
char* OOF_recordBufferedContext::mBuffer
protected
unsigned long OOF_recordBufferedContext::mCurrLoadedRecOffset
protected
OOF_dirtyFieldMap OOF_recordBufferedContext::mDirtyMap
protected
unsigned long OOF_recordBufferedContext::mRecBufLen
protected
ERecordState OOF_recordBufferedContext::mRecordState
protected

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