Dbt
#include <db_cxx.h> class Dbt { public: void *get_data() const; void set_data(void *); u_int32_t get_size() const; void set_size(u_int32_t); u_int32_t get_ulen() const; void set_ulen(u_int32_t); u_int32_t get_dlen() const; void set_dlen(u_int32_t); u_int32_t get_doff() const; void set_doff(u_int32_t); u_int32_t get_flags() const; void set_flags(u_int32_t); Dbt(void *data, size_t size); Dbt(); Dbt(const Dbt &); Dbt &operator = (const Dbt &); ∼Dbt(); };
Description
This manual page describes the specific details of the Dbt class, used to encode keys and data items in a database.
Key/Data Pairs
Storage and retrieval for the Db access methods are based on key/data pairs. Both key and data items are represented by Dbt objects. Key and data ...
Get Berkeley DB now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.