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::_Temp_gc_iterator< _Ty > Class Template Reference

Public Types

typedef _Temp_gc_iterator< _Ty > _Mytype_t
 
typedef cli::array< _Ty > _Myarray_t
 
typedef ArrayContainer< _Ty > _Mycont_t
 
typedef _Mycont_t::iterator iterator
 

Public Member Functions

 _Temp_gc_iterator (int _Count)
 
_Temp_gc_iterator operator++ ()
 
iterator operator++ (int)
 
_Temp_gc_iterator _Init ()
 
iterator _First ()
 
iterator _Last ()
 
int _Maxlen ()
 

Static Public Member Functions

static _Ty operator* (_Temp_gc_iterator%_Left)
 

Public Attributes

_STLCLR_FIELD_ACCESS __pad0__: int _Mysize
 
_Mycont_t _Mycont
 
iterator _Next
 

Member Typedef Documentation

template<class _Ty >
typedef cli::array<_Ty> cliext::_Temp_gc_iterator< _Ty >::_Myarray_t
template<class _Ty >
typedef ArrayContainer<_Ty> cliext::_Temp_gc_iterator< _Ty >::_Mycont_t
template<class _Ty >
typedef _Temp_gc_iterator<_Ty> cliext::_Temp_gc_iterator< _Ty >::_Mytype_t
template<class _Ty >
typedef _Mycont_t::iterator cliext::_Temp_gc_iterator< _Ty >::iterator

Constructor & Destructor Documentation

template<class _Ty >
cliext::_Temp_gc_iterator< _Ty >::_Temp_gc_iterator ( int  _Count)
inline
422  : _Mysize(_Count), _Mycont(nullptr), _Next(nullptr)
423  { // construct from desired temporary buffer size
424  }
iterator _Next
Definition: memory:474
_Mycont_t _Mycont
Definition: memory:473
_Diff _Count
Definition: algorithm:1941

Member Function Documentation

template<class _Ty >
iterator cliext::_Temp_gc_iterator< _Ty >::_First ( )
inline
452  { // return pointer to beginning of buffer
453  return (_Mycont->begin());
454  }
iterator begin()
Definition: iterator:4224
_Mycont_t _Mycont
Definition: memory:473
template<class _Ty >
_Temp_gc_iterator cliext::_Temp_gc_iterator< _Ty >::_Init ( )
inline
446  { // set pointer at beginning of buffer
447  *_Next = _Mycont->begin();
448  return (*this);
449  }
iterator begin()
Definition: iterator:4224
iterator _Next
Definition: memory:474
_Mycont_t _Mycont
Definition: memory:473
template<class _Ty >
iterator cliext::_Temp_gc_iterator< _Ty >::_Last ( )
inline
457  { // return pointer past end of buffer contents
458  return (*_Next);
459  }
iterator _Next
Definition: memory:474
template<class _Ty >
int cliext::_Temp_gc_iterator< _Ty >::_Maxlen ( )
inline
462  { // return size of buffer
463  if (_Mycont == nullptr)
464  { // allocate buffer and iterator on first size query
465  _Mycont = gcnew _Mycont_t(_Mysize);
466  _Next = gcnew iterator;
467  }
468  return (_Mycont->size());
469  }
int size()
Definition: iterator:4235
ArrayContainer< _Ty > _Mycont_t
Definition: memory:418
_Mycont_t::iterator iterator
Definition: memory:419
iterator _Next
Definition: memory:474
_Mycont_t _Mycont
Definition: memory:473
template<class _Ty >
static _Ty cliext::_Temp_gc_iterator< _Ty >::operator* ( _Temp_gc_iterator< _Ty >%  _Left)
inlinestatic
427  { // return designated value
428  return (_Left._Next->get_ref());
429  }
constexpr const _Ty &() _Left
Definition: algorithm:3590
template<class _Ty >
_Temp_gc_iterator cliext::_Temp_gc_iterator< _Ty >::operator++ ( )
inline
432  { // preincrement
433  _Next->next();
434  return (*this);
435  }
iterator _Next
Definition: memory:474
template<class _Ty >
iterator cliext::_Temp_gc_iterator< _Ty >::operator++ ( int  )
inline
438  { // postincrement
439  iterator _Temp = *_Next;
440 
441  _Next->next();
442  return (_Temp);
443  }
Definition: xutility:563
iterator _Next
Definition: memory:474

Member Data Documentation

template<class _Ty >
_STLCLR_FIELD_ACCESS cliext::_Temp_gc_iterator< _Ty >::__pad0__
template<class _Ty >
_Mycont_t cliext::_Temp_gc_iterator< _Ty >::_Mycont
template<class _Ty >
iterator cliext::_Temp_gc_iterator< _Ty >::_Next

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