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::ReverseBidirectionalIterator< _Cont_t > Class Template Reference
Inheritance diagram for cliext::ReverseBidirectionalIterator< _Cont_t >:

Public Types

typedef _Cont_t::value_type _Value_t
 
typedef ReverseBidirectionalIterator< _Cont_t > _Mytype_t
 
typedef _STLCLR Generic::IBidirectionalIterator< typename _Cont_t::value_type > _Myiter_t
 
typedef _Cont_t::iterator _Mywrapped_t
 
typedef bidirectional_iterator_tag iterator_category
 
typedef _Value_t value_type
 
typedef int difference_type
 
typedef value_type pointer
 
typedef value_type reference
 
typedef value_type const_reference
 

Public Member Functions

 ReverseBidirectionalIterator (_Mywrapped_t%_Iter)
 
virtual System::Object Clone ()
 
int get_bias ()
 
System::Object get_node ()
 
bool valid ()
 
System::Object container ()
 
void next ()
 
bool equal_to (_STLCLR Generic::IInputIterator< _Value_t >^_Right)
 
bool equal_to (_Mytype_t%_Right)
 
const_reference get_cref ()
 
reference get_ref ()
 
void prev ()
 
bool operator== (_STLCLR Generic::IInputIterator< _Value_t >^_Right)
 
bool operator== (_Mytype_t%_Right)
 
bool operator!= (_STLCLR Generic::IInputIterator< _Value_t >^_Right)
 
bool operator!= (_Mytype_t%_Right)
 
_Mywrapped_t base ()
 

Static Public Member Functions

static const_reference operator-> (ReverseBidirectionalIterator%_Left)
 
static const_reference operator* (ReverseBidirectionalIterator%_Left)
 
static ReverseBidirectionalIterator operator++ (ReverseBidirectionalIterator%_Left)
 
static ReverseBidirectionalIterator operator-- (ReverseBidirectionalIterator%_Left)
 

Public Attributes

_STLCLR_FIELD_ACCESS __pad0__: _Mywrapped_t _Myiter
 

Member Typedef Documentation

template<typename _Cont_t >
typedef _STLCLR Generic::IBidirectionalIterator< typename _Cont_t::value_type> cliext::ReverseBidirectionalIterator< _Cont_t >::_Myiter_t
template<typename _Cont_t >
typedef ReverseBidirectionalIterator<_Cont_t> cliext::ReverseBidirectionalIterator< _Cont_t >::_Mytype_t
template<typename _Cont_t >
typedef _Cont_t::iterator cliext::ReverseBidirectionalIterator< _Cont_t >::_Mywrapped_t
template<typename _Cont_t >
typedef _Cont_t::value_type cliext::ReverseBidirectionalIterator< _Cont_t >::_Value_t
template<typename _Cont_t >
typedef value_type cliext::ReverseBidirectionalIterator< _Cont_t >::const_reference
template<typename _Cont_t >
typedef int cliext::ReverseBidirectionalIterator< _Cont_t >::difference_type
template<typename _Cont_t >
typedef value_type cliext::ReverseBidirectionalIterator< _Cont_t >::pointer
template<typename _Cont_t >
typedef value_type cliext::ReverseBidirectionalIterator< _Cont_t >::reference
template<typename _Cont_t >
typedef _Value_t cliext::ReverseBidirectionalIterator< _Cont_t >::value_type

Constructor & Destructor Documentation

template<typename _Cont_t >
cliext::ReverseBidirectionalIterator< _Cont_t >::ReverseBidirectionalIterator ( _Mywrapped_t _Iter)
inline
1078  : _Myiter(_Iter)
1079  { // construct from wrapped iterator
1080  }

Member Function Documentation

template<typename _Cont_t >
_Mywrapped_t cliext::ReverseBidirectionalIterator< _Cont_t >::base ( )
inline
1224  { // return wrapped iterator
1225  return (_Myiter);
1226  }
template<typename _Cont_t >
virtual System::Object cliext::ReverseBidirectionalIterator< _Cont_t >::Clone ( )
inlinevirtual
1084  { // return a copy
1085  return (gcnew ReverseBidirectionalIterator(_Myiter));
1086  }
ReverseBidirectionalIterator(_Mywrapped_t%_Iter)
Definition: iterator:1077
template<typename _Cont_t >
System::Object cliext::ReverseBidirectionalIterator< _Cont_t >::container ( )
inline
1107  { // return owning container
1108  return (_Myiter.container());
1109  }
template<typename _Cont_t >
bool cliext::ReverseBidirectionalIterator< _Cont_t >::equal_to ( _STLCLR Generic::IInputIterator< _Value_t >^  _Right)
inline
1117  { // test if *this == _Right
1118  if (container() == nullptr
1119  || container() != _Right->container())
1120  throw gcnew System::ArgumentException();
1121  return (get_bias() == _Right->get_bias()
1122  && get_node() == _Right->get_node());
1123  }
int get_bias()
Definition: iterator:1088
System::Object container()
Definition: iterator:1106
System::Object get_node()
Definition: iterator:1093
constexpr const _Ty &() _Right
Definition: algorithm:3591
template<typename _Cont_t >
bool cliext::ReverseBidirectionalIterator< _Cont_t >::equal_to ( _Mytype_t _Right)
inline
1126  { // test if *this == _Right
1127  return (_Myiter.equal_to(_Right._Myiter));
1128  }
constexpr const _Ty &() _Right
Definition: algorithm:3591
template<typename _Cont_t >
int cliext::ReverseBidirectionalIterator< _Cont_t >::get_bias ( )
inline
1089  { // get offset from wrapped iterator
1090  return (0);
1091  }
template<typename _Cont_t >
const_reference cliext::ReverseBidirectionalIterator< _Cont_t >::get_cref ( )
inline
1131  { // return const reference to designated element
1132  _Myiter.prev();
1133  const_reference _Ref = _Myiter.get_cref();
1134  _Myiter.next();
1135  return (_Ref);
1136  }
value_type const_reference
Definition: iterator:1074
template<typename _Cont_t >
System::Object cliext::ReverseBidirectionalIterator< _Cont_t >::get_node ( )
inline
1094  { // get node from wrapped iterator
1095  _Myiter.prev();
1096  System::Object^ _Node = _Myiter.get_node();
1097  _Myiter.next();
1098  return (_Node);
1099  }
template<typename _Cont_t >
reference cliext::ReverseBidirectionalIterator< _Cont_t >::get_ref ( )
inline
1139  { // return reference to designated element
1140  _Myiter.prev();
1141  const_reference _Ref = _Myiter.get_ref();
1142  _Myiter.next();
1143  return (_Ref);
1144  }
value_type const_reference
Definition: iterator:1074
template<typename _Cont_t >
void cliext::ReverseBidirectionalIterator< _Cont_t >::next ( )
inline
1112  { // increment
1113  _Myiter.prev();
1114  }
template<typename _Cont_t >
bool cliext::ReverseBidirectionalIterator< _Cont_t >::operator!= ( _STLCLR Generic::IInputIterator< _Value_t >^  _Right)
inline
1190  { // test if *this != _Right
1191  return (!(*this == _Right));
1192  }
constexpr const _Ty &() _Right
Definition: algorithm:3591
template<typename _Cont_t >
bool cliext::ReverseBidirectionalIterator< _Cont_t >::operator!= ( _Mytype_t _Right)
inline
1195  { // test if *this != _Right
1196  return (!(*this == _Right));
1197  }
constexpr const _Ty &() _Right
Definition: algorithm:3591
template<typename _Cont_t >
static const_reference cliext::ReverseBidirectionalIterator< _Cont_t >::operator* ( ReverseBidirectionalIterator< _Cont_t >%  _Left)
inlinestatic
1165  { // return const reference to designated element
1166  return (_Left.get_ref());
1167  }
constexpr const _Ty &() _Left
Definition: algorithm:3590
template<typename _Cont_t >
static ReverseBidirectionalIterator cliext::ReverseBidirectionalIterator< _Cont_t >::operator++ ( ReverseBidirectionalIterator< _Cont_t >%  _Left)
inlinestatic
1173  { // return incremented
1174  _Left.next();
1175  return (_Left);
1176  }
constexpr const _Ty &() _Left
Definition: algorithm:3590
template<typename _Cont_t >
static ReverseBidirectionalIterator cliext::ReverseBidirectionalIterator< _Cont_t >::operator-- ( ReverseBidirectionalIterator< _Cont_t >%  _Left)
inlinestatic
1203  { // return decremented
1204  _Left.prev();
1205  return (_Left);
1206  }
constexpr const _Ty &() _Left
Definition: algorithm:3590
template<typename _Cont_t >
static const_reference cliext::ReverseBidirectionalIterator< _Cont_t >::operator-> ( ReverseBidirectionalIterator< _Cont_t >%  _Left)
inlinestatic
1159  { // return pointer to class object
1160  return (_Left.get_ref());
1161  }
constexpr const _Ty &() _Left
Definition: algorithm:3590
template<typename _Cont_t >
bool cliext::ReverseBidirectionalIterator< _Cont_t >::operator== ( _STLCLR Generic::IInputIterator< _Value_t >^  _Right)
inline
1180  { // test if *this == _Right
1181  return (equal_to(_Right));
1182  }
bool equal_to(_STLCLR Generic::IInputIterator< _Value_t >^_Right)
Definition: iterator:1116
constexpr const _Ty &() _Right
Definition: algorithm:3591
template<typename _Cont_t >
bool cliext::ReverseBidirectionalIterator< _Cont_t >::operator== ( _Mytype_t _Right)
inline
1185  { // test if *this == _Right
1186  return (equal_to(_Right));
1187  }
bool equal_to(_STLCLR Generic::IInputIterator< _Value_t >^_Right)
Definition: iterator:1116
constexpr const _Ty &() _Right
Definition: algorithm:3591
template<typename _Cont_t >
void cliext::ReverseBidirectionalIterator< _Cont_t >::prev ( )
inline
1147  { // decrement
1148  _Myiter.next();
1149  }
template<typename _Cont_t >
bool cliext::ReverseBidirectionalIterator< _Cont_t >::valid ( )
inline
1102  { // test if iterator valid
1103  return (_Myiter.valid());
1104  }

Member Data Documentation

template<typename _Cont_t >
_STLCLR_FIELD_ACCESS cliext::ReverseBidirectionalIterator< _Cont_t >::__pad0__

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