Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

OOF_recordSelectionRep Class Reference
[OOFILE Implementation Classes]

#include <oofrecs.h>

Inheritance diagram for OOF_recordSelectionRep:

Inheritance graph
[legend]
Collaboration diagram for OOF_recordSelectionRep:

Collaboration graph
[legend]
List of all members.

Detailed Description

Middle level in 3-layer abstraction of selection.

Implements COW (Copy On Write) access to selections so using selections is lightweight operation until you need to change the selection via resorting or changing selection membership.

This is the heart and soul of deferred evaluation in OOFILE and makes it very efficient to use cloned tables as alternate iterators over a selection.
Used by OOF_recordSelection and shares a OOF_recordSelectionRep.
Warning:
if you change this code be very careful to fully test OOFILE.


Public Types

enum  EselectionState { empty, oneRec, someRecs, allRecs }

Public Member Functions

void incRefs ()
void decRefs ()

Protected Attributes

unsigned int mReferences

Friends

class OOF_recordSelection


Member Enumeration Documentation

enum OOF_SelectionStateDefiner::EselectionState [inherited]
 

Enumeration values:
empty 
oneRec 
someRecs 
allRecs 


Member Function Documentation

void OOF_mixRefCount::decRefs  )  [inherited]
 

void OOF_mixRefCount::incRefs  )  [inline, inherited]
 


Friends And Related Function Documentation

friend class OOF_recordSelection [friend]
 


Member Data Documentation

unsigned int OOF_mixRefCount::mReferences [protected, inherited]
 


The documentation for this class was generated from the following files:
Generated on Thu Jan 1 21:45:14 2004 for OOFILE by doxygen 1.3.5