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

Public Types

typedef _Cont_t::value_type _Value_t
 
typedef ConstUncheckedBidirectionalIterator< _Cont_t > _Mytype_t
 
typedef _STLCLR Generic::IBidirectionalIterator< _Value_t_Myiter_t
 
typedef _Cont_t::node_type node_type
 
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
 
typedef _STLCLR Generic::ConstContainerBidirectionalIterator< _Value_t_Mygeniter_t
 

Public Member Functions

 ConstUncheckedBidirectionalIterator (node_type^_Node)
 
 operator ConstBidirectionalIterator< _Cont_t > ()
 
 ConstUncheckedBidirectionalIterator (_Mygeniter_t%_Right)
 
 operator _Mygeniter_t ()
 
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)
 

Static Public Member Functions

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

Public Attributes

_STLCLR_FIELD_ACCESS __pad0__: node_type^ _Mynode
 

Member Typedef Documentation

template<typename _Cont_t >
typedef _STLCLR Generic::ConstContainerBidirectionalIterator<_Value_t> cliext::ConstUncheckedBidirectionalIterator< _Cont_t >::_Mygeniter_t
template<typename _Cont_t >
typedef _STLCLR Generic::IBidirectionalIterator<_Value_t> cliext::ConstUncheckedBidirectionalIterator< _Cont_t >::_Myiter_t
template<typename _Cont_t >
typedef ConstUncheckedBidirectionalIterator<_Cont_t> cliext::ConstUncheckedBidirectionalIterator< _Cont_t >::_Mytype_t
template<typename _Cont_t >
typedef _Cont_t::value_type cliext::ConstUncheckedBidirectionalIterator< _Cont_t >::_Value_t
template<typename _Cont_t >
typedef value_type cliext::ConstUncheckedBidirectionalIterator< _Cont_t >::const_reference
template<typename _Cont_t >
typedef int cliext::ConstUncheckedBidirectionalIterator< _Cont_t >::difference_type
template<typename _Cont_t >
typedef _Cont_t::node_type cliext::ConstUncheckedBidirectionalIterator< _Cont_t >::node_type
template<typename _Cont_t >
typedef value_type cliext::ConstUncheckedBidirectionalIterator< _Cont_t >::pointer
template<typename _Cont_t >
typedef value_type cliext::ConstUncheckedBidirectionalIterator< _Cont_t >::reference
template<typename _Cont_t >
typedef _Value_t cliext::ConstUncheckedBidirectionalIterator< _Cont_t >::value_type

Constructor & Destructor Documentation

template<typename _Cont_t >
cliext::ConstUncheckedBidirectionalIterator< _Cont_t >::ConstUncheckedBidirectionalIterator ( node_type _Node)
inline
291  : _Mynode(_Node)
292  { // construct from node
293  }
template<typename _Cont_t >
cliext::ConstUncheckedBidirectionalIterator< _Cont_t >::ConstUncheckedBidirectionalIterator ( _Mygeniter_t _Right)
inline
305  : _Mynode((node_type^)_Right.get_node())
306  { // construct by copying a generic iterator
307  }
_Cont_t::node_type node_type
Definition: iterator:280
constexpr const _Ty &() _Right
Definition: algorithm:3723

Member Function Documentation

template<typename _Cont_t >
virtual System::Object cliext::ConstUncheckedBidirectionalIterator< _Cont_t >::Clone ( )
inlinevirtual
316  { // return a copy
317  return (gcnew ConstUncheckedBidirectionalIterator(_Mynode));
318  }
ConstUncheckedBidirectionalIterator(node_type^_Node)
Definition: iterator:290
template<typename _Cont_t >
System::Object cliext::ConstUncheckedBidirectionalIterator< _Cont_t >::container ( )
inline
337  { // return owning container
338  return (_Mynode->container()); // UNCHECKED
339 // return (_Mynode == nullptr ? nullptr : _Mynode->container());
340  }
template<typename _Cont_t >
bool cliext::ConstUncheckedBidirectionalIterator< _Cont_t >::equal_to ( _STLCLR Generic::IInputIterator< _Value_t >^  _Right)
inline
348  { // test if *this == _Right
349 // if (container() == nullptr // UNCHECKED
350 // || container() != _Right->container())
351 // throw gcnew System::ArgumentException();
352  return (get_bias() == _Right->get_bias()
353  && get_node() == _Right->get_node());
354  }
System::Object get_node()
Definition: iterator:325
constexpr const _Ty &() _Right
Definition: algorithm:3723
int get_bias()
Definition: iterator:320
template<typename _Cont_t >
bool cliext::ConstUncheckedBidirectionalIterator< _Cont_t >::equal_to ( _Mytype_t _Right)
inline
357  { // test if *this == _Right
358 // if (container() == nullptr // UNCHECKED
359 // || container() != _Right.container())
360 // throw gcnew System::ArgumentException();
361  return (get_bias() == _Right.get_bias()
362  && get_node() == _Right.get_node());
363  }
System::Object get_node()
Definition: iterator:325
constexpr const _Ty &() _Right
Definition: algorithm:3723
int get_bias()
Definition: iterator:320
template<typename _Cont_t >
int cliext::ConstUncheckedBidirectionalIterator< _Cont_t >::get_bias ( )
inline
321  { // get offset from wrapped iterator
322  return (0);
323  }
template<typename _Cont_t >
const_reference cliext::ConstUncheckedBidirectionalIterator< _Cont_t >::get_cref ( )
inline
366  { // return const reference to designated element
367  return (_Mynode->_Value);
368  }
template<typename _Cont_t >
System::Object cliext::ConstUncheckedBidirectionalIterator< _Cont_t >::get_node ( )
inline
326  { // get node from wrapped iterator
327  return (_Mynode);
328  }
template<typename _Cont_t >
reference cliext::ConstUncheckedBidirectionalIterator< _Cont_t >::get_ref ( )
inline
371  { // return reference to designated element
372 #pragma warning(push)
373 #pragma warning(disable: 4715)
374  throw gcnew System::InvalidOperationException();
375 #pragma warning(pop)
376  }
template<typename _Cont_t >
void cliext::ConstUncheckedBidirectionalIterator< _Cont_t >::next ( )
inline
343  { // increment
344  _Mynode = _Mynode->next_node();
345  }
template<typename _Cont_t >
cliext::ConstUncheckedBidirectionalIterator< _Cont_t >::operator _Mygeniter_t ( )
inline
310  { // convert to generic iterator
311  return (_Mygeniter_t(_Mynode));
312  }
_STLCLR Generic::ConstContainerBidirectionalIterator< _Value_t > _Mygeniter_t
Definition: iterator:302
template<typename _Cont_t >
cliext::ConstUncheckedBidirectionalIterator< _Cont_t >::operator ConstBidirectionalIterator< _Cont_t > ( )
inline
296  { // convert to checked iterator
297  return (ConstBidirectionalIterator<_Cont_t>(_Mynode));
298  }
template<typename _Cont_t >
bool cliext::ConstUncheckedBidirectionalIterator< _Cont_t >::operator!= ( _STLCLR Generic::IInputIterator< _Value_t >^  _Right)
inline
422  { // test if *this != _Right
423  return (!(*this == _Right));
424  }
constexpr const _Ty &() _Right
Definition: algorithm:3723
template<typename _Cont_t >
bool cliext::ConstUncheckedBidirectionalIterator< _Cont_t >::operator!= ( _Mytype_t _Right)
inline
427  { // test if *this != _Right
428  return (!(*this == _Right));
429  }
constexpr const _Ty &() _Right
Definition: algorithm:3723
template<typename _Cont_t >
static const_reference cliext::ConstUncheckedBidirectionalIterator< _Cont_t >::operator* ( ConstUncheckedBidirectionalIterator< _Cont_t >%  _Left)
inlinestatic
397  { // return const reference to designated element
398  return (_Left.get_cref());
399  }
constexpr const _Ty &() _Left
Definition: algorithm:3722
template<typename _Cont_t >
static ConstUncheckedBidirectionalIterator cliext::ConstUncheckedBidirectionalIterator< _Cont_t >::operator++ ( ConstUncheckedBidirectionalIterator< _Cont_t >%  _Left)
inlinestatic
405  { // return incremented
406  _Left.next();
407  return (_Left);
408  }
constexpr const _Ty &() _Left
Definition: algorithm:3722
template<typename _Cont_t >
static ConstUncheckedBidirectionalIterator cliext::ConstUncheckedBidirectionalIterator< _Cont_t >::operator-- ( ConstUncheckedBidirectionalIterator< _Cont_t >%  _Left)
inlinestatic
435  { // return decremented
436  _Left.prev();
437  return (_Left);
438  }
constexpr const _Ty &() _Left
Definition: algorithm:3722
template<typename _Cont_t >
static const_reference cliext::ConstUncheckedBidirectionalIterator< _Cont_t >::operator-> ( ConstUncheckedBidirectionalIterator< _Cont_t >%  _Left)
inlinestatic
391  { // return pointer to class object
392  return (_Left.get_cref());
393  }
constexpr const _Ty &() _Left
Definition: algorithm:3722
template<typename _Cont_t >
bool cliext::ConstUncheckedBidirectionalIterator< _Cont_t >::operator== ( _STLCLR Generic::IInputIterator< _Value_t >^  _Right)
inline
412  { // test if *this == _Right
413  return (equal_to(_Right));
414  }
bool equal_to(_STLCLR Generic::IInputIterator< _Value_t >^_Right)
Definition: iterator:347
constexpr const _Ty &() _Right
Definition: algorithm:3723
template<typename _Cont_t >
bool cliext::ConstUncheckedBidirectionalIterator< _Cont_t >::operator== ( _Mytype_t _Right)
inline
417  { // test if *this == _Right
418  return (equal_to(_Right));
419  }
bool equal_to(_STLCLR Generic::IInputIterator< _Value_t >^_Right)
Definition: iterator:347
constexpr const _Ty &() _Right
Definition: algorithm:3723
template<typename _Cont_t >
void cliext::ConstUncheckedBidirectionalIterator< _Cont_t >::prev ( )
inline
379  { // decrement
380  _Mynode = _Mynode->prev_node();
381  }
template<typename _Cont_t >
bool cliext::ConstUncheckedBidirectionalIterator< _Cont_t >::valid ( )
inline
331  { // test if iterator valid
332  return (true); // UNCHECKED
333 // return (container() != nullptr);
334  }

Member Data Documentation

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

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