My Project: dht::FieldValueIndex Class Reference

My Project 3.7.7 C++ Distributed Hash Table

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Friends | List of all members
dht::FieldValueIndex Class Reference

An index for field values. More...

`#include <value.h>`

Collaboration diagram for dht::FieldValueIndex:
[legend]

## Public Member Functions
| FieldValueIndex (const Value &v, const Select &s={})
bool | containedIn (const FieldValueIndex &other) const
void | msgpack_unpack_fields (const std::set< Value::Field > &fields, const msgpack::object &o, unsigned offset)

## Public Attributes
std::map< Value::Field, FieldValue > | index {}

## Friends
OPENDHT_PUBLIC friend std::ostream & | operator<< (std::ostream &os, const FieldValueIndex &fvi)

## Detailed Description

An index for field values.

This structures is meant to manipulate a subset of fields normally contained in Value.

Definition at line 1060 of file value.h.

## Constructor & Destructor Documentation

## ◆ FieldValueIndex()

dht::FieldValueIndex::FieldValueIndex | ( |  | ) |
| inline

Definition at line 1062 of file value.h.

## Member Function Documentation

## ◆ containedIn()

bool dht::FieldValueIndex::containedIn | ( | const FieldValueIndex & | other | ) | const

Tells if all the fields of this are contained in the other FieldValueIndex with the same value.

Parameters

  other | The other FieldValueIndex instance.

## Member Data Documentation

## ◆ index

std::map<Value::Field, FieldValue> dht::FieldValueIndex::index {}

Definition at line 1076 of file value.h.

The documentation for this class was generated from the following file:

- /home/noptrix/ba/blackarch/packages/opendht-c/src/opendht/include/opendht/value.h