#include "collection_set.hpp"

Public Types | |
| using | value_type = Key |
Public Member Functions | |
| CollectionSet ()=default | |
| template<typename Collection > | |
| void | insertValues (Collection &&collection) |
| template<typename Collection > | |
| void | removeValues (Collection &&collection) |
| template<typename Callable > | |
| void | forEach (Callable &&callable) const |
Class provides concurrent implementation of collection which operates with collections on insert and remove
| Key | - type of holding values |
| Hash | - hash representation of Key values |
| KeyEqual | - equality type |
| using iroha::set::CollectionSet< Key, Hash, KeyEqual >::value_type = Key |
|
default |
|
inline |
Blocking walk through the collection
| Callable | - type of functor |
| callable | - functor for invocation on each element |
|
inline |
Merge our and passed collection
| Collection | - type of passed collection |
| collection | - elements to insert |
|
inline |
Remove all elements which are occured in the passed collection
| Collection | - type of passed collection |
| collection | - elements to remove |