This function reads all of the fixed size (not char, string or BLOB) field values in a single call.
MCO_RET classname_fixed_get( /*IN*/ classname *handle,
/*OUT*/ classname_fixed * value);
handle
value
classname_fixed into which will be read fixed length data from the object referenced by handle.This function reads all of the fixed size (not char, string or BLOB) field values in a single call. The C structure pointer value will receive the fixed size data.
MCO_S_OK
MCO_E_TRANSACT
MCO_ERR_OBJECT_HANDLE
Application snippet: const char * db_name = "operations"; int main(int argc, char* argv[]) { MCO_RET rc; sample_memory_t dbmem; sample_os_initialize(DEFAULT); /* Start eXtremeDB runtime */ mco_runtime_start(); sample_header("Sample 'operations' performs basic insert, read, and update operations.\n" ); rc = sample_open_database( db_name, simpledb_get_dictionary(), DATABASE_SIZE, CACHE_SIZE, MEMORY_PAGE_SIZE, PSTORAGE_PAGE_SIZE, 1, &dbmem ); ... /* Get field values from A_fixed */ printf("\n\tUsing A_fixed :\n" ); A_fixed_get(&a, &_a); }