Serializable dht::Value filter.
More...
#include <value.h>
|
|
| Where (const std::string &q_str) |
| |
|
bool | isSatisfiedBy (const Where &where) const |
| |
| Where & | id (Value::Id id) |
| |
| Where & | valueType (ValueType::Id type) |
| |
| Where & | owner (InfoHash owner_pk_hash) |
| |
| Where & | seq (uint16_t seq_no) |
| |
| Where & | userType (std::string user_type) |
| |
| Value::Filter | getFilter () const |
| |
|
template<typename Packer > |
| void | msgpack_pack (Packer &pk) const |
| |
|
void | msgpack_unpack (const msgpack::object &o) |
| |
|
std::string | toString () const |
| |
|
bool | empty () const |
| |
|
|
OPENDHT_PUBLIC friend std::ostream & | operator<< (std::ostream &s, const dht::Where &q) |
| |
Serializable dht::Value filter.
This is container for a list of FieldValue instances. It describes a complete WHERE query for dht::Value.
Definition at line 739 of file value.h.
| Where& dht::Where::id |
( |
Value::Id |
id | ) |
|
|
inline |
Adds restriction on Value::Id based on the id argument.
- Parameters
-
- Returns
- the resulting Where instance.
Definition at line 753 of file value.h.
Adds restriction on Value::OwnerPk based on the owner_pk_hash argument.
- Parameters
-
| owner_pk_hash | the owner public key fingerprint. |
- Returns
- the resulting Where instance.
Definition at line 781 of file value.h.
| Where& dht::Where::seq |
( |
uint16_t |
seq_no | ) |
|
|
inline |
Adds restriction on Value::OwnerPk based on the owner_pk_hash argument.
- Parameters
-
| owner_pk_hash | the owner public key fingerprint. |
- Returns
- the resulting Where instance.
Definition at line 795 of file value.h.
| Where& dht::Where::userType |
( |
std::string |
user_type | ) |
|
|
inline |
Adds restriction on Value::UserType based on the user_type argument.
- Parameters
-
- Returns
- the resulting Where instance.
Definition at line 809 of file value.h.
| Where& dht::Where::valueType |
( |
ValueType::Id |
type | ) |
|
|
inline |
Adds restriction on Value::ValueType based on the type argument.
- Parameters
-
- Returns
- the resulting Where instance.
Definition at line 767 of file value.h.
The documentation for this class was generated from the following file:
- /tmp/slackrepo/SBo/slackrepo.6I59mk/build_opendht/opendht-1.7.4/include/opendht/value.h