libGimbal 0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
Loading...
Searching...
No Matches
gimbal::HashSetView< K > Class Template Reference
Inheritance diagram for gimbal::HashSetView< K >:
gimbal::HashSetBase< HashSetView< K >, K > gimbal::tags::HashSet

Public Member Functions

 HashSetView (const GblHashSet &gblHashSet)
 
 HashSetView (const GblHashSet *pGblHashSet)
 
bool isValid (void) const
 
- Public Member Functions inherited from gimbal::HashSetBase< HashSetView< K >, K >
 operator const GblHashSet * () const
 
decltype(auto) getSet (void) const
 
decltype(auto) getSet (void)
 
size_type size (void) const noexcept
 
size_type bucket_count (void) const noexcept
 
size_type bucket_size (void) const noexcept
 
bool empty (void) const noexcept
 
GblContextcontext (void) const noexcept
 
const_pointer get (const key_type &key) const noexcept
 
const_reference at (const key_type &key) const
 
size_type count (const key_type &key) const noexcept
 
bool contains (const key_type &key) const noexcept
 
const_pointer probe (size_type position) const noexcept
 
const_iterator find (const key_type &key) const noexcept
 
bool for_each (F &&fn) const noexcept
 
const_iterator next (const_iterator *pPrev) const
 
const_iterator cbegin (void) const
 
auto begin (void) const
 
const_iterator cend (void) const
 
auto end (void) const
 

Protected Member Functions

const GblHashSetset_ (void) const
 

Friends

class HashSetBase< HashSetView< K >, K >
 

Additional Inherited Members

- Public Types inherited from gimbal::HashSetBase< HashSetView< K >, K >
using HashSetBaseType = HashSetBase< HashSetView< K >, K >
 
using DerivedType = HashSetView< K >
 
using KeyType = K
 
using key_type = KeyType
 
using value_type = KeyType
 
using reference = value_type &
 
using const_reference = const value_type &
 
using pointer = value_type *
 
using const_pointer = const value_type *
 
using const_iterator = HashSetIterator< std::add_const_t< HashSetBase< HashSetView< K >, K > >, K >
 
using allocator_type = Context *
 
using size_type = Size
 
using difference_type = ptrdiff_t
 

Detailed Description

template<typename K>
class gimbal::HashSetView< K >

Definition at line 92 of file gimbal_hash_set.hpp.

Constructor & Destructor Documentation

◆ HashSetView() [1/2]

template<typename K >
gimbal::HashSetView< K >::HashSetView ( const GblHashSet gblHashSet)
inline

Definition at line 416 of file gimbal_hash_set.hpp.

416 :
417 pGblHashSet_(&gblHashSet) {}

◆ HashSetView() [2/2]

template<typename K >
gimbal::HashSetView< K >::HashSetView ( const GblHashSet pGblHashSet)
inline

Definition at line 420 of file gimbal_hash_set.hpp.

420 :
421 pGblHashSet_(pGblHashSet) {}

Member Function Documentation

◆ set_()

template<typename K >
const GblHashSet * gimbal::HashSetView< K >::set_ ( void  ) const
inlineprotected

Definition at line 413 of file gimbal_hash_set.hpp.

413{ return pGblHashSet_; }

◆ isValid()

template<typename K >
bool gimbal::HashSetView< K >::isValid ( void  ) const
inline

Definition at line 424 of file gimbal_hash_set.hpp.

424{ return pGblHashSet_; }

Friends And Related Symbol Documentation

◆ HashSetBase< HashSetView< K >, K >

template<typename K >
friend class HashSetBase< HashSetView< K >, K >
friend

Definition at line 86 of file gimbal_hash_set.hpp.


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