ssm_sort::object_t Class Reference
[Sorting]

Inherits smlevel_top.

Collaboration diagram for ssm_sort::object_t:

Collaboration graph
[legend]
List of all members.

Detailed Description

Handle on a record in the buffer pool or in scratch memory.

The ss_m::sort_file function calls a variety of user-defined callback functions to process records in the buffer pool or in-memory copies of records and to produce more of the same.

This class provides a generic handle to reference the records or copies of records, since the callbacks need only to

An object_t created from buffers must also know how the buffers were allocated so it can free the buffers to the same heap, so it keeps a reference to the factory_t used by the callback function to create the buffers.

Definition at line 312 of file sort_s.h.

Public Member Functions

NORET object_t (const object_t &o)
NORET object_t (const void *hdr, smsize_t hdrlen, factory_t &hf, const void *body, smsize_t bodylen, factory_t &bf)
bool is_valid () const
bool is_in_buffer_pool () const
smsize_t hdr_size () const
smsize_t body_size () const

Protected Member Functions

void _callback_prologue () const
void _callback_epilogue () const
void _invalidate ()

Protected Attributes

int _save_pin_count


The documentation for this class was generated from the following file:
Generated on Wed Jul 7 17:22:44 2010 for Shore Storage Manager by  doxygen 1.4.7