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

Public Types

typedef _Cont_t::value_type _Value_t
 
typedef UncheckedBidirectionalIterator< _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 ConstUncheckedBidirectionalIterator< _Cont_t > _Myciter_t
 
typedef _STLCLR Generic::ContainerBidirectionalIterator< _Value_t_Mygeniter_t
 

Public Member Functions

 UncheckedBidirectionalIterator (node_type^_Node)
 
 operator _Myciter_t ()
 
 operator BidirectionalIterator< _Cont_t > ()
 
 UncheckedBidirectionalIterator (_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-> (UncheckedBidirectionalIterator%_Left)
 
static const_reference operator* (UncheckedBidirectionalIterator%_Left)
 
static UncheckedBidirectionalIterator operator++ (UncheckedBidirectionalIterator%_Left)
 
static UncheckedBidirectionalIterator operator-- (UncheckedBidirectionalIterator%_Left)
 

Public Attributes

_STLCLR_FIELD_ACCESS __pad0__: node_type^ _Mynode
 

Member Typedef Documentation

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

Constructor & Destructor Documentation

template<typename _Cont_t >
cliext::UncheckedBidirectionalIterator< _Cont_t >::UncheckedBidirectionalIterator ( node_type _Node)
inline
808  : _Mynode(_Node)
809  { // construct from node
810  }
template<typename _Cont_t >
cliext::UncheckedBidirectionalIterator< _Cont_t >::UncheckedBidirectionalIterator ( _Mygeniter_t _Right)
inline
829  : _Mynode((node_type^)_Right.get_node())
830  { // construct by copying a generic iterator
831  }
_Cont_t::node_type node_type
Definition: iterator:797
constexpr const _Ty &() _Right
Definition: algorithm:3591

Member Function Documentation

template<typename _Cont_t >
virtual System::Object cliext::UncheckedBidirectionalIterator< _Cont_t >::Clone ( )
inlinevirtual
840  { // return a copy
841  return (gcnew UncheckedBidirectionalIterator(_Mynode));
842  }
UncheckedBidirectionalIterator(node_type^_Node)
Definition: iterator:807
template<typename _Cont_t >
System::Object cliext::UncheckedBidirectionalIterator< _Cont_t >::container ( )
inline
861  { // return owning container
862  return (_Mynode->container()); // UNCHECKED
863 // return (_Mynode == nullptr ? nullptr : _Mynode->container());
864  }
template<typename _Cont_t >
bool cliext::UncheckedBidirectionalIterator< _Cont_t >::equal_to ( _STLCLR Generic::IInputIterator< _Value_t >^  _Right)
inline
872  { // test if *this == _Right
873 // if (container() == nullptr // UNCHECKED
874 // || container() != _Right->container())
875 // throw gcnew System::ArgumentException();
876  return (get_bias() == _Right->get_bias()
877  && get_node() == _Right->get_node());
878  }
int get_bias()
Definition: iterator:844
System::Object get_node()
Definition: iterator:849
constexpr const _Ty &() _Right
Definition: algorithm:3591
template<typename _Cont_t >
bool cliext::UncheckedBidirectionalIterator< _Cont_t >::equal_to ( _Mytype_t _Right)
inline
881  { // test if *this == _Right
882 // if (container() == nullptr // UNCHECKED
883 // || container() != _Right.container())
884 // throw gcnew System::ArgumentException();
885  return (get_bias() == _Right.get_bias()
886  && get_node() == _Right.get_node());
887  }
int get_bias()
Definition: iterator:844
System::Object get_node()
Definition: iterator:849
constexpr const _Ty &() _Right
Definition: algorithm:3591
template<typename _Cont_t >
int cliext::UncheckedBidirectionalIterator< _Cont_t >::get_bias ( )
inline
845  { // get offset from wrapped iterator
846  return (0);
847  }
template<typename _Cont_t >
const_reference cliext::UncheckedBidirectionalIterator< _Cont_t >::get_cref ( )
inline
890  { // return const reference to designated element
891  return (_Mynode->_Value);
892  }
template<typename _Cont_t >
System::Object cliext::UncheckedBidirectionalIterator< _Cont_t >::get_node ( )
inline
850  { // get node from wrapped iterator
851  return (_Mynode);
852  }
template<typename _Cont_t >
reference cliext::UncheckedBidirectionalIterator< _Cont_t >::get_ref ( )
inline
895  { // return reference to designated element
896  return (_Mynode->_Value);
897  }
template<typename _Cont_t >
void cliext::UncheckedBidirectionalIterator< _Cont_t >::next ( )
inline
867  { // increment
868  _Mynode = _Mynode->next_node();
869  }
template<typename _Cont_t >
cliext::UncheckedBidirectionalIterator< _Cont_t >::operator _Myciter_t ( )
inline
815  { // convert to const iterator
816  return (_Myciter_t(_Mynode));
817  }
ConstUncheckedBidirectionalIterator< _Cont_t > _Myciter_t
Definition: iterator:812
template<typename _Cont_t >
cliext::UncheckedBidirectionalIterator< _Cont_t >::operator _Mygeniter_t ( )
inline
834  { // convert to generic iterator
835  return (_Mygeniter_t(_Mynode));
836  }
_STLCLR Generic::ContainerBidirectionalIterator< _Value_t > _Mygeniter_t
Definition: iterator:826
template<typename _Cont_t >
cliext::UncheckedBidirectionalIterator< _Cont_t >::operator BidirectionalIterator< _Cont_t > ( )
inline
820  { // convert to checked iterator
821  return (BidirectionalIterator<_Cont_t>(_Mynode));
822  }
template<typename _Cont_t >
bool cliext::UncheckedBidirectionalIterator< _Cont_t >::operator!= ( _STLCLR Generic::IInputIterator< _Value_t >^  _Right)
inline
943  { // test if *this != _Right
944  return (!(*this == _Right));
945  }
constexpr const _Ty &() _Right
Definition: algorithm:3591
template<typename _Cont_t >
bool cliext::UncheckedBidirectionalIterator< _Cont_t >::operator!= ( _Mytype_t _Right)
inline
948  { // test if *this != _Right
949  return (!(*this == _Right));
950  }
constexpr const _Ty &() _Right
Definition: algorithm:3591
template<typename _Cont_t >
static const_reference cliext::UncheckedBidirectionalIterator< _Cont_t >::operator* ( UncheckedBidirectionalIterator< _Cont_t >%  _Left)
inlinestatic
918  { // return const reference to designated element
919  return (_Left.get_ref());
920  }
constexpr const _Ty &() _Left
Definition: algorithm:3590
template<typename _Cont_t >
static UncheckedBidirectionalIterator cliext::UncheckedBidirectionalIterator< _Cont_t >::operator++ ( UncheckedBidirectionalIterator< _Cont_t >%  _Left)
inlinestatic
926  { // return incremented
927  _Left.next();
928  return (_Left);
929  }
constexpr const _Ty &() _Left
Definition: algorithm:3590
template<typename _Cont_t >
static UncheckedBidirectionalIterator cliext::UncheckedBidirectionalIterator< _Cont_t >::operator-- ( UncheckedBidirectionalIterator< _Cont_t >%  _Left)
inlinestatic
956  { // return decremented
957  _Left.prev();
958  return (_Left);
959  }
constexpr const _Ty &() _Left
Definition: algorithm:3590
template<typename _Cont_t >
static const_reference cliext::UncheckedBidirectionalIterator< _Cont_t >::operator-> ( UncheckedBidirectionalIterator< _Cont_t >%  _Left)
inlinestatic
912  { // return pointer to class object
913  return (_Left.get_ref());
914  }
constexpr const _Ty &() _Left
Definition: algorithm:3590
template<typename _Cont_t >
bool cliext::UncheckedBidirectionalIterator< _Cont_t >::operator== ( _STLCLR Generic::IInputIterator< _Value_t >^  _Right)
inline
933  { // test if *this == _Right
934  return (equal_to(_Right));
935  }
bool equal_to(_STLCLR Generic::IInputIterator< _Value_t >^_Right)
Definition: iterator:871
constexpr const _Ty &() _Right
Definition: algorithm:3591
template<typename _Cont_t >
bool cliext::UncheckedBidirectionalIterator< _Cont_t >::operator== ( _Mytype_t _Right)
inline
938  { // test if *this == _Right
939  return (equal_to(_Right));
940  }
bool equal_to(_STLCLR Generic::IInputIterator< _Value_t >^_Right)
Definition: iterator:871
constexpr const _Ty &() _Right
Definition: algorithm:3591
template<typename _Cont_t >
void cliext::UncheckedBidirectionalIterator< _Cont_t >::prev ( )
inline
900  { // decrement
901  _Mynode = _Mynode->prev_node();
902  }
template<typename _Cont_t >
bool cliext::UncheckedBidirectionalIterator< _Cont_t >::valid ( )
inline
855  { // test if iterator valid
856  return (true); // UNCHECKED
857 // return (container() != nullptr);
858  }

Member Data Documentation

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

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