CONZEPT 16 C++ API
|
Client to access a server hosting databases. More...
#include "C16/Client.hpp"
Public Member Functions | |
Client () | |
Constructs a client. More... | |
const std::string & | release () const |
Gets the release of the client. More... | |
unsigned long long int | memory_usage () const |
Gets the memory usage of the client in units of bytes. More... | |
unsigned long long int | memory_usage_peak () const |
Gets the peak memory usage of the client in units of bytes. More... | |
C16::Client::Client | ( | ) |
Constructs a client.
const std::string& C16::Client::release | ( | ) | const |
Gets the release of the client.
The release is represented by a string of the form <major>.<minor>.<revision>
, where the parts in angle brackets (<
... >
) contain the following data:
<major>
– Major release of the client. An integer consisting of one digit.<minor>
– Minor release of the client. An integer consisting of one digit.<revision>
– Revision of the client. An integer consisting of two digits, possibly followed by one lower case letter (a
to z
), identifying the sub-revision of the client.Examples: 5.0.08
, 5.4.16
, 5.8.32b
unsigned long long int C16::Client::memory_usage | ( | ) | const |
Gets the memory usage of the client in units of bytes.
The memory usage is the amount of memory currently in use.
unsigned long long int C16::Client::memory_usage_peak | ( | ) | const |
Gets the peak memory usage of the client in units of bytes.
The peak memory usage is the maximal memory usage since the construction of the client.