# Generated Class Functions

> The following functions are generated for each class name (classname) specified in the schema:

> classname_new() | Create a new instance of a database object (without an OID)
> classname_new() (OID) | Create a new instance of a database object with an OID
> classname_delete() | Delete a database object (referenced by its class handle)
> classname_delete_all() | Delete a all database objects of this class (referenced by a class handle)
> classname_pack() | Defragment the object (remove all unused memory "holes" for dynamic fields)
> classname_set_caching_priority() | Change the caching priority for this class
> classname_set_allocation_block_size | Set the allocation block size for this class
> classname_updated_bitmap_get_fldname() | Return the field number and position of any updated field(s)
> classname_checkpoint() | Creating index nodes with the object’s new or updated values
> classname_oid_find() | Return a handle to the object referenced by its OID
> classname_oid_get() | Return the OID of the object referenced by its class handle
> classname_json_get() | Save a single object to an external file in JSON format
> classname_autoid_find() | Return a handle to the object referenced by its autoid
> classname_autoid_get() | Return the autoid of the object referenced by its class handle
> classname_list_cursor() | Create a list cursor for (unordered) cursor navigation
> classname_from_cursor() | Return a handle to the object at the current cursor position
> classname_fixed_get() | Read all of the fixed size (not char, string or BLOB) field values in a single call
> classname_fixed_put() | Write all of the fixed size (not char, string or BLOB) field values in a single call.