STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
cliext::impl::set_traits< _Key_t, _Mflag, _Is_ref_key > Class Template Reference

Public Types

typedef set_traits< _Key_t, _Mflag, _Is_ref_key > _Mytype_t
 
typedef _Key_t key_type
 
typedef _Key_t value_type
 
typedef _STLCLR BinaryDelegate< key_type, key_type, boolkey_compare
 
typedef key_compare value_compare
 
typedef _Key_t generic_key
 

Public Member Functions

 set_traits ()
 
 set_traits (key_compare^_Pred)
 
key_compare key_comp ()
 
value_compare value_comp ()
 

Static Public Member Functions

static key_type get_key (value_type%_Val)
 
static void unmake_value (value_type%_Val)
 

Public Attributes

_STLCLR_FIELD_ACCESS __pad0__: key_compare^ comp
 
bool _Multi
 

Member Typedef Documentation

template<typename _Key_t, bool _Mflag, bool _Is_ref_key>
typedef set_traits<_Key_t, _Mflag, _Is_ref_key> cliext::impl::set_traits< _Key_t, _Mflag, _Is_ref_key >::_Mytype_t
template<typename _Key_t, bool _Mflag, bool _Is_ref_key>
typedef _Key_t cliext::impl::set_traits< _Key_t, _Mflag, _Is_ref_key >::generic_key
template<typename _Key_t, bool _Mflag, bool _Is_ref_key>
typedef _STLCLR BinaryDelegate<key_type, key_type, bool> cliext::impl::set_traits< _Key_t, _Mflag, _Is_ref_key >::key_compare
template<typename _Key_t, bool _Mflag, bool _Is_ref_key>
typedef _Key_t cliext::impl::set_traits< _Key_t, _Mflag, _Is_ref_key >::key_type
template<typename _Key_t, bool _Mflag, bool _Is_ref_key>
typedef key_compare cliext::impl::set_traits< _Key_t, _Mflag, _Is_ref_key >::value_compare
template<typename _Key_t, bool _Mflag, bool _Is_ref_key>
typedef _Key_t cliext::impl::set_traits< _Key_t, _Mflag, _Is_ref_key >::value_type

Constructor & Destructor Documentation

template<typename _Key_t, bool _Mflag, bool _Is_ref_key>
cliext::impl::set_traits< _Key_t, _Mflag, _Is_ref_key >::set_traits ( )
inline
28  : comp(gcnew key_compare(&_Key_compare)),
29  _Multi(_Mflag)
30  { // construct with default comparator
31  }
bool _Key_compare(_Key_t _Left, _Key_t _Right)
Definition: xtree:163
bool _Multi
Definition: set:62
_STLCLR BinaryDelegate< key_type, key_type, bool > key_compare
Definition: set:22
template<typename _Key_t, bool _Mflag, bool _Is_ref_key>
cliext::impl::set_traits< _Key_t, _Mflag, _Is_ref_key >::set_traits ( key_compare _Pred)
inline
34  : comp(_Pred),
35  _Multi(_Mflag)
36  { // construct with specified comparator
37  }
_FwdIt const _Ty _Pr _Pred
Definition: algorithm:1985
bool _Multi
Definition: set:62

Member Function Documentation

template<typename _Key_t, bool _Mflag, bool _Is_ref_key>
static key_type cliext::impl::set_traits< _Key_t, _Mflag, _Is_ref_key >::get_key ( value_type _Val)
inlinestatic
50  { // extract key from element value
51  return (_Val);
52  }
_FwdIt const _Ty _Val
Definition: algorithm:1938
template<typename _Key_t, bool _Mflag, bool _Is_ref_key>
key_compare cliext::impl::set_traits< _Key_t, _Mflag, _Is_ref_key >::key_comp ( )
inline
40  { // return object for comparing keys
41  return (comp);
42  }
template<typename _Key_t, bool _Mflag, bool _Is_ref_key>
static void cliext::impl::set_traits< _Key_t, _Mflag, _Is_ref_key >::unmake_value ( value_type _Val)
inlinestatic
55  { // free allocated fields as needed
57  }
static void unmake_value(_Value_t%)
Definition: xutility:92
_FwdIt const _Ty _Val
Definition: algorithm:1938
template<typename _Key_t, bool _Mflag, bool _Is_ref_key>
value_compare cliext::impl::set_traits< _Key_t, _Mflag, _Is_ref_key >::value_comp ( )
inline
45  { // return object for comparing keys
46  return (comp);
47  }

Member Data Documentation

template<typename _Key_t, bool _Mflag, bool _Is_ref_key>
_STLCLR_FIELD_ACCESS cliext::impl::set_traits< _Key_t, _Mflag, _Is_ref_key >::__pad0__
template<typename _Key_t, bool _Mflag, bool _Is_ref_key>
bool cliext::impl::set_traits< _Key_t, _Mflag, _Is_ref_key >::_Multi

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