Cppcheck
Public Types | Public Member Functions | Private Attributes | Friends | List of all members
SelectValueFromVarIdMapRange::Iterator Struct Reference

Public Types

using iterator_category = std::forward_iterator_tag
 
using value_type = const ValueFlow::Value
 
using pointer = value_type *
 
using reference = value_type &
 
using difference_type = std::ptrdiff_t
 

Public Member Functions

 Iterator (const M::const_iterator &it)
 
reference operator* () const
 
pointer operator-> () const
 
Iteratoroperator++ ()
 

Private Attributes

M::const_iterator mIt
 

Friends

bool operator== (const Iterator &a, const Iterator &b)
 
bool operator!= (const Iterator &a, const Iterator &b)
 

Detailed Description

Definition at line 2368 of file valueflow.cpp.

Member Typedef Documentation

◆ difference_type

Definition at line 2373 of file valueflow.cpp.

◆ iterator_category

Definition at line 2369 of file valueflow.cpp.

◆ pointer

Definition at line 2371 of file valueflow.cpp.

◆ reference

Definition at line 2372 of file valueflow.cpp.

◆ value_type

Definition at line 2370 of file valueflow.cpp.

Constructor & Destructor Documentation

◆ Iterator()

SelectValueFromVarIdMapRange::Iterator::Iterator ( const M::const_iterator &  it)
inlineexplicit

Definition at line 2375 of file valueflow.cpp.

Member Function Documentation

◆ operator*()

reference SelectValueFromVarIdMapRange::Iterator::operator* ( ) const
inline

Definition at line 2378 of file valueflow.cpp.

References mIt.

◆ operator++()

Iterator& SelectValueFromVarIdMapRange::Iterator::operator++ ( )
inline

Definition at line 2386 of file valueflow.cpp.

References mIt.

◆ operator->()

pointer SelectValueFromVarIdMapRange::Iterator::operator-> ( ) const
inline

Definition at line 2382 of file valueflow.cpp.

References mIt.

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( const Iterator a,
const Iterator b 
)
friend

Definition at line 2396 of file valueflow.cpp.

◆ operator==

bool operator== ( const Iterator a,
const Iterator b 
)
friend

Definition at line 2392 of file valueflow.cpp.

Member Data Documentation

◆ mIt

M::const_iterator SelectValueFromVarIdMapRange::Iterator::mIt
private

Definition at line 2401 of file valueflow.cpp.

Referenced by operator*(), operator++(), and operator->().


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