upscaledb
2.2.1
|
#include <upscaledb.hpp>
Public Member Functions | |
key (void *data=0, uint16_t size=0, uint32_t flags=0) | |
key (const key &other) | |
key & | operator= (const key &other) |
void * | get_data () const |
void | set_data (void *data) |
uint16_t | get_size () const |
void | set_size (uint16_t size) |
template<class T > | |
void | set (T &t) |
uint32_t | get_flags () const |
void | set_flags (uint32_t flags) |
ups_key_t * | get_handle () |
Private Attributes | |
ups_key_t | _key |
A key class.
This class wraps structures of type ups_key_t.
Definition at line 92 of file upscaledb.hpp.
Constructor
Definition at line 95 of file upscaledb.hpp.
|
inline |
Copy constructor.
Definition at line 103 of file upscaledb.hpp.
|
inline |
Returns the key data.
Definition at line 115 of file upscaledb.hpp.
|
inline |
Returns the flags of the key.
Definition at line 142 of file upscaledb.hpp.
|
inline |
Returns a pointer to the internal ups_key_t structure.
Definition at line 152 of file upscaledb.hpp.
Referenced by upscaledb::db::erase(), upscaledb::db::find(), upscaledb::cursor::find(), upscaledb::db::insert(), upscaledb::cursor::insert(), and upscaledb::cursor::move().
|
inline |
Returns the size of the key.
Definition at line 125 of file upscaledb.hpp.
|
inline |
Template assignment
Definition at line 136 of file upscaledb.hpp.
|
inline |
|
inline |
Sets the flags of the key.
Definition at line 147 of file upscaledb.hpp.
|
inline |
|
private |
Definition at line 157 of file upscaledb.hpp.
Referenced by operator=().