O'Reilly logo

Berkeley DB by Sleepycat™ Software, Inc.

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required