ZTB Class Reference
[Tuplebase]

A smart pointer representing the connection to a tuplebase. More...

#include <ZTB.h>

List of all members.

Public Member Functions

 operator operator_bool_type () const
 Returns true-equivalent if referencing a usable tuplebase.
uint64 AllocateID ()
 Return an ID that's never been returned before, and never will again.
uint64 Add (const ZTxn &iTxn, const ZTuple &iTuple)
 Allocate an ID, and store iTuple at that ID.
void Set (const ZTxn &iTxn, uint64 iID, const ZTuple &iTuple)
 Store iTuple at the ID iID.
void Erase (const ZTxn &iTxn, uint64 iID)
 Store an empty tuple at the ID iID.
ZTuple Get (const ZTxn &iTxn, uint64 iID)
 Return the tuple stored at ID iID.
size_t Count (const ZTxn &iTxn, const ZTBQuery &iQuery)
 Return the number of tuples that would be visited by walking iQuery.
ZRef< ZTBRep > GetTBRep () const
 Returns the underlying TBRep.


Detailed Description

A smart pointer representing the connection to a tuplebase.


The documentation for this class was generated from the following files:
Generated on Thu Jul 26 11:22:08 2007 for ZooLib by  doxygen 1.4.7