ssm_sort::factory_t Class Reference
[Sorting]

Collaboration diagram for ssm_sort::factory_t:

Collaboration graph
[legend]
List of all members.

Detailed Description

A memory allocator (abstract base class) used by ss_m::sort_file and its adjuncts.

The ssm_sort::CSKF, ssm_sort::MOF and ssm_sort::UMOF callbacks may need to allocate memory, in which case they should use the factory passed in as an argument; this allows the storage manager to free the memory using the same allocator.

These allocators are used with object_t (record handles) and skey_t (key handles).

The default allocators used by ss_m::sort_file are

Users must write their own factories that inherit from factory_t.

Definition at line 233 of file sort_s.h.

Public Member Functions

 factory_t ()
virtual NORET ~factory_t ()
void freefunc (vec_t &v)

Static Public Attributes

static factory_tnone
static factory_tcpp_vector


The documentation for this class was generated from the following file:
Generated on Mon Nov 8 11:14:20 2010 for Shore Storage Manager by  doxygen 1.4.7