gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::RegClassIterator Class Reference

#include <reg_class.hh>

Public Types

using iterator_category = std::forward_iterator_tag
 
using difference_type = std::size_t
 
using value_type = const RegId
 
using pointer = value_type *
 
using reference = value_type &
 

Public Member Functions

reference operator* () const
 
pointer operator-> ()
 
RegClassIteratoroperator++ ()
 
RegClassIterator operator++ (int)
 
bool operator== (const RegClassIterator &other) const
 
bool operator!= (const RegClassIterator &other) const
 

Private Member Functions

 RegClassIterator (const RegClass &reg_class, RegIndex idx)
 

Private Attributes

RegId id
 

Friends

class RegClass
 

Detailed Description

Definition at line 296 of file reg_class.hh.

Member Typedef Documentation

◆ difference_type

Definition at line 309 of file reg_class.hh.

◆ iterator_category

using gem5::RegClassIterator::iterator_category = std::forward_iterator_tag

Definition at line 308 of file reg_class.hh.

◆ pointer

Definition at line 311 of file reg_class.hh.

◆ reference

Definition at line 312 of file reg_class.hh.

◆ value_type

Definition at line 310 of file reg_class.hh.

Constructor & Destructor Documentation

◆ RegClassIterator()

gem5::RegClassIterator::RegClassIterator ( const RegClass & reg_class,
RegIndex idx )
inlineprivate

Definition at line 301 of file reg_class.hh.

Member Function Documentation

◆ operator!=()

bool gem5::RegClassIterator::operator!= ( const RegClassIterator & other) const
inline

Definition at line 339 of file reg_class.hh.

References id.

◆ operator*()

reference gem5::RegClassIterator::operator* ( ) const
inline

Definition at line 314 of file reg_class.hh.

References id.

◆ operator++() [1/2]

RegClassIterator & gem5::RegClassIterator::operator++ ( )
inline

Definition at line 318 of file reg_class.hh.

◆ operator++() [2/2]

RegClassIterator gem5::RegClassIterator::operator++ ( int )
inline

Definition at line 325 of file reg_class.hh.

◆ operator->()

pointer gem5::RegClassIterator::operator-> ( )
inline

Definition at line 315 of file reg_class.hh.

References id.

◆ operator==()

bool gem5::RegClassIterator::operator== ( const RegClassIterator & other) const
inline

Definition at line 333 of file reg_class.hh.

References id.

Friends And Related Symbol Documentation

◆ RegClass

friend class RegClass
friend

Definition at line 305 of file reg_class.hh.

Member Data Documentation

◆ id

RegId gem5::RegClassIterator::id
private

Definition at line 299 of file reg_class.hh.

Referenced by operator!=(), operator*(), operator->(), and operator==().


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

Generated on Tue Jun 18 2024 16:24:13 for gem5 by doxygen 1.11.0