OOFILE  1.9
Public Member Functions | List of all members
dbSelection Class Reference

Envelope class to contain an abstract selection apart from its dbTable. More...

#include <oof1.h>

Public Member Functions

 dbSelection ()
 
 dbSelection (const OOF_Selection *)
 
 dbSelection (const dbSelection &)
 
dbSelectionoperator= (const dbSelection &)
 
dbSelectionoperator= (dbTable &)
 
 ~dbSelection ()
 
combinatorial operators
void difference_with (const dbSelection &)
 
void difference_with (dbTable &)
 
void difference_with (dbTable *)
 
void operator-= (const dbSelection &)
 
void operator-= (dbTable &)
 
void operator-= (dbTable *)
 
void operator%= (const dbSelection &)
 
void operator%= (dbTable &)
 
void operator%= (dbTable *)
 
void intersection_with (const dbSelection &)
 
void intersection_with (dbTable &)
 
void intersection_with (dbTable *)
 
void operator&= (const dbSelection &)
 
void operator&= (dbTable &)
 
void operator&= (dbTable *)
 
void union_with (const dbSelection &)
 
void union_with (dbTable &)
 
void union_with (dbTable *)
 
void union_with_no_overlap (const dbSelection &)
 
void union_with_no_overlap (dbTable &)
 
void union_with_no_overlap (dbTable *)
 
void operator+= (const dbSelection &)
 
void operator+= (dbTable &)
 
void operator+= (dbTable *)
 
void operator|= (const dbSelection &)
 
void operator|= (dbTable &)
 
void operator|= (dbTable *)
 
void union_with (oidT)
 
void operator+= (oidT)
 
void intersection_with (oidT)
 
void invert ()
 
void operator~ ()
 
void operator! ()
 
reflective operators
bool isEmpty () const
 
bool isAllRecs () const
 
bool contains (oidT) const
 
unsigned long count () const
 
const OOF_SelectioninternalSelection () const
 
const dbTableprototypicalTable () const
 

Detailed Description

Envelope class to contain an abstract selection apart from its dbTable.

Useful for set manipulations as a lighter way to temporarily save and restore a set, or retain for other manipulation.

Definition at line 316 of file oof1.h.

Constructor & Destructor Documentation

dbSelection::dbSelection ( )

Definition at line 568 of file oof2.cpp.

dbSelection::dbSelection ( const OOF_Selection sel)

Definition at line 575 of file oof2.cpp.

References OOF_Selection::clone().

dbSelection::dbSelection ( const dbSelection rhs)

Definition at line 603 of file oof2.cpp.

dbSelection::~dbSelection ( )

Definition at line 582 of file oof2.cpp.

Member Function Documentation

bool dbSelection::contains ( oidT  theOID) const

Definition at line 758 of file oof2.cpp.

References OOF_Selection::contains().

unsigned long dbSelection::count ( ) const
void dbSelection::difference_with ( const dbSelection rhs)
void dbSelection::difference_with ( dbTable rhs)

Definition at line 726 of file oof2.cpp.

References dbTable::currentSelection(), and OOF_Selection::difference_with().

void dbSelection::difference_with ( dbTable rhs)
inline

Definition at line 163 of file oof2.h.

References difference_with().

const OOF_Selection * dbSelection::internalSelection ( ) const
inline
void dbSelection::intersection_with ( const dbSelection rhs)
void dbSelection::intersection_with ( dbTable rhs)

Definition at line 643 of file oof2.cpp.

References dbTable::currentSelection(), and intersection_with().

void dbSelection::intersection_with ( dbTable rhs)
inline

Definition at line 219 of file oof2.h.

References intersection_with().

void dbSelection::intersection_with ( oidT  offset)

Definition at line 651 of file oof2.cpp.

References OOF_Selection::intersection_with().

void dbSelection::invert ( )

Definition at line 659 of file oof2.cpp.

References OOF_Selection::invert().

Referenced by operator!(), and operator~().

bool dbSelection::isAllRecs ( ) const
bool dbSelection::isEmpty ( ) const

Definition at line 734 of file oof2.cpp.

References OOF_Selection::isEmpty().

void dbSelection::operator! ( )
inline

Definition at line 310 of file oof2.h.

References invert().

void dbSelection::operator%= ( const dbSelection rhs)
inline

Definition at line 198 of file oof2.h.

References difference_with().

void dbSelection::operator%= ( dbTable rhs)
inline

Definition at line 191 of file oof2.h.

References difference_with().

void dbSelection::operator%= ( dbTable rhs)
inline

Definition at line 205 of file oof2.h.

References difference_with().

void dbSelection::operator&= ( const dbSelection rhs)
inline

Definition at line 212 of file oof2.h.

References intersection_with().

void dbSelection::operator&= ( dbTable rhs)
inline

Definition at line 226 of file oof2.h.

References intersection_with().

void dbSelection::operator&= ( dbTable rhs)
inline

Definition at line 233 of file oof2.h.

References intersection_with().

void dbSelection::operator+= ( const dbSelection rhs)
inline

Definition at line 240 of file oof2.h.

References union_with().

void dbSelection::operator+= ( dbTable rhs)
inline

Definition at line 268 of file oof2.h.

References union_with().

void dbSelection::operator+= ( dbTable rhs)
inline

Definition at line 275 of file oof2.h.

References union_with().

void dbSelection::operator+= ( oidT  offset)
inline

Definition at line 296 of file oof2.h.

References union_with().

void dbSelection::operator-= ( const dbSelection rhs)
inline

Definition at line 170 of file oof2.h.

References difference_with().

void dbSelection::operator-= ( dbTable rhs)
inline

Definition at line 177 of file oof2.h.

References difference_with().

void dbSelection::operator-= ( dbTable rhs)
inline

Definition at line 184 of file oof2.h.

References difference_with().

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

Definition at line 613 of file oof2.cpp.

References prototypicalTable().

dbSelection & dbSelection::operator= ( dbTable rhs)

Definition at line 627 of file oof2.cpp.

References dbTable::currentSelection().

void dbSelection::operator|= ( const dbSelection rhs)
inline

Definition at line 247 of file oof2.h.

References union_with().

void dbSelection::operator|= ( dbTable rhs)
inline

Definition at line 282 of file oof2.h.

References union_with().

void dbSelection::operator|= ( dbTable rhs)
inline

Definition at line 289 of file oof2.h.

References union_with().

void dbSelection::operator~ ( )
inline

Definition at line 303 of file oof2.h.

References invert().

const dbTable * dbSelection::prototypicalTable ( ) const
inline

Definition at line 324 of file oof2.h.

References OOF_Selection::prototypicalTable().

Referenced by count(), and operator=().

void dbSelection::union_with ( const dbSelection rhs)
void dbSelection::union_with ( dbTable rhs)

Definition at line 688 of file oof2.cpp.

References dbTable::currentSelection(), and union_with().

void dbSelection::union_with ( dbTable rhs)
inline

Definition at line 254 of file oof2.h.

References union_with().

void dbSelection::union_with ( oidT  offset)

Definition at line 708 of file oof2.cpp.

References OOF_Selection::union_with().

void dbSelection::union_with_no_overlap ( const dbSelection rhs)

Definition at line 678 of file oof2.cpp.

References OOF_Selection::union_with_no_overlap().

Referenced by dbTable::appendSelection(), and union_with_no_overlap().

void dbSelection::union_with_no_overlap ( dbTable rhs)

Definition at line 668 of file oof2.cpp.

References dbTable::currentSelection(), and union_with_no_overlap().

void dbSelection::union_with_no_overlap ( dbTable rhs)
inline

Definition at line 261 of file oof2.h.

References union_with_no_overlap().


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