upscaledb
2.2.1
|
#include <upscaledb.hpp>
Public Member Functions | |
error (ups_status_t st) | |
ups_status_t | get_errno () const |
const char * | get_string () const |
Private Attributes | |
ups_status_t | _status |
An error class.
The upscaledb C++ API throws this class as Exceptions.
Definition at line 66 of file upscaledb.hpp.
|
inline |
Constructor
Definition at line 69 of file upscaledb.hpp.
Referenced by upscaledb::txn::abort(), upscaledb::env::begin(), upscaledb::cursor::clone(), upscaledb::db::close(), upscaledb::cursor::close(), upscaledb::env::close(), upscaledb::txn::commit(), upscaledb::db::count(), upscaledb::cursor::create(), upscaledb::env::create(), upscaledb::env::create_db(), upscaledb::db::erase(), upscaledb::cursor::erase(), upscaledb::env::erase_db(), upscaledb::db::find(), upscaledb::cursor::find(), upscaledb::env::flush(), upscaledb::env::get_database_names(), upscaledb::cursor::get_duplicate_count(), upscaledb::db::get_parameters(), upscaledb::env::get_parameters(), upscaledb::cursor::get_record_size(), upscaledb::db::insert(), upscaledb::cursor::insert(), upscaledb::cursor::move(), upscaledb::env::open(), upscaledb::env::open_db(), upscaledb::cursor::overwrite(), upscaledb::env::rename_db(), and upscaledb::db::set_compare_func().
|
inline |
Returns the error code.
Definition at line 74 of file upscaledb.hpp.
References _status.
Referenced by main(), run_demo(), upscaledb::cursor::~cursor(), upscaledb::db::~db(), and upscaledb::env::~env().
|
inline |
Returns an English error description.
Definition at line 79 of file upscaledb.hpp.
References _status, and ups_strerror().
Referenced by main(), and run_demo().
|
private |
Definition at line 84 of file upscaledb.hpp.
Referenced by get_errno(), and get_string().