neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neolib::i_set< T > Class Template Referenceabstract

#include <i_set.hpp>

Inheritance diagram for neolib::i_set< T >:
neolib::i_container< T, i_const_iterator< T >, i_iterator< T > > neolib::i_reference_counted

Public Types

typedef self_type abstract_type
 
typedef T abstract_key_type
 
typedef T abstract_value_type
 
typedef base_type abstract_container
 
typedef base_type::const_iterator const_iterator
 
typedef base_type::iterator iterator
 
- Public Types inherited from neolib::i_container< T, i_const_iterator< T >, i_iterator< T > >
typedef T value_type
 
typedef size_t size_type
 
typedef i_const_iterator< T > abstract_const_iterator
 
typedef i_iterator< T > abstract_iterator
 
typedef abstract_const_iterator::iterator_wrapper const_iterator
 
typedef abstract_iterator::iterator_wrapper iterator
 
typedef std::reverse_iterator< const_iteratorconst_reverse_iterator
 
typedef std::reverse_iterator< iteratorreverse_iterator
 

Public Member Functions

iterator insert (const abstract_value_type &aValue)
 
const_iterator find (const abstract_key_type &aKey) const
 
iterator find (const abstract_key_type &aKey)
 
- Public Member Functions inherited from neolib::i_container< T, i_const_iterator< T >, i_iterator< T > >
virtual size_type size () const noexcept=0
 
virtual size_type max_size () const noexcept=0
 
bool empty () const noexcept
 
const_iterator cbegin () const
 
const_iterator begin () const
 
iterator begin ()
 
const_iterator cend () const
 
const_iterator end () const
 
iterator end ()
 
const_reverse_iterator crbegin () const
 
const_reverse_iterator rbegin () const
 
reverse_iterator rbegin ()
 
const_reverse_iterator crend () const
 
const_reverse_iterator rend () const
 
reverse_iterator rend ()
 
iterator erase (const abstract_iterator &aPosition)
 
iterator erase (const abstract_const_iterator &aPosition)
 
iterator erase (const abstract_iterator &aFirst, const abstract_iterator &aLast)
 
iterator erase (const abstract_const_iterator &aFirst, const abstract_const_iterator &aLast)
 
virtual void clear ()=0
 
virtual void assign (const i_container &aRhs)=0
 
i_containeroperator= (const i_container &aRhs)
 
- Public Member Functions inherited from neolib::i_reference_counted
virtual ~i_reference_counted ()=default
 
virtual void add_ref () const noexcept=0
 
virtual void release () const =0
 
virtual int32_t use_count () const noexcept=0
 
virtual const i_reference_countedrelease_and_take_ownership () const =0
 
virtual i_reference_countedrelease_and_take_ownership ()=0
 
virtual void pin () const noexcept=0
 
virtual void unpin () const =0
 
virtual i_ref_control_blockcontrol_block ()=0
 

Protected Types

typedef base_type::abstract_const_iterator abstract_const_iterator
 
typedef base_type::abstract_iterator abstract_iterator
 
- Protected Types inherited from neolib::i_container< T, i_const_iterator< T >, i_iterator< T > >
typedef i_container< T, i_const_iterator< T >, i_iterator< T > > generic_container_type
 

Detailed Description

template<typename T>
class neolib::i_set< T >

Definition at line 44 of file i_set.hpp.

Member Typedef Documentation

◆ abstract_const_iterator

template<typename T >
typedef base_type::abstract_const_iterator neolib::i_set< T >::abstract_const_iterator
protected

Definition at line 54 of file i_set.hpp.

◆ abstract_container

template<typename T >
typedef base_type neolib::i_set< T >::abstract_container

Definition at line 52 of file i_set.hpp.

◆ abstract_iterator

template<typename T >
typedef base_type::abstract_iterator neolib::i_set< T >::abstract_iterator
protected

Definition at line 55 of file i_set.hpp.

◆ abstract_key_type

template<typename T >
typedef T neolib::i_set< T >::abstract_key_type

Definition at line 50 of file i_set.hpp.

◆ abstract_type

template<typename T >
typedef self_type neolib::i_set< T >::abstract_type

Definition at line 49 of file i_set.hpp.

◆ abstract_value_type

template<typename T >
typedef T neolib::i_set< T >::abstract_value_type

Definition at line 51 of file i_set.hpp.

◆ const_iterator

template<typename T >
typedef base_type::const_iterator neolib::i_set< T >::const_iterator

Definition at line 57 of file i_set.hpp.

◆ iterator

Definition at line 58 of file i_set.hpp.

Member Function Documentation

◆ find() [1/2]

template<typename T >
iterator neolib::i_set< T >::find ( const abstract_key_type aKey)
inline

Definition at line 62 of file i_set.hpp.

◆ find() [2/2]

template<typename T >
const_iterator neolib::i_set< T >::find ( const abstract_key_type aKey) const
inline

Definition at line 61 of file i_set.hpp.

◆ insert()

template<typename T >
iterator neolib::i_set< T >::insert ( const abstract_value_type aValue)
inline

Definition at line 60 of file i_set.hpp.


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