My Project 3.2.0
C++ Distributed Hash Table
|
Describes a value filter. More...
#include <value.h>
Public Member Functions | |
FieldValue (Value::Field f, uint64_t int_value) | |
FieldValue (Value::Field f, InfoHash hash_value) | |
FieldValue (Value::Field f, Blob blob_value) | |
bool | operator== (const FieldValue &fd) const |
Value::Field | getField () const |
uint64_t | getInt () const |
InfoHash | getHash () const |
Blob | getBlob () const |
template<typename Packer > | |
void | msgpack_pack (Packer &p) const |
void | msgpack_unpack (const msgpack::object &msg) |
Value::Filter | getLocalFilter () const |
Describes a value filter.
This structure holds the value for a specified field. It's type can either be uint64_t, InfoHash or Blob.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |