STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Private Attributes | List of all members
cliext::impl::list_base< _Value_t, _Is_ref > Class Template Reference
Inheritance diagram for cliext::impl::list_base< _Value_t, _Is_ref >:
cliext::impl::list_impl< _Value_t, _Is_ref > cliext::impl::list_select< _Value_t, _Is_ref > cliext::impl::list_select< _Value_t, __is_ref_class(_Dehandle< _Value_t >::type)&&!is_handle< _Value_t >::value > cliext::list< _Value_t >

Public Types

typedef list_base< _Value_t, _Is_ref > _Mytype_t
 
typedef list_impl< _Value_t, _Is_ref > _Mybase_t
 
typedef _Cont_make_value< _Value_t, _Is_ref > _Mymake_t
 
- Public Types inherited from cliext::impl::list_impl< _Value_t, _Is_ref >
typedef list_impl< _Value_t, _Is_ref > _Mytype_t
 
typedef _STLCLR IList< _Value_t > _Mycont_it
 
typedef list_node< _Value_t > _Mynode_t
 
typedef cli::array< _Value_t > _Myarray_t
 
typedef System::Collections::Generic::IEnumerable< _Value_t > _Myenum_it
 
typedef _Cont_make_value< _Value_t, _Is_ref > _Mymake_t
 
typedef list_node< _Value_t > node_type
 
typedef BidirectionalIterator< _Mytype_titerator
 
typedef ConstBidirectionalIterator< _Mytype_tconst_iterator
 
typedef ReverseBidirectionalIterator< _Mytype_treverse_iterator
 
typedef ReverseBidirectionalIterator< _Mytype_tconst_reverse_iterator
 
typedef int size_type
 
typedef int difference_type
 
typedef _Value_t value_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_t > generic_iterator
 
typedef _STLCLR Generic::ReverseBidirectionalIterator< _Value_t > generic_reverse_iterator
 
typedef _STLCLR BinaryDelegate< value_type, value_type, bool_Valcomp_dt
 
typedef _STLCLR UnaryDelegate< value_type, bool_Valtest_dt
 

Public Member Functions

 list_base ()
 
 list_base (list_base%_Right)
 
list_base operator= (list_base%_Right)
 
 operator _Mycont_it^ ()
 
 list_base (size_type _Count)
 
 list_base (size_type _Count, value_type _Val)
 
template<typename _InIt_t >
 list_base (_InIt_t _First, _InIt_t _Last)
 
 list_base (_Myenum_it^_Right)
 
template<typename _InIt_t >
void assign (_InIt_t _First, _InIt_t _Last)
 
template<typename _InIt_t >
void _Assign (_InIt_t _Count, _InIt_t _Val, _Int_iterator_tag%)
 
template<typename _InIt_t >
void _Assign (_InIt_t _First, _InIt_t _Last, input_iterator_tag%)
 
template<typename _InIt_t >
void insert (iterator _Where, _InIt_t _First, _InIt_t _Last)
 
template<typename _InIt_t >
void _Insert (node_type^_Where, _InIt_t _First, _InIt_t _Last, _Int_iterator_tag%)
 
template<typename _InIt_t >
void _Insert (node_type^_Where, _InIt_t _First, _InIt_t _Last, input_iterator_tag%)
 
- Public Member Functions inherited from cliext::impl::list_impl< _Value_t, _Is_ref >
 list_impl ()
 
list_impl operator= (list_impl%_Right)
 
 list_impl (_Mytype_t%_Right)
 
 list_impl (size_type _Count)
 
 list_impl (size_type _Count, value_type _Val)
 
template<typename _InIt_t >
 list_impl (_InIt_t _First, _InIt_t _Last)
 
template<typename _InIt_t >
void _Construct (_InIt_t _Count, _InIt_t _Val, _Int_iterator_tag%)
 
template<typename _InIt_t >
void _Construct (_InIt_t _First, _InIt_t _Last, input_iterator_tag%)
 
template<typename _InIt_t >
void _Construct (_InIt_t _First, _InIt_t _Last, random_access_iterator_tag%)
 
 list_impl (_Myenum_it^_Right)
 
 ~list_impl ()
 
unsigned long get_generation ()
 
node_type get_node (iterator _Where)
 
node_type front_node ()
 
node_type back_node ()
 
node_type head_node ()
 
reference front ()
 
reference back ()
 
_Myarray_t to_array ()
 
iterator make_iterator (node_type^_Node)
 
iterator begin ()
 
iterator end ()
 
reverse_iterator rbegin ()
 
reverse_iterator rend ()
 
virtual void resize (size_type _Newsize)
 
void resize (size_type _Newsize, value_type _Val)
 
size_type size ()
 
bool empty ()
 
void push_front (value_type _Val)
 
void pop_front ()
 
void push_back (value_type _Val)
 
void pop_back ()
 
void assign (size_type _Count, value_type _Val)
 
void assign (_STLCLR Generic::IInputIterator< _Value_t >^_First, _STLCLR Generic::IInputIterator< _Value_t >^_Last)
 
void assign (_Myenum_it^_Right)
 
void assign (System::Collections::IEnumerable^_Right)
 
iterator insert (iterator _Where, value_type _Val)
 
void insert (iterator _Where, size_type _Count, value_type _Val)
 
void insert (iterator _Where_iter, _STLCLR Generic::IInputIterator< _Value_t >^_First, _STLCLR Generic::IInputIterator< _Value_t >^_Last)
 
void insert (iterator _Where_iter, _Myenum_it^_Right)
 
void insert (iterator _Where_iter, System::Collections::IEnumerable^_Right)
 
void _Insert_safe (_Mynode_t^_Where, _STLCLR Generic::IInputIterator< _Value_t >^_First, _STLCLR Generic::IInputIterator< _Value_t >^_Last)
 
template<typename _InIt_t >
void _Insert_safe (_Mynode_t^_Where, _InIt_t _First, _InIt_t _Last)
 
void insert_node (node_type^_Where, size_type _Count, value_type _Val)
 
node_type insert_node (node_type^_Where, node_type^_First, node_type^_Last)
 
iterator erase (iterator _Where)
 
iterator erase (iterator _First, iterator _Last)
 
node_type erase_node (node_type^_Where)
 
iterator erase_node (node_type^_First, node_type^_Last)
 
void clear ()
 
void swap (_Mytype_t%_Right)
 
void splice (iterator _Where, _Mytype_t%_Right)
 
void splice (iterator _Where, _Mytype_t%_Right, iterator _First)
 
void splice (iterator _Where, _Mytype_t%_Right, iterator _First, iterator _Last)
 
void splice_node (node_type^_Where, _Mytype_t^_Right, node_type^_First, node_type^_Last)
 
size_type unsplice_node (_Mytype_t^_Left, node_type^_First, node_type^_Last)
 
void remove (value_type _Val)
 
void remove_if (_Valtest_dt^_Pred)
 
template<typename _Pr1_t >
void remove_if (_Pr1_t _Pred)
 
void unique ()
 
void unique (_Valcomp_dt^_Pred)
 
template<typename _Pr2_t >
void unique (_Pr2_t _Pred)
 
template<typename _Pr2_t >
void _Unique (_Pr2_t _Pred)
 
void merge (_Mytype_t%_Right)
 
void merge (_Mytype_t%_Right, _Valcomp_dt^_Pred)
 
template<typename _Pr3_t >
void merge (_Mytype_t%_Right, _Pr3_t _Pred)
 
template<typename _Pr3_t >
void _Merge (_Mytype_t%_Right, _Pr3_t _Pred)
 
void sort ()
 
void sort (_Valcomp_dt^_Pred)
 
template<typename _Pr3_t >
void sort (_Pr3_t _Pred)
 
template<typename _Pr3_t >
void _Sort (_Pr3_t _Pred)
 
void reverse ()
 
 return (_Node)
 
node_type _Buynode (node_type^_Next, node_type^_Prev, value_type _Val)
 
virtual System::Object Clone ()
 

Private Attributes

property size_type Count_generic
 
property bool IsReadOnly
 

Additional Inherited Members

- Public Attributes inherited from cliext::impl::list_impl< _Value_t, _Is_ref >
property value_type front_item
 
property value_type back_item
 
_STLCLR_FIELD_ACCESS __pad0__: node_type^ _Buynode() { node_type^ _Node = gcnew node_type(this)
 
_Node _Head = _Node
 
_Node _Next = _Node
 
_Node _Prev = _Node
 
node_type _Myhead
 
size_type _Mysize
 
unsigned long _Mygen
 
- Static Public Attributes inherited from cliext::impl::list_impl< _Value_t, _Is_ref >
static const int _Maxsize = MAX_CONTAINER_SIZE
 

Member Typedef Documentation

template<typename _Value_t, bool _Is_ref>
typedef list_impl<_Value_t, _Is_ref> cliext::impl::list_base< _Value_t, _Is_ref >::_Mybase_t
template<typename _Value_t, bool _Is_ref>
typedef _Cont_make_value<_Value_t, _Is_ref> cliext::impl::list_base< _Value_t, _Is_ref >::_Mymake_t
template<typename _Value_t, bool _Is_ref>
typedef list_base<_Value_t, _Is_ref> cliext::impl::list_base< _Value_t, _Is_ref >::_Mytype_t

Constructor & Destructor Documentation

template<typename _Value_t, bool _Is_ref>
cliext::impl::list_base< _Value_t, _Is_ref >::list_base ( )
inline
1294  : _Mybase_t()
1295  { // construct default
1296  }
list_impl< _Value_t, _Is_ref > _Mybase_t
Definition: list:1279
template<typename _Value_t, bool _Is_ref>
cliext::impl::list_base< _Value_t, _Is_ref >::list_base ( list_base< _Value_t, _Is_ref >%  _Right)
inline
1299  : _Mybase_t(%_Right)
1300  { // construct by copying a list
1301  }
list_impl< _Value_t, _Is_ref > _Mybase_t
Definition: list:1279
constexpr const _Ty &() _Right
Definition: algorithm:3723
template<typename _Value_t, bool _Is_ref>
cliext::impl::list_base< _Value_t, _Is_ref >::list_base ( size_type  _Count)
inlineexplicit
1316  : _Mybase_t(_Count)
1317  { // construct from _Count * value_type()
1318  }
list_impl< _Value_t, _Is_ref > _Mybase_t
Definition: list:1279
_Diff _Count
Definition: algorithm:1941
template<typename _Value_t, bool _Is_ref>
cliext::impl::list_base< _Value_t, _Is_ref >::list_base ( size_type  _Count,
value_type  _Val 
)
inline
1321  : _Mybase_t(_Count, _Val)
1322  { // construct from _Count * _Val
1323  }
list_impl< _Value_t, _Is_ref > _Mybase_t
Definition: list:1279
_Diff _Count
Definition: algorithm:1941
_FwdIt const _Ty _Val
Definition: algorithm:1938
template<typename _Value_t, bool _Is_ref>
template<typename _InIt_t >
cliext::impl::list_base< _Value_t, _Is_ref >::list_base ( _InIt_t  _First,
_InIt_t  _Last 
)
inline
1327  : _Mybase_t(_First, _Last)
1328  { // construct from [_First, _Last)
1329  }
list_impl< _Value_t, _Is_ref > _Mybase_t
Definition: list:1279
_FwdIt _Last
Definition: algorithm:1936
template<typename _Value_t, bool _Is_ref>
cliext::impl::list_base< _Value_t, _Is_ref >::list_base ( _Myenum_it _Right)
inline
1332  : _Mybase_t(_Right)
1333  { // initialize with enumeration
1334  }
list_impl< _Value_t, _Is_ref > _Mybase_t
Definition: list:1279
constexpr const _Ty &() _Right
Definition: algorithm:3723

Member Function Documentation

template<typename _Value_t, bool _Is_ref>
template<typename _InIt_t >
void cliext::impl::list_base< _Value_t, _Is_ref >::_Assign ( _InIt_t  _Count,
_InIt_t  _Val,
_Int_iterator_tag  
)
inline
1346  { // assign _Count * _Val
1347  clear();
1349  }
void clear()
Definition: list:670
void insert_node(node_type^_Where, size_type _Count, value_type _Val)
Definition: list:578
_Value_t value_type
Definition: list:131
int size_type
Definition: list:129
_Diff _Count
Definition: algorithm:1941
_FwdIt const _Ty _Val
Definition: algorithm:1938
node_type head_node()
Definition: list:264
template<typename _Value_t, bool _Is_ref>
template<typename _InIt_t >
void cliext::impl::list_base< _Value_t, _Is_ref >::_Assign ( _InIt_t  _First,
_InIt_t  _Last,
input_iterator_tag  
)
inline
1354  { // initialize with [_First, _Last), input iterators
1355  if (_Iter_container(_First) != this)
1356  clear();
1357 
1358  size_type _Oldsize = size();
1359 
1360  _Insert_safe(front_node(), _First, _Last);
1361  for (; 0 < _Oldsize; --_Oldsize)
1362  pop_back(); // discard old stuff
1363  }
node_type front_node()
Definition: list:254
void clear()
Definition: list:670
void pop_back()
Definition: list:400
int size_type
Definition: list:129
System::Object _Iter_container(_Iter_t%_Next)
Definition: iterator:4248
void _Insert_safe(_Mynode_t^_Where, _STLCLR Generic::IInputIterator< _Value_t >^_First, _STLCLR Generic::IInputIterator< _Value_t >^_Last)
Definition: list:535
_FwdIt _Last
Definition: algorithm:1936
size_type size()
Definition: list:372
template<typename _Value_t, bool _Is_ref>
template<typename _InIt_t >
void cliext::impl::list_base< _Value_t, _Is_ref >::_Insert ( node_type _Where,
_InIt_t  _First,
_InIt_t  _Last,
_Int_iterator_tag  
)
inline
1375  { // insert _Count * _Val at _Where
1376  insert_node(_Where, (size_type)_First, (value_type)_Last);
1377  }
void insert_node(node_type^_Where, size_type _Count, value_type _Val)
Definition: list:578
_Value_t value_type
Definition: list:131
int size_type
Definition: list:129
_FwdIt _Last
Definition: algorithm:1936
template<typename _Value_t, bool _Is_ref>
template<typename _InIt_t >
void cliext::impl::list_base< _Value_t, _Is_ref >::_Insert ( node_type _Where,
_InIt_t  _First,
_InIt_t  _Last,
input_iterator_tag  
)
inline
1382  { // insert [_First, _Last) at _Where, input iterators
1383  if (_Iter_container(_First) == this)
1384  _Insert_safe(_Where, _First, _Last);
1385  else
1386  for (; _First != _Last; ++_First)
1387  insert_node(_Where, 1, (value_type)*_First);
1388  }
void insert_node(node_type^_Where, size_type _Count, value_type _Val)
Definition: list:578
_Value_t value_type
Definition: list:131
System::Object _Iter_container(_Iter_t%_Next)
Definition: iterator:4248
void _Insert_safe(_Mynode_t^_Where, _STLCLR Generic::IInputIterator< _Value_t >^_First, _STLCLR Generic::IInputIterator< _Value_t >^_Last)
Definition: list:535
_FwdIt _Last
Definition: algorithm:1936
template<typename _Value_t, bool _Is_ref>
template<typename _InIt_t >
void cliext::impl::list_base< _Value_t, _Is_ref >::assign ( _InIt_t  _First,
_InIt_t  _Last 
)
inline
1339  { // assign [_First, _Last)
1340  _Assign(_First, _Last, _Iter_category(_First));
1341  }
iterator_traits< _Iter_t >::iterator_category _Iter_category(_Iter_t)
Definition: xutility:654
void _Assign(_InIt_t _Count, _InIt_t _Val, _Int_iterator_tag%)
Definition: list:1344
_FwdIt _Last
Definition: algorithm:1936
template<typename _Value_t, bool _Is_ref>
template<typename _InIt_t >
void cliext::impl::list_base< _Value_t, _Is_ref >::insert ( iterator  _Where,
_InIt_t  _First,
_InIt_t  _Last 
)
inline
1367  { // insert [_First, _Last) at _Where
1368  _Insert(get_node(_Where), _First, _Last,
1369  _Iter_category(_First));
1370  }
iterator_traits< _Iter_t >::iterator_category _Iter_category(_Iter_t)
Definition: xutility:654
node_type get_node(iterator _Where)
Definition: list:245
void _Insert(node_type^_Where, _InIt_t _First, _InIt_t _Last, _Int_iterator_tag%)
Definition: list:1373
_FwdIt _Last
Definition: algorithm:1936
template<typename _Value_t, bool _Is_ref>
cliext::impl::list_base< _Value_t, _Is_ref >::operator _Mycont_it^ ( )
inline
1310  { // convert to interface
1311  return (this);
1312  }
template<typename _Value_t, bool _Is_ref>
list_base cliext::impl::list_base< _Value_t, _Is_ref >::operator= ( list_base< _Value_t, _Is_ref >%  _Right)
inline
1304  { // assign
1306  return (*this);
1307  }
list_impl operator=(list_impl%_Right)
Definition: list:156
constexpr const _Ty &() _Right
Definition: algorithm:3723

Member Data Documentation

template<typename _Value_t, bool _Is_ref>
property size_type cliext::impl::list_base< _Value_t, _Is_ref >::Count_generic
private
Initial value:
template<typename _Value_t, bool _Is_ref>
property bool cliext::impl::list_base< _Value_t, _Is_ref >::IsReadOnly
private
Initial value:
{
virtual bool get() sealed
= System::Collections::Generic::ICollection<_Value_t>
{
return (false);
}
}

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