Minsky: 3.17.0
minsky::IntrusiveMap< Key, Val >::iterator Struct Reference

#include <intrusiveMap.h>

Inheritance diagram for minsky::IntrusiveMap< Key, Val >::iterator:
Inheritance graph
Collaboration diagram for minsky::IntrusiveMap< Key, Val >::iterator:
Collaboration graph

Public Member Functions

 iterator ()
 
 iterator (const_iterator it)
 
value_typeoperator* ()
 
value_typeoperator-> ()
 
const value_typeoperator* () const
 
const value_typeoperator-> () const
 

Detailed Description

template<class Key, class Val>
struct minsky::IntrusiveMap< Key, Val >::iterator

Definition at line 95 of file intrusiveMap.h.

Constructor & Destructor Documentation

◆ iterator() [1/2]

template<class Key, class Val>
minsky::IntrusiveMap< Key, Val >::iterator::iterator ( )
inline

Definition at line 97 of file intrusiveMap.h.

97 {}

◆ iterator() [2/2]

template<class Key, class Val>
minsky::IntrusiveMap< Key, Val >::iterator::iterator ( const_iterator  it)
inline

Definition at line 98 of file intrusiveMap.h.

98 : const_iterator(it) {}
Super::const_iterator const_iterator
Definition: intrusiveMap.h:84

Member Function Documentation

◆ operator*() [1/2]

template<class Key, class Val>
value_type& minsky::IntrusiveMap< Key, Val >::iterator::operator* ( )
inline

Definition at line 99 of file intrusiveMap.h.

References MathDAG::operator*().

Referenced by minsky::IntrusiveMap< Key, Val >::iterator::operator->().

99  {
100  return const_cast<value_type&>(Super::const_iterator::operator*());
101  }
Expr operator*(const NodePtr &x, const Expr &y)
Definition: expr.h:99
Super::value_type value_type
Definition: intrusiveMap.h:85
Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator*() [2/2]

template<class Key, class Val>
const value_type& minsky::IntrusiveMap< Key, Val >::iterator::operator* ( ) const
inline

Definition at line 105 of file intrusiveMap.h.

References MathDAG::operator*().

105  {
106  return const_cast<value_type&>(Super::const_iterator::operator*());
107  }
Expr operator*(const NodePtr &x, const Expr &y)
Definition: expr.h:99
Super::value_type value_type
Definition: intrusiveMap.h:85
Here is the call graph for this function:

◆ operator->() [1/2]

template<class Key, class Val>
value_type* minsky::IntrusiveMap< Key, Val >::iterator::operator-> ( )
inline

Definition at line 102 of file intrusiveMap.h.

References minsky::IntrusiveMap< Key, Val >::iterator::operator*().

102  {
103  return &operator*();
104  }
Here is the call graph for this function:

◆ operator->() [2/2]

template<class Key, class Val>
const value_type* minsky::IntrusiveMap< Key, Val >::iterator::operator-> ( ) const
inline

Definition at line 108 of file intrusiveMap.h.

References minsky::IntrusiveMap< Key, Val >::iterator::operator*().

108  {
109  return &operator*();
110  }
Here is the call graph for this function:

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