Loading...
Searching...
No Matches
meshkit::detail::Set< K > Class Template Reference

std::unordered_set<K, Hash<K>> with the QSet-style names the CDT kernel uses. More...

#include <meshkit/detail/storage.hpp>

Inheritance diagram for meshkit::detail::Set< K >:
Collaboration diagram for meshkit::detail::Set< K >:

Public Member Functions

bool remove (const K &k)
 Erase k.
 
bool isEmpty () const
 True when the set has no elements.
 
bool contains (const K &key) const
 Membership test.
 

Detailed Description

template<class K>
class meshkit::detail::Set< K >

std::unordered_set<K, Hash<K>> with the QSet-style names the CDT kernel uses.

Template Parameters
KElement type.

Member Function Documentation

◆ contains()

template<class K>
bool meshkit::detail::Set< K >::contains ( const K & key) const
inline

Membership test.

Parameters
[in]keyElement to look for.
Returns
True when key is in the set.
Here is the caller graph for this function:

◆ isEmpty()

template<class K>
bool meshkit::detail::Set< K >::isEmpty ( ) const
inline

True when the set has no elements.

Here is the caller graph for this function:

◆ remove()

template<class K>
bool meshkit::detail::Set< K >::remove ( const K & k)
inline

Erase k.

Parameters
[in]kElement to erase.
Returns
True when k was present.
Here is the caller graph for this function:

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