STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | List of all members
cliext::hash_multiset< _Key1_t > Class Template Reference
Inheritance diagram for cliext::hash_multiset< _Key1_t >:
cliext::impl::hash_multiset_select< _Key1_t, __is_ref_class(_Dehandle< _Key1_t >::type)&&!is_handle< _Key1_t >::value > cliext::impl::hash_multiset_base< _Key1_t > cliext::impl::hash< hash_set_traits< _Key1_t, true > > cliext::impl::hash_set_traits< _Key1_t, true >

Public Types

typedef hash_multiset< _Key1_t > _Mytype_t
 
typedef impl::hash_multiset_select< _Key1_t, __is_ref_class(typename _Dehandle< _Key1_t >::type)&&!is_handle< _Key1_t >::value > _Mybase_t
 
- Public Types inherited from cliext::impl::hash_multiset_select< _Key1_t, __is_ref_class(_Dehandle< _Key1_t >::type)&&!is_handle< _Key1_t >::value >
typedef _Key1_t _Gkey_t
 
typedef hash_multiset_select< _Key1_t, false_Mytype_t
 
typedef hash_multiset_base< _Gkey_t_Mybase_t
 
typedef _Key1_t key_type
 
- Public Types inherited from cliext::impl::hash_multiset_base< _Key1_t >
typedef hash_multiset_base< _Key1_t > _Mytype_t
 
typedef _Key1_t _Value_t
 
typedef hash< hash_set_traits< _Key1_t, true > > _Mybase_t
 
typedef _Mybase_t::key_type key_type
 
- Public Types inherited from cliext::impl::hash< hash_set_traits< _Key1_t, true > >
typedef hash< hash_set_traits< _Key1_t, true > > _Mytype_t
 
typedef hash_set_traits< _Key1_t, true_Mybase_t
 
typedef hash_set_traits< _Key1_t, true >::key_type _Key_t
 
typedef hash_set_traits< _Key1_t, true >::value_type _Value_t
 
typedef _STLCLR IHash< _Key_t, _Value_t_Mycont_it
 
typedef System::Collections::Generic::IEnumerable< _Value_t_Myenum_it
 
typedef cli::array< _Value_t_Myarray_t
 
typedef list< _Value_t_Mylist_t
 
typedef list_node< _Value_tnode_type
 
typedef cli::array< node_type^> _Myvector_t
 
typedef _Mylist_t::iterator iterator
 
typedef _Mylist_t::const_iterator const_iterator
 
typedef _Mylist_t::reverse_iterator reverse_iterator
 
typedef _Mylist_t::const_reverse_iterator const_reverse_iterator
 
typedef hash_set_traits< _Key1_t, true >::key_type key_type
 
typedef hash_set_traits< _Key1_t, true >::value_type value_type
 
typedef hash_set_traits< _Key1_t, true >::key_compare key_compare
 
typedef hash_set_traits< _Key1_t, true >::value_compare value_compare
 
typedef hash_set_traits< _Key1_t, true >::hasher hasher
 
typedef int size_type
 
typedef int difference_type
 
typedef value_type reference
 
typedef value_type const_reference
 
typedef _Mycont_it generic_container
 
typedef value_type generic_value
 
typedef _STLCLR Generic::ContainerBidirectionalIterator< _Value_tgeneric_iterator
 
typedef _Mylist_t::generic_reverse_iterator generic_reverse_iterator
 
typedef _STLCLR GenericPair< iterator, boolpair_iter_bool
 
typedef _STLCLR GenericPair< iterator, iteratorpair_iter_iter
 
typedef _STLCLR GenericPair< node_type^, bool_Pairnb
 
typedef _STLCLR GenericPair< node_type^, node_type^> _Pairnn
 
typedef _STLCLR GenericPair< generic_iterator^, boolgeneric_pair_iter_bool
 
typedef _STLCLR GenericPair< generic_iterator^, generic_iterator^> generic_pair_iter_iter
 
- Public Types inherited from cliext::impl::hash_set_traits< _Key1_t, true >
typedef hash_set_traits< _Key1_t, _Mflag > _Mytype_t
 
typedef _Key1_t key_type
 
typedef _Key1_t value_type
 
typedef _STLCLR BinaryDelegate< key_type, key_type, boolkey_compare
 
typedef key_compare value_compare
 
typedef _STLCLR UnaryDelegate< key_type, int > hasher
 
typedef _Key1_t generic_key
 

Public Member Functions

 hash_multiset ()
 
 hash_multiset (hash_multiset%_Right)
 
 hash_multiset (hash_multiset^_Right)
 
hash_multiset operator= (hash_multiset%_Right)
 
hash_multiset operator= (hash_multiset^_Right)
 
 hash_multiset (key_compare^_Pred)
 
 hash_multiset (key_compare^_Pred, hasher^_Hasher)
 
template<typename _Iter_t >
 hash_multiset (_Iter_t _First, _Iter_t _Last)
 
template<typename _Iter_t >
 hash_multiset (_Iter_t _First, _Iter_t _Last, key_compare^_Pred)
 
template<typename _Iter_t >
 hash_multiset (_Iter_t _First, _Iter_t _Last, key_compare^_Pred, hasher^_Hasher)
 
 hash_multiset (_Myenum_it^_Right)
 
 hash_multiset (_Myenum_it^_Right, key_compare^_Pred)
 
 hash_multiset (_Myenum_it^_Right, key_compare^_Pred, hasher^_Hasher)
 
void swap (hash_multiset%_Right)
 
virtual System::Object Clone () override
 
- Public Member Functions inherited from cliext::impl::hash_multiset_select< _Key1_t, __is_ref_class(_Dehandle< _Key1_t >::type)&&!is_handle< _Key1_t >::value >
 hash_multiset_select ()
 
 hash_multiset_select (hash_multiset_select%_Right)
 
 hash_multiset_select (key_compare^_Pred)
 
 hash_multiset_select (key_compare^_Pred, hasher^_Hasher)
 
 hash_multiset_select (_Iter_t _First, _Iter_t _Last)
 
 hash_multiset_select (_Iter_t _First, _Iter_t _Last, key_compare^_Pred)
 
 hash_multiset_select (_Iter_t _First, _Iter_t _Last, key_compare^_Pred, hasher^_Hasher)
 
hash_multiset_select operator= (hash_multiset_select%_Right)
 
- Public Member Functions inherited from cliext::impl::hash_multiset_base< _Key1_t >
 hash_multiset_base ()
 
 hash_multiset_base (hash_multiset_base%_Right)
 
 hash_multiset_base (key_compare^_Pred)
 
 hash_multiset_base (key_compare^_Pred, hasher^_Hasher)
 
 hash_multiset_base (_Iter_t _First, _Iter_t _Last)
 
 hash_multiset_base (_Iter_t _First, _Iter_t _Last, key_compare^_Pred)
 
 hash_multiset_base (_Iter_t _First, _Iter_t _Last, key_compare^_Pred, hasher^_Hasher)
 
hash_multiset_base operator= (hash_multiset_base%_Right)
 
iterator insert (value_type _Val)
 
iterator insert (iterator, value_type _Val) new
 
void insert (_Iter_t _First, _Iter_t _Last)
 
void insert (_Myenum_it^_Right) new
 
- Public Member Functions inherited from cliext::impl::hash< hash_set_traits< _Key1_t, true > >
 hash ()
 
 hash (hash%_Right)
 
 hash (key_compare^_Pred)
 
 hash (key_compare^_Pred, hasher^_Hashfn)
 
hash operator= (hash%_Right)
 
 operator _Mycont_it^ ()
 
 ~hash ()
 
unsigned long get_generation ()
 
node_type get_node (iterator _Where)
 
node_type hash_node (size_type _Idx)
 
void set_hash_node (size_type _Idx, node_type^_Node)
 
node_type front_node ()
 
node_type back_node ()
 
node_type head_node ()
 
_Myarray_t to_array ()
 
key_compare key_comp () new
 
value_compare value_comp () new
 
hasher hash_delegate () new
 
iterator make_iterator (node_type^_Node)
 
iterator begin ()
 
iterator end ()
 
reverse_iterator rbegin ()
 
reverse_iterator rend ()
 
size_type size ()
 
bool empty ()
 
int bucket_count ()
 
float load_factor ()
 
float max_load_factor ()
 
void max_load_factor (float _Newmax)
 
void rehash (int _Buckets)
 
pair_iter_bool insert (value_type _Val)
 
iterator insert (iterator, value_type _Val)
 
void insert (_Iter_t _First, _Iter_t _Last)
 
void insert (_STLCLR Generic::IInputIterator< _Value_t >^_First, _STLCLR Generic::IInputIterator< _Value_t >^_Last)
 
void insert (_Myenum_it^_Right)
 
void insert (System::Collections::IEnumerable^_Right)
 
_Pairnb insert_node (value_type _Val, list_node< value_type >^_Newnode)
 
iterator erase (iterator _Where)
 
iterator erase (iterator _First, iterator _Last)
 
size_type erase (key_type _Keyval)
 
node_type erase_node (node_type^_Where)
 
void clear ()
 
void swap (_Mytype_t%_Right)
 
iterator find (key_type _Keyval)
 
size_type count (key_type _Keyval)
 
iterator lower_bound (key_type _Keyval)
 
node_type lower_bound_node (key_type _Keyval)
 
iterator upper_bound (key_type _Keyval)
 
node_type upper_bound_node (key_type _Keyval)
 
pair_iter_iter equal_range (key_type _Keyval)
 
_Pairnn equal_range_node (key_type _Keyval)
 
void dumptab ()
 
 for (;_Idx< _Oldsize;++_Idx) _Newvector[_Idx]
 
 for (;_Idx< _Newvector->Length;++_Idx) _Newvector[_Idx]
 
void _Grow (int _Buckets)
 
size_type _Hashval (key_type%_Keyval)
 
void _Init (int _Buckets)
 
void _Reinsert ()
 
void _Rebuild_table (int _Buckets)
 
int _True_buckets (int _Buckets)
 
- Public Member Functions inherited from cliext::impl::hash_set_traits< _Key1_t, true >
 hash_set_traits ()
 
 hash_set_traits (key_compare^_Pred)
 
 hash_set_traits (key_compare^_Pred, hasher^_Hashfn)
 
key_compare key_comp ()
 
value_compare value_comp ()
 
hasher hash_delegate ()
 
int get_hash (key_type _Key)
 

Additional Inherited Members

- Static Public Member Functions inherited from cliext::impl::hash_multiset_select< _Key1_t, __is_ref_class(_Dehandle< _Key1_t >::type)&&!is_handle< _Key1_t >::value >
static generic_value make_value (key_type _Key)
 
- Static Public Member Functions inherited from cliext::impl::hash_set_traits< _Key1_t, true >
static key_type get_key (value_type%_Val)
 
- Public Attributes inherited from cliext::impl::hash< hash_set_traits< _Key1_t, true > >
_STLCLR_FIELD_ACCESS __pad0__
 
_STLCLR_FIELD_ACCESS node_type _Pad
 
size_type _Oldsize
 
_Myvector_t _Newvector
 
 _Myvector
 
_Myvector_t _Myvector
 
_Mylist_t _Mylist
 
unsigned long _Mygen
 
int _Mask
 
int _Maxidx
 
float _Max_load_factor
 
- Public Attributes inherited from cliext::impl::hash_set_traits< _Key1_t, true >
_STLCLR_FIELD_ACCESS __pad0__
 
key_compare comp
 
hasher hash_fun
 
bool _Multi
 
- Static Public Attributes inherited from cliext::impl::hash< hash_set_traits< _Key1_t, true > >
static const int _Maxsize
 
static const int _Default_load
 
static const int _Default_buckets
 

Member Typedef Documentation

template<typename _Key1_t>
typedef impl::hash_multiset_select< _Key1_t, __is_ref_class(typename _Dehandle<_Key1_t>::type) && !is_handle<_Key1_t>::value> cliext::hash_multiset< _Key1_t >::_Mybase_t
template<typename _Key1_t>
typedef hash_multiset<_Key1_t> cliext::hash_multiset< _Key1_t >::_Mytype_t

Constructor & Destructor Documentation

template<typename _Key1_t>
cliext::hash_multiset< _Key1_t >::hash_multiset ( )
inline
1148  : _Mybase_t()
1149  { // construct default
1150  }
impl::hash_multiset_select< _Key1_t, __is_ref_class(typename _Dehandle< _Key1_t >::type)&&!is_handle< _Key1_t >::value > _Mybase_t
Definition: hash_set:1126
template<typename _Key1_t>
cliext::hash_multiset< _Key1_t >::hash_multiset ( hash_multiset< _Key1_t >%  _Right)
inline
1154  { // construct by copying a list
1155  }
impl::hash_multiset_select< _Key1_t, __is_ref_class(typename _Dehandle< _Key1_t >::type)&&!is_handle< _Key1_t >::value > _Mybase_t
Definition: hash_set:1126
constexpr const _Ty &() _Right
Definition: algorithm:3591
template<typename _Key1_t>
cliext::hash_multiset< _Key1_t >::hash_multiset ( hash_multiset< _Key1_t >^  _Right)
inline
1158  : _Mybase_t((_Mybase_t%)*_Right)
1159  { // construct by copying a list
1160  }
impl::hash_multiset_select< _Key1_t, __is_ref_class(typename _Dehandle< _Key1_t >::type)&&!is_handle< _Key1_t >::value > _Mybase_t
Definition: hash_set:1126
constexpr const _Ty &() _Right
Definition: algorithm:3591
template<typename _Key1_t>
cliext::hash_multiset< _Key1_t >::hash_multiset ( key_compare _Pred)
inlineexplicit
1176  : _Mybase_t(_Pred)
1177  { // construct empty hash_multiset from comparator
1178  }
_FwdIt const _Ty _Pr _Pred
Definition: algorithm:1985
impl::hash_multiset_select< _Key1_t, __is_ref_class(typename _Dehandle< _Key1_t >::type)&&!is_handle< _Key1_t >::value > _Mybase_t
Definition: hash_set:1126
template<typename _Key1_t>
cliext::hash_multiset< _Key1_t >::hash_multiset ( key_compare _Pred,
hasher _Hasher 
)
inline
1181  : _Mybase_t(_Pred, _Hasher)
1182  { // construct with specified compare and hash
1183  }
_FwdIt const _Ty _Pr _Pred
Definition: algorithm:1985
impl::hash_multiset_select< _Key1_t, __is_ref_class(typename _Dehandle< _Key1_t >::type)&&!is_handle< _Key1_t >::value > _Mybase_t
Definition: hash_set:1126
template<typename _Key1_t>
template<typename _Iter_t >
cliext::hash_multiset< _Key1_t >::hash_multiset ( _Iter_t  _First,
_Iter_t  _Last 
)
inline
1187  : _Mybase_t()
1188  { // construct hash_multiset from [_First, _Last), default comparator
1189  for (; _First != _Last; ++_First)
1190  insert((value_type)*_First);
1191  }
hash_set_traits< _Key1_t, true >::value_type value_type
Definition: xhash:65
iterator insert(value_type _Val)
Definition: hash_set:752
impl::hash_multiset_select< _Key1_t, __is_ref_class(typename _Dehandle< _Key1_t >::type)&&!is_handle< _Key1_t >::value > _Mybase_t
Definition: hash_set:1126
_FwdIt _Last
Definition: algorithm:1936
template<typename _Key1_t>
template<typename _Iter_t >
cliext::hash_multiset< _Key1_t >::hash_multiset ( _Iter_t  _First,
_Iter_t  _Last,
key_compare _Pred 
)
inline
1195  : _Mybase_t(_Pred)
1196  { // construct hash_multiset from [_First, _Last), comparator
1197  for (; _First != _Last; ++_First)
1198  insert((value_type)*_First);
1199  }
hash_set_traits< _Key1_t, true >::value_type value_type
Definition: xhash:65
_FwdIt const _Ty _Pr _Pred
Definition: algorithm:1985
iterator insert(value_type _Val)
Definition: hash_set:752
impl::hash_multiset_select< _Key1_t, __is_ref_class(typename _Dehandle< _Key1_t >::type)&&!is_handle< _Key1_t >::value > _Mybase_t
Definition: hash_set:1126
_FwdIt _Last
Definition: algorithm:1936
template<typename _Key1_t>
template<typename _Iter_t >
cliext::hash_multiset< _Key1_t >::hash_multiset ( _Iter_t  _First,
_Iter_t  _Last,
key_compare _Pred,
hasher _Hasher 
)
inline
1204  : _Mybase_t(_Pred, _Hasher)
1205  { // construct hash_map from [_First, _Last), compare and hash
1206  for (; _First != _Last; ++_First)
1207  insert((value_type)*_First);
1208  }
hash_set_traits< _Key1_t, true >::value_type value_type
Definition: xhash:65
_FwdIt const _Ty _Pr _Pred
Definition: algorithm:1985
iterator insert(value_type _Val)
Definition: hash_set:752
impl::hash_multiset_select< _Key1_t, __is_ref_class(typename _Dehandle< _Key1_t >::type)&&!is_handle< _Key1_t >::value > _Mybase_t
Definition: hash_set:1126
_FwdIt _Last
Definition: algorithm:1936
template<typename _Key1_t>
cliext::hash_multiset< _Key1_t >::hash_multiset ( _Myenum_it _Right)
inline
1211  : _Mybase_t()
1212  { // construct hash_multiset from enumeration, default comparator
1213  for each (value_type _Val in _Right)
1214  insert(_Val);
1215  }
hash_set_traits< _Key1_t, true >::value_type value_type
Definition: xhash:65
iterator insert(value_type _Val)
Definition: hash_set:752
impl::hash_multiset_select< _Key1_t, __is_ref_class(typename _Dehandle< _Key1_t >::type)&&!is_handle< _Key1_t >::value > _Mybase_t
Definition: hash_set:1126
_FwdIt const _Ty _Val
Definition: algorithm:1938
constexpr const _Ty &() _Right
Definition: algorithm:3591
template<typename _Key1_t>
cliext::hash_multiset< _Key1_t >::hash_multiset ( _Myenum_it _Right,
key_compare _Pred 
)
inline
1219  : _Mybase_t(_Pred)
1220  { // construct hash_multiset from enumeration, comparator
1221  for each (value_type _Val in _Right)
1222  insert(_Val);
1223  }
hash_set_traits< _Key1_t, true >::value_type value_type
Definition: xhash:65
_FwdIt const _Ty _Pr _Pred
Definition: algorithm:1985
iterator insert(value_type _Val)
Definition: hash_set:752
impl::hash_multiset_select< _Key1_t, __is_ref_class(typename _Dehandle< _Key1_t >::type)&&!is_handle< _Key1_t >::value > _Mybase_t
Definition: hash_set:1126
_FwdIt const _Ty _Val
Definition: algorithm:1938
constexpr const _Ty &() _Right
Definition: algorithm:3591
template<typename _Key1_t>
cliext::hash_multiset< _Key1_t >::hash_multiset ( _Myenum_it _Right,
key_compare _Pred,
hasher _Hasher 
)
inline
1227  : _Mybase_t(_Pred, _Hasher)
1228  { // construct map from enumeration, compare and hash
1229  for each (value_type _Val in _Right)
1230  insert(_Val);
1231  }
hash_set_traits< _Key1_t, true >::value_type value_type
Definition: xhash:65
_FwdIt const _Ty _Pr _Pred
Definition: algorithm:1985
iterator insert(value_type _Val)
Definition: hash_set:752
impl::hash_multiset_select< _Key1_t, __is_ref_class(typename _Dehandle< _Key1_t >::type)&&!is_handle< _Key1_t >::value > _Mybase_t
Definition: hash_set:1126
_FwdIt const _Ty _Val
Definition: algorithm:1938
constexpr const _Ty &() _Right
Definition: algorithm:3591

Member Function Documentation

template<typename _Key1_t>
virtual System::Object cliext::hash_multiset< _Key1_t >::Clone ( )
inlineoverridevirtual

Reimplemented from cliext::impl::hash< hash_set_traits< _Key1_t, true > >.

1242  { // clone the vector
1243  return (gcnew _Mytype_t(*this));
1244  }
hash_multiset< _Key1_t > _Mytype_t
Definition: hash_set:1122
template<typename _Key1_t>
hash_multiset cliext::hash_multiset< _Key1_t >::operator= ( hash_multiset< _Key1_t >%  _Right)
inline
1163  { // assign
1165  return (*this);
1166  }
hash_multiset_select operator=(hash_multiset_select%_Right)
Definition: hash_set:902
constexpr const _Ty &() _Right
Definition: algorithm:3591
template<typename _Key1_t>
hash_multiset cliext::hash_multiset< _Key1_t >::operator= ( hash_multiset< _Key1_t >^  _Right)
inline
1169  { // assign
1171  return (*this);
1172  }
hash_multiset_select operator=(hash_multiset_select%_Right)
Definition: hash_set:902
constexpr const _Ty &() _Right
Definition: algorithm:3591
template<typename _Key1_t>
void cliext::hash_multiset< _Key1_t >::swap ( hash_multiset< _Key1_t >%  _Right)
inline
1235  { // exchange contents with _Right
1237  }
void swap(_Mytype_t%_Right)
Definition: xhash:473
constexpr const _Ty &() _Right
Definition: algorithm:3591

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