Serializable Value field selection.
More...
#include <value.h>
|
OPENDHT_PUBLIC friend std::ostream & | operator<< (std::ostream &s, const dht::Select &q) |
|
Serializable Value field selection.
This is a container for a list of FieldSelectorDescription instances. It describes a complete SELECT query for dht::Value.
Definition at line 741 of file value.h.
◆ Select()
◆ empty()
bool dht::Select::empty |
( |
| ) |
const |
|
inline |
◆ field()
Select & dht::Select::field |
( |
Value::Field | field | ) |
|
|
inline |
Selects a field of type Value::Field.
- Parameters
-
field | the field to require. |
- Returns
- the resulting Select instance.
Definition at line 755 of file value.h.
◆ getSelection()
std::set< Value::Field > dht::Select::getSelection |
( |
| ) |
const |
|
inline |
Computes the set of selected fields based on previous require* calls.
- Returns
- the set of fields.
Definition at line 766 of file value.h.
◆ msgpack_pack()
template<typename Packer>
void dht::Select::msgpack_pack |
( |
Packer & | pk | ) |
const |
|
inline |
◆ msgpack_unpack()
void dht::Select::msgpack_unpack |
( |
const msgpack::object & | o | ) |
|
|
inline |
◆ toString()
std::string dht::Select::toString |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file:
- /home/iurt/rpmbuild/BUILD/opendht-3.2.0-build/opendht-3.2.0/include/opendht/value.h