#include <eckit/container/DenseSet.h>
template<typename V>
DenseSet class
Public types
- using value_type = V
- value type
- using const_reference = store_t::const_reference
- using iterator = store_t::const_iterator
- using const_iterator = store_t::const_iterator
Constructors, destructors, conversion operators
Public functions
- void reserve(size_t s)
- void insert(const V& v)
- void clear()
- @TODO shoudl we implement this?
- auto sorted() const -> bool
- auto size() const -> size_t
- auto empty() const -> bool
- void sort()
- auto begin() -> iterator
- auto begin() const -> const_iterator
- auto cbegin() const -> const_iterator
- auto end() -> iterator
- auto end() const -> const_iterator
- auto cend() const -> const_iterator
- auto contains(const V& v) const -> bool
- auto at(const size_t i) const -> const_reference
- auto operator[](const size_t& i) const -> const_reference
- auto find(const V& v) -> iterator
- auto find(const V& v) const -> const_iterator
-
void print(std::
ostream& s) const - void json(JSON& s) const
- auto operator==(const DenseSet& rhs) const -> bool
- auto operator!=(const DenseSet& rhs) const -> bool
- void merge(const DenseSet& other)
Friends
-
auto operator<<(std::
ostream& s, const DenseSet& m) -> std:: ostream& - auto operator<<(JSON& s, const DenseSet& m) -> JSON&