upscaledb
2.1.13
|
#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 () |
Protected Attributes | |
ups_record_t | m_rec |
A record class.
This class wraps structures of type ups_record_t.
Definition at line 166 of file upscaledb.hpp.
Constructor
Definition at line 169 of file upscaledb.hpp.
References ups_record_t::data, ups_record_t::flags, m_rec, and ups_record_t::size.
|
inline |
Copy constructor.
Definition at line 177 of file upscaledb.hpp.
|
inline |
Returns the record data.
Definition at line 188 of file upscaledb.hpp.
References ups_record_t::data, and m_rec.
Referenced by run_demo().
|
inline |
Returns the flags of the record.
Definition at line 208 of file upscaledb.hpp.
References ups_record_t::flags, and m_rec.
|
inline |
Returns a pointer to the internal ups_record_t structure.
Definition at line 218 of file upscaledb.hpp.
References m_rec.
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 198 of file upscaledb.hpp.
References m_rec, and ups_record_t::size.
|
inline |
Sets the record data.
Definition at line 193 of file upscaledb.hpp.
References ups_record_t::data, and m_rec.
Referenced by run_demo().
|
inline |
Sets the flags of the record.
Definition at line 213 of file upscaledb.hpp.
References ups_record_t::flags, and m_rec.
|
inline |
Sets the size of the record.
Definition at line 203 of file upscaledb.hpp.
References m_rec, and ups_record_t::size.
Referenced by run_demo().
|
protected |
Definition at line 223 of file upscaledb.hpp.
Referenced by get_data(), get_flags(), get_handle(), get_size(), operator=(), record(), set_data(), set_flags(), and set_size().