STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Public Attributes | List of all members
cliext::collection_adapter< System::Collections::ICollection > Class Template Reference

Public Types

typedef System::Collections::ICollection _Mycont_t
 
typedef System::Collections::IEnumerator _Myenum_t
 
typedef System::Object _Value_t
 
typedef collection_adapter< _Mycont_t_Mytype_t
 
typedef Enum_iterator< _Mycont_t, _Myenum_t, _Value_titerator
 
typedef int size_type
 
typedef int difference_type
 
typedef _Value_t value_type
 
typedef _Value_t reference
 

Public Member Functions

 collection_adapter ()
 
 collection_adapter (collection_adapter%_Right)
 
collection_adapter operator= (collection_adapter%_Right)
 
collection_adapter operator= (collection_adapter^_Right)
 
 collection_adapter (_Mycont_t^_Right)
 
 ~collection_adapter ()
 
 operator _Mycont_t^ ()
 
_Mycont_t base ()
 
iterator begin ()
 
iterator end ()
 
size_type size ()
 
void swap (collection_adapter%_Right)
 

Public Attributes

_STLCLR_FIELD_ACCESS __pad0__: _Mycont_t^ _Mycont
 

Member Typedef Documentation

typedef System::Collections::ICollection cliext::collection_adapter< System::Collections::ICollection >::_Mycont_t
typedef System::Collections::IEnumerator cliext::collection_adapter< System::Collections::ICollection >::_Myenum_t
typedef collection_adapter<_Mycont_t> cliext::collection_adapter< System::Collections::ICollection >::_Mytype_t
typedef System::Object cliext::collection_adapter< System::Collections::ICollection >::_Value_t
typedef int cliext::collection_adapter< System::Collections::ICollection >::difference_type
typedef Enum_iterator<_Mycont_t, _Myenum_t, _Value_t> cliext::collection_adapter< System::Collections::ICollection >::iterator
typedef _Value_t cliext::collection_adapter< System::Collections::ICollection >::reference
typedef int cliext::collection_adapter< System::Collections::ICollection >::size_type
typedef _Value_t cliext::collection_adapter< System::Collections::ICollection >::value_type

Constructor & Destructor Documentation

cliext::collection_adapter< System::Collections::ICollection >::collection_adapter ( )
inline
330  : _Mycont(nullptr)
331  { // construct empty wrapper
332  }
cliext::collection_adapter< System::Collections::ICollection >::collection_adapter ( collection_adapter< System::Collections::ICollection >%  _Right)
inline
335  : _Mycont(_Right._Mycont)
336  { // construct by copying _Right
337  }
constexpr const _Ty &() _Right
Definition: algorithm:3591
cliext::collection_adapter< System::Collections::ICollection >::collection_adapter ( _Mycont_t _Right)
inline
353  : _Mycont(_Right)
354  { // construct by wrapping
355  }
constexpr const _Ty &() _Right
Definition: algorithm:3591
cliext::collection_adapter< System::Collections::ICollection >::~collection_adapter ( )
inline
359  { // destroy the object
360  }

Member Function Documentation

_Mycont_t cliext::collection_adapter< System::Collections::ICollection >::base ( )
inline
369  { // return base
370  return (_Mycont);
371  }
iterator cliext::collection_adapter< System::Collections::ICollection >::begin ( )
inline
375  { // return iterator for beginning of input sequence
376  return (iterator(_Mycont, _Mycont->GetEnumerator()));
377  }
Enum_iterator< _Mycont_t, _Myenum_t, _Value_t > iterator
Definition: adapter:321
iterator cliext::collection_adapter< System::Collections::ICollection >::end ( )
inline
380  { // return iterator for end of input sequence
381  return (iterator(_Mycont));
382  }
Enum_iterator< _Mycont_t, _Myenum_t, _Value_t > iterator
Definition: adapter:321
cliext::collection_adapter< System::Collections::ICollection >::operator _Mycont_t^ ( )
inline
364  { // convert to base
365  return (_Mycont);
366  }
collection_adapter cliext::collection_adapter< System::Collections::ICollection >::operator= ( collection_adapter< System::Collections::ICollection >%  _Right)
inline
340  { // assign
341  _Mycont = _Right._Mycont;
342  return (*this);
343  }
constexpr const _Ty &() _Right
Definition: algorithm:3591
collection_adapter cliext::collection_adapter< System::Collections::ICollection >::operator= ( collection_adapter< System::Collections::ICollection >^  _Right)
inline
346  { // assign
347  _Mycont = _Right->_Mycont;
348  return (*this);
349  }
constexpr const _Ty &() _Right
Definition: algorithm:3591
size_type cliext::collection_adapter< System::Collections::ICollection >::size ( )
inline
386  { // return length of sequence
387  return (_Mycont->Count);
388  }
void cliext::collection_adapter< System::Collections::ICollection >::swap ( collection_adapter< System::Collections::ICollection >%  _Right)
inline
392  { // exchange contents with _Right
393  if ((Object^)this != %_Right)
394  { // worth doing, swap
395  _Mycont_t^ _Tcont = _Mycont;
396 
397  _Mycont = _Right._Mycont;
398  _Right._Mycont = _Tcont;
399  }
400  }
System::Collections::ICollection _Mycont_t
Definition: adapter:316
constexpr const _Ty &() _Right
Definition: algorithm:3591

Member Data Documentation

_STLCLR_FIELD_ACCESS cliext::collection_adapter< System::Collections::ICollection >::__pad0__

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