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::impl::range_enumerator< _Iter_t, _Value_t > Class Template Reference
Inheritance diagram for cliext::impl::range_enumerator< _Iter_t, _Value_t >:
cliext::impl::range_enumerator_base< _Iter_t, _Value_t >

Public Types

typedef range_enumerator< _Iter_t, _Value_t > _Mytype_t
 
typedef range_enumerator_base< _Iter_t, _Value_t > _Mybase_t
 
typedef _Value_t value_type
 
- Public Types inherited from cliext::impl::range_enumerator_base< _Iter_t, _Value_t >
typedef range_enumerator_base< _Iter_t, _Value_t > _Mytype_t
 
typedef _Value_t value_type
 

Public Member Functions

 range_enumerator (_Iter_t _First, _Iter_t _Last)
 
 ~range_enumerator ()
 
virtual bool MoveNext () override
 
virtual void Reset () override
 
- Public Member Functions inherited from cliext::impl::range_enumerator_base< _Iter_t, _Value_t >
 range_enumerator_base (_Iter_t _First, _Iter_t _Last)
 
void _Setval (value_type _Val)
 

Public Attributes

property value_type Current
 
- Public Attributes inherited from cliext::impl::range_enumerator_base< _Iter_t, _Value_t >
property System::Object Current
 
_STLCLR_FIELD_ACCESS __pad0__: value_type _Getval() { if (_Is_reset || _Mynext == _Mylast) throw gcnew System::InvalidOperationException()
 
return_Mynext
 
_STLCLR_FIELD_ACCESS __pad1__: bool _Is_reset
 
_Iter_t _Myfirst
 
_Iter_t _Mynext
 
_Iter_t _Mylast
 

Member Typedef Documentation

template<typename _Iter_t , typename _Value_t >
typedef range_enumerator_base<_Iter_t, _Value_t> cliext::impl::range_enumerator< _Iter_t, _Value_t >::_Mybase_t
template<typename _Iter_t , typename _Value_t >
typedef range_enumerator<_Iter_t, _Value_t> cliext::impl::range_enumerator< _Iter_t, _Value_t >::_Mytype_t
template<typename _Iter_t , typename _Value_t >
typedef _Value_t cliext::impl::range_enumerator< _Iter_t, _Value_t >::value_type

Constructor & Destructor Documentation

template<typename _Iter_t , typename _Value_t >
cliext::impl::range_enumerator< _Iter_t, _Value_t >::range_enumerator ( _Iter_t  _First,
_Iter_t  _Last 
)
inline
1074  : _Mybase_t(_First, _Last)
1075  { // construct from container and bias
1076  }
range_enumerator_base< _Iter_t, _Value_t > _Mybase_t
Definition: adapter:1069
_FwdIt _Last
Definition: algorithm:1936
template<typename _Iter_t , typename _Value_t >
cliext::impl::range_enumerator< _Iter_t, _Value_t >::~range_enumerator ( )
inline
1079  { // destroy the object
1080  }

Member Function Documentation

template<typename _Iter_t , typename _Value_t >
virtual bool cliext::impl::range_enumerator< _Iter_t, _Value_t >::MoveNext ( )
inlineoverridevirtual

Reimplemented from cliext::impl::range_enumerator_base< _Iter_t, _Value_t >.

1083  { // move to next element and test if done
1084  return (_Mybase_t::MoveNext());
1085  }
virtual bool MoveNext()
Definition: adapter:1006
template<typename _Iter_t , typename _Value_t >
virtual void cliext::impl::range_enumerator< _Iter_t, _Value_t >::Reset ( )
inlineoverridevirtual

Reimplemented from cliext::impl::range_enumerator_base< _Iter_t, _Value_t >.

1101  { // restart enumerator
1102  _Mybase_t::Reset();
1103  }
virtual void Reset()
Definition: adapter:1031

Member Data Documentation

template<typename _Iter_t , typename _Value_t >
property value_type cliext::impl::range_enumerator< _Iter_t, _Value_t >::Current
Initial value:
{
virtual value_type get() new
{
return (_Mybase_t::_Getval());
}
virtual void set(value_type _Val)
{
}
}

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