GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
all_threads_iterator Class Reference

#include "thread-iter.h"

Classes

struct  begin_t
 

Public Types

typedef all_threads_iterator self_type
 
typedef struct thread_infovalue_type
 
typedef struct thread_info *& reference
 
typedef struct thread_info ** pointer
 
typedef std::forward_iterator_tag iterator_category
 
typedef int difference_type
 

Public Member Functions

 all_threads_iterator (begin_t)
 
 all_threads_iterator ()
 
thread_infooperator* () const
 
all_threads_iteratoroperator++ ()
 
bool operator== (const all_threads_iterator &other) const
 
bool operator!= (const all_threads_iterator &other) const
 

Private Member Functions

void advance ()
 

Private Attributes

inferiorm_inf
 
thread_infom_thr
 

Detailed Description

Definition at line 36 of file thread-iter.h.

Member Typedef Documentation

◆ difference_type

Definition at line 44 of file thread-iter.h.

◆ iterator_category

typedef std::forward_iterator_tag all_threads_iterator::iterator_category

Definition at line 43 of file thread-iter.h.

◆ pointer

Definition at line 42 of file thread-iter.h.

◆ reference

Definition at line 41 of file thread-iter.h.

◆ self_type

Definition at line 39 of file thread-iter.h.

◆ value_type

Definition at line 40 of file thread-iter.h.

Constructor & Destructor Documentation

◆ all_threads_iterator() [1/2]

all_threads_iterator::all_threads_iterator ( begin_t )
explicit

Definition at line 26 of file thread-iter.c.

References inferior_list, m_inf, and m_thr.

◆ all_threads_iterator() [2/2]

all_threads_iterator::all_threads_iterator ( )
inline

Definition at line 54 of file thread-iter.h.

Member Function Documentation

◆ advance()

void all_threads_iterator::advance ( )
private

Definition at line 47 of file thread-iter.c.

References inferior_list, m_inf, m_thr, and inferior::thread_list.

Referenced by operator++().

◆ operator!=()

bool all_threads_iterator::operator!= ( const all_threads_iterator & other) const
inline

Definition at line 69 of file thread-iter.h.

References m_thr.

◆ operator*()

thread_info * all_threads_iterator::operator* ( ) const
inline

Definition at line 58 of file thread-iter.h.

References m_thr.

◆ operator++()

all_threads_iterator & all_threads_iterator::operator++ ( )
inline

Definition at line 60 of file thread-iter.h.

References advance().

◆ operator==()

bool all_threads_iterator::operator== ( const all_threads_iterator & other) const
inline

Definition at line 66 of file thread-iter.h.

References m_thr.

Member Data Documentation

◆ m_inf

inferior* all_threads_iterator::m_inf
private

Definition at line 79 of file thread-iter.h.

Referenced by advance(), and all_threads_iterator().

◆ m_thr

thread_info* all_threads_iterator::m_thr
private

Definition at line 80 of file thread-iter.h.

Referenced by advance(), all_threads_iterator(), operator!=(), operator*(), and operator==().


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