LLVM 22.0.0git
llvm::PBQP::Graph< SolverT >::NodeItr Class Reference

#include "llvm/CodeGen/PBQP/Graph.h"

Public Types

using iterator_category = std::forward_iterator_tag
using value_type = NodeId
using difference_type = int
using pointer = NodeId *
using reference = NodeId &

Public Member Functions

 NodeItr (NodeId CurNId, const Graph &G)
bool operator== (const NodeItr &O) const
bool operator!= (const NodeItr &O) const
NodeItroperator++ ()
NodeId operator* () const

Detailed Description

template<typename SolverT>
class llvm::PBQP::Graph< SolverT >::NodeItr

Definition at line 230 of file Graph.h.

Member Typedef Documentation

◆ difference_type

template<typename SolverT>
using llvm::PBQP::Graph< SolverT >::NodeItr::difference_type = int

Definition at line 234 of file Graph.h.

◆ iterator_category

template<typename SolverT>
using llvm::PBQP::Graph< SolverT >::NodeItr::iterator_category = std::forward_iterator_tag

Definition at line 232 of file Graph.h.

◆ pointer

template<typename SolverT>
using llvm::PBQP::Graph< SolverT >::NodeItr::pointer = NodeId *

Definition at line 235 of file Graph.h.

◆ reference

template<typename SolverT>
using llvm::PBQP::Graph< SolverT >::NodeItr::reference = NodeId &

Definition at line 236 of file Graph.h.

◆ value_type

template<typename SolverT>
using llvm::PBQP::Graph< SolverT >::NodeItr::value_type = NodeId

Definition at line 233 of file Graph.h.

Constructor & Destructor Documentation

◆ NodeItr()

template<typename SolverT>
llvm::PBQP::Graph< SolverT >::NodeItr::NodeItr ( NodeId CurNId,
const Graph & G )
inline

Definition at line 238 of file Graph.h.

References G, and llvm::size().

Referenced by operator!=(), operator++(), and operator==().

Member Function Documentation

◆ operator!=()

template<typename SolverT>
bool llvm::PBQP::Graph< SolverT >::NodeItr::operator!= ( const NodeItr & O) const
inline

Definition at line 244 of file Graph.h.

References NodeItr().

◆ operator*()

template<typename SolverT>
NodeId llvm::PBQP::Graph< SolverT >::NodeItr::operator* ( ) const
inline

Definition at line 246 of file Graph.h.

◆ operator++()

template<typename SolverT>
NodeItr & llvm::PBQP::Graph< SolverT >::NodeItr::operator++ ( )
inline

Definition at line 245 of file Graph.h.

References NodeItr().

◆ operator==()

template<typename SolverT>
bool llvm::PBQP::Graph< SolverT >::NodeItr::operator== ( const NodeItr & O) const
inline

Definition at line 243 of file Graph.h.

References NodeItr().


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