HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
UT::ArraySet< Key, MULTI, MAX_LOAD_FACTOR_256, Clearer, Hash, KeyEqual >::iterator_t< constant_type > Class Template Reference

Set iterator class. More...

#include <UT_ArraySet.h>

Public Types

typedef std::forward_iterator_tag iterator_category
 
typedef std::ptrdiff_t difference_type
 
typedef std::conditional
< constant_type, const
typename ArraySet::value_type,
typename ArraySet::value_type >
::type 
value_type
 
typedef std::conditional
< constant_type, const
value_type, value_type >::type
reference
 
typedef std::conditional
< constant_type, typename
set_type::const_pointer,
typename set_type::pointer >
::type 
pointer
 

Public Member Functions

 iterator_t ()=default
 
 iterator_t (pointer current, const_pointer end, bool scan=true)
 
 iterator_t (const iterator_t &)=default
 
 iterator_t (iterator_t &&)=default
 
iterator_toperator= (const iterator_t &)=default
 
iterator_toperator= (iterator_t &&)=default
 
bool operator== (const iterator_t &that) const
 
bool operator!= (const iterator_t &that) const
 
bool atEnd () const
 
iterator_t< constant_type > & operator++ ()
 
iterator_t< constant_type > operator++ (int)
 
reference operator* () const
 
pointer operator-> () const
 
 operator pointer () const
 
pointer getCurrent () const
 
const_pointer getEnd () const
 

Friends

class iterator_t<!constant_type >
 

Detailed Description

template<typename Key, bool MULTI = false, std::size_t MAX_LOAD_FACTOR_256 = 128, typename Clearer = DefaultClearer<Key>, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>>
template<bool constant_type>
class UT::ArraySet< Key, MULTI, MAX_LOAD_FACTOR_256, Clearer, Hash, KeyEqual >::iterator_t< constant_type >

Set iterator class.

Definition at line 594 of file UT_ArraySet.h.

Member Typedef Documentation

template<typename Key, bool MULTI = false, std::size_t MAX_LOAD_FACTOR_256 = 128, typename Clearer = DefaultClearer<Key>, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>>
template<bool constant_type>
typedef std::ptrdiff_t UT::ArraySet< Key, MULTI, MAX_LOAD_FACTOR_256, Clearer, Hash, KeyEqual >::iterator_t< constant_type >::difference_type

Definition at line 598 of file UT_ArraySet.h.

template<typename Key, bool MULTI = false, std::size_t MAX_LOAD_FACTOR_256 = 128, typename Clearer = DefaultClearer<Key>, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>>
template<bool constant_type>
typedef std::forward_iterator_tag UT::ArraySet< Key, MULTI, MAX_LOAD_FACTOR_256, Clearer, Hash, KeyEqual >::iterator_t< constant_type >::iterator_category

Definition at line 597 of file UT_ArraySet.h.

template<typename Key, bool MULTI = false, std::size_t MAX_LOAD_FACTOR_256 = 128, typename Clearer = DefaultClearer<Key>, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>>
template<bool constant_type>
typedef std::conditional<constant_type, typename set_type::const_pointer, typename set_type::pointer>::type UT::ArraySet< Key, MULTI, MAX_LOAD_FACTOR_256, Clearer, Hash, KeyEqual >::iterator_t< constant_type >::pointer

Definition at line 601 of file UT_ArraySet.h.

template<typename Key, bool MULTI = false, std::size_t MAX_LOAD_FACTOR_256 = 128, typename Clearer = DefaultClearer<Key>, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>>
template<bool constant_type>
typedef std::conditional<constant_type, const value_type, value_type>::type& UT::ArraySet< Key, MULTI, MAX_LOAD_FACTOR_256, Clearer, Hash, KeyEqual >::iterator_t< constant_type >::reference

Definition at line 600 of file UT_ArraySet.h.

template<typename Key, bool MULTI = false, std::size_t MAX_LOAD_FACTOR_256 = 128, typename Clearer = DefaultClearer<Key>, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>>
template<bool constant_type>
typedef std::conditional<constant_type, const typename ArraySet::value_type, typename ArraySet::value_type>::type UT::ArraySet< Key, MULTI, MAX_LOAD_FACTOR_256, Clearer, Hash, KeyEqual >::iterator_t< constant_type >::value_type

Definition at line 599 of file UT_ArraySet.h.

Constructor & Destructor Documentation

template<typename Key, bool MULTI = false, std::size_t MAX_LOAD_FACTOR_256 = 128, typename Clearer = DefaultClearer<Key>, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>>
template<bool constant_type>
UT::ArraySet< Key, MULTI, MAX_LOAD_FACTOR_256, Clearer, Hash, KeyEqual >::iterator_t< constant_type >::iterator_t ( )
default
template<typename Key, bool MULTI = false, std::size_t MAX_LOAD_FACTOR_256 = 128, typename Clearer = DefaultClearer<Key>, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>>
template<bool constant_type>
UT::ArraySet< Key, MULTI, MAX_LOAD_FACTOR_256, Clearer, Hash, KeyEqual >::iterator_t< constant_type >::iterator_t ( pointer  current,
const_pointer  end,
bool  scan = true 
)
inline

Definition at line 604 of file UT_ArraySet.h.

template<typename Key, bool MULTI = false, std::size_t MAX_LOAD_FACTOR_256 = 128, typename Clearer = DefaultClearer<Key>, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>>
template<bool constant_type>
UT::ArraySet< Key, MULTI, MAX_LOAD_FACTOR_256, Clearer, Hash, KeyEqual >::iterator_t< constant_type >::iterator_t ( const iterator_t< constant_type > &  )
default
template<typename Key, bool MULTI = false, std::size_t MAX_LOAD_FACTOR_256 = 128, typename Clearer = DefaultClearer<Key>, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>>
template<bool constant_type>
UT::ArraySet< Key, MULTI, MAX_LOAD_FACTOR_256, Clearer, Hash, KeyEqual >::iterator_t< constant_type >::iterator_t ( iterator_t< constant_type > &&  )
default

Member Function Documentation

template<typename Key, bool MULTI = false, std::size_t MAX_LOAD_FACTOR_256 = 128, typename Clearer = DefaultClearer<Key>, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>>
template<bool constant_type>
bool UT::ArraySet< Key, MULTI, MAX_LOAD_FACTOR_256, Clearer, Hash, KeyEqual >::iterator_t< constant_type >::atEnd ( ) const
inline

Definition at line 631 of file UT_ArraySet.h.

template<typename Key, bool MULTI = false, std::size_t MAX_LOAD_FACTOR_256 = 128, typename Clearer = DefaultClearer<Key>, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>>
template<bool constant_type>
pointer UT::ArraySet< Key, MULTI, MAX_LOAD_FACTOR_256, Clearer, Hash, KeyEqual >::iterator_t< constant_type >::getCurrent ( ) const
inline

Definition at line 668 of file UT_ArraySet.h.

template<typename Key, bool MULTI = false, std::size_t MAX_LOAD_FACTOR_256 = 128, typename Clearer = DefaultClearer<Key>, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>>
template<bool constant_type>
const_pointer UT::ArraySet< Key, MULTI, MAX_LOAD_FACTOR_256, Clearer, Hash, KeyEqual >::iterator_t< constant_type >::getEnd ( void  ) const
inline

Definition at line 673 of file UT_ArraySet.h.

template<typename Key, bool MULTI = false, std::size_t MAX_LOAD_FACTOR_256 = 128, typename Clearer = DefaultClearer<Key>, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>>
template<bool constant_type>
UT::ArraySet< Key, MULTI, MAX_LOAD_FACTOR_256, Clearer, Hash, KeyEqual >::iterator_t< constant_type >::operator pointer ( ) const
inline

Definition at line 663 of file UT_ArraySet.h.

template<typename Key, bool MULTI = false, std::size_t MAX_LOAD_FACTOR_256 = 128, typename Clearer = DefaultClearer<Key>, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>>
template<bool constant_type>
bool UT::ArraySet< Key, MULTI, MAX_LOAD_FACTOR_256, Clearer, Hash, KeyEqual >::iterator_t< constant_type >::operator!= ( const iterator_t< constant_type > &  that) const
inline

Definition at line 626 of file UT_ArraySet.h.

template<typename Key, bool MULTI = false, std::size_t MAX_LOAD_FACTOR_256 = 128, typename Clearer = DefaultClearer<Key>, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>>
template<bool constant_type>
reference UT::ArraySet< Key, MULTI, MAX_LOAD_FACTOR_256, Clearer, Hash, KeyEqual >::iterator_t< constant_type >::operator* ( void  ) const
inline

Definition at line 653 of file UT_ArraySet.h.

template<typename Key, bool MULTI = false, std::size_t MAX_LOAD_FACTOR_256 = 128, typename Clearer = DefaultClearer<Key>, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>>
template<bool constant_type>
iterator_t<constant_type>& UT::ArraySet< Key, MULTI, MAX_LOAD_FACTOR_256, Clearer, Hash, KeyEqual >::iterator_t< constant_type >::operator++ ( )
inline

Definition at line 635 of file UT_ArraySet.h.

template<typename Key, bool MULTI = false, std::size_t MAX_LOAD_FACTOR_256 = 128, typename Clearer = DefaultClearer<Key>, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>>
template<bool constant_type>
iterator_t<constant_type> UT::ArraySet< Key, MULTI, MAX_LOAD_FACTOR_256, Clearer, Hash, KeyEqual >::iterator_t< constant_type >::operator++ ( int  )
inline

Definition at line 646 of file UT_ArraySet.h.

template<typename Key, bool MULTI = false, std::size_t MAX_LOAD_FACTOR_256 = 128, typename Clearer = DefaultClearer<Key>, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>>
template<bool constant_type>
pointer UT::ArraySet< Key, MULTI, MAX_LOAD_FACTOR_256, Clearer, Hash, KeyEqual >::iterator_t< constant_type >::operator-> ( void  ) const
inline

Definition at line 658 of file UT_ArraySet.h.

template<typename Key, bool MULTI = false, std::size_t MAX_LOAD_FACTOR_256 = 128, typename Clearer = DefaultClearer<Key>, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>>
template<bool constant_type>
iterator_t& UT::ArraySet< Key, MULTI, MAX_LOAD_FACTOR_256, Clearer, Hash, KeyEqual >::iterator_t< constant_type >::operator= ( const iterator_t< constant_type > &  )
default
template<typename Key, bool MULTI = false, std::size_t MAX_LOAD_FACTOR_256 = 128, typename Clearer = DefaultClearer<Key>, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>>
template<bool constant_type>
iterator_t& UT::ArraySet< Key, MULTI, MAX_LOAD_FACTOR_256, Clearer, Hash, KeyEqual >::iterator_t< constant_type >::operator= ( iterator_t< constant_type > &&  )
default
template<typename Key, bool MULTI = false, std::size_t MAX_LOAD_FACTOR_256 = 128, typename Clearer = DefaultClearer<Key>, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>>
template<bool constant_type>
bool UT::ArraySet< Key, MULTI, MAX_LOAD_FACTOR_256, Clearer, Hash, KeyEqual >::iterator_t< constant_type >::operator== ( const iterator_t< constant_type > &  that) const
inline

Definition at line 621 of file UT_ArraySet.h.

Friends And Related Function Documentation

template<typename Key, bool MULTI = false, std::size_t MAX_LOAD_FACTOR_256 = 128, typename Clearer = DefaultClearer<Key>, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>>
template<bool constant_type>
friend class iterator_t<!constant_type >
friend

Definition at line 678 of file UT_ArraySet.h.


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