upscaledb
2.2.1
|
#include <upscaledb.hpp>
Public Member Functions | |
record (void *data=0, uint32_t size=0, uint32_t flags=0) | |
record (const record &other) | |
record & | operator= (const record &other) |
void * | get_data () const |
void | set_data (void *data) |
uint32_t | get_size () const |
void | set_size (uint32_t size) |
uint32_t | get_flags () const |
void | set_flags (uint32_t flags) |
ups_record_t * | get_handle () |
Private Attributes | |
ups_record_t | _record |
A record class.
This class wraps structures of type ups_record_t.
Definition at line 165 of file upscaledb.hpp.
Constructor
Definition at line 168 of file upscaledb.hpp.
|
inline |
Copy constructor.
Definition at line 176 of file upscaledb.hpp.
|
inline |
|
inline |
Returns the flags of the record.
Definition at line 207 of file upscaledb.hpp.
|
inline |
Returns a pointer to the internal ups_record_t structure.
Definition at line 217 of file upscaledb.hpp.
Referenced by upscaledb::db::find(), upscaledb::db::insert(), upscaledb::cursor::insert(), upscaledb::cursor::move(), and upscaledb::cursor::overwrite().
|
inline |
Returns the size of the record.
Definition at line 197 of file upscaledb.hpp.
|
inline |
|
inline |
Sets the flags of the record.
Definition at line 212 of file upscaledb.hpp.
|
inline |
Sets the size of the record.
Definition at line 202 of file upscaledb.hpp.
Referenced by run_demo().
|
private |
Definition at line 222 of file upscaledb.hpp.
Referenced by operator=().