---
name: "RTPApplication_ParticipantsIterator"
section: "3"
platform: "linux"
package: "libccrtp-doc"
version: "2.0.9-4.1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/RTPApplication_ParticipantsIterator"
---

# RTPApplication\_ParticipantsIterator(3)

Iterator through the list of participants in this session.

## NAME

RTPApplication::ParticipantsIterator - Iterator through the list of participants in this session.

## SYNOPSIS

`#include <sources.h>`

### Public Types

typedef std::forward\_iterator\_tag **iterator\_category**\
 typedef **Participant** **value\_type**\
 typedef std::ptrdiff\_t **difference\_type**\
 typedef const **Participant** \* **pointer**\
 typedef const **Participant** & **reference**\

### Public Member Functions

**ParticipantsIterator** (ParticipantLink \*p=NULL)\
 **ParticipantsIterator** (const **ParticipantsIterator** &pi)\
 **reference** **operator\*** () const\
 **pointer** **operator-\>** () const\
 **ParticipantsIterator** & **operator++** ()\
 **ParticipantsIterator** **operator++** (int)\

### Friends

bool **operator==** (const **ParticipantsIterator** &l, const **ParticipantsIterator** &r)\
 bool **operator!=** (const **ParticipantsIterator** &l, const **ParticipantsIterator** &r)\

## Detailed Description

Iterator through the list of participants in this session.

Somehow resembles and standard const\_iterator

**Examples** **ccrtptest.cpp**.

## Member Typedef Documentation

### typedef std::ptrdiff\_t RTPApplication::ParticipantsIterator::difference\_type

### typedef std::forward\_iterator\_tag RTPApplication::ParticipantsIterator::iterator\_category

### typedef const Participant\* RTPApplication::ParticipantsIterator::pointer

### typedef const Participant& RTPApplication::ParticipantsIterator::reference

### typedef Participant RTPApplication::ParticipantsIterator::value\_type

## Constructor & Destructor Documentation

### RTPApplication::ParticipantsIterator::ParticipantsIterator (ParticipantLink \* p = `NULL`)` [inline]`

### RTPApplication::ParticipantsIterator::ParticipantsIterator (const ParticipantsIterator & pi)` [inline]`

## Member Function Documentation

### reference RTPApplication::ParticipantsIterator::operator\* () const` [inline]`

### ParticipantsIterator & RTPApplication::ParticipantsIterator::operator++ ()` [inline]`

### ParticipantsIterator RTPApplication::ParticipantsIterator::operator++ (int)` [inline]`

### pointer RTPApplication::ParticipantsIterator::operator-\> () const` [inline]`

## Friends And Related Symbol Documentation

### bool operator!= (const ParticipantsIterator & l, const ParticipantsIterator & r)` [friend]`

### bool operator== (const ParticipantsIterator & l, const ParticipantsIterator & r)` [friend]`

## Author

Generated automatically by Doxygen for ccRTP from the source code.
