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_t * | none |
static factory_t * | cpp_vector |