RTPApplica...tsIterator(3)
β¨ RTPApplica...tsIterator(3) β¨
okay bestie, this one lives in the Library Functions Manual and it is literally the iterator that walks through the list of participants in this session π
πΈ NAME πΈ
RTPApplication::ParticipantsIterator β an iterator that goes through the list of participants in this session, no cap.
π¦ SYNOPSIS π¦
#include <sources.h>
π Public Types π
typedef std::forward_iterator_tag iterator_categoryβ its iterator category tag, forward iterator energy onlytypedef Participant value_typeβ the thing it points at is aParticipanttypedef std::ptrdiff_t difference_typeβ the difference type,std::ptrdiff_ttypedef const Participant * pointerβ a pointer to a constParticipanttypedef const Participant & referenceβ a reference to a constParticipant
β¨ Public Member Functions β¨
ParticipantsIterator (ParticipantLink *p=NULL)β constructor, takes aParticipantLink *that defaults toNULLParticipantsIterator (const ParticipantsIterator &pi)β copy constructor, takes anotherParticipantsIteratorreference operator* () constβ dereference, gives you thereferencepointer operator-> () constβ arrow operator, gives you thepointerParticipantsIterator & operator++ ()β prefix increment, returns aParticipantsIterator &ParticipantsIterator operator++ (int)β postfix increment, returns aParticipantsIterator
π«Ά Friends π«Ά
bool operator== (const ParticipantsIterator &l, const ParticipantsIterator &r)β equality comparison between twoParticipantsIterators, left oneland right onerbool operator!= (const ParticipantsIterator &l, const ParticipantsIterator &r)β inequality comparison, same twoParticipantsIteratorargumentslandr
π 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_typetypedef std::forward_iterator_tag RTPApplication::ParticipantsIterator::iterator_categorytypedef const Participant* RTPApplication::ParticipantsIterator::pointertypedef const Participant& RTPApplication::ParticipantsIterator::referencetypedef 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. fr fr that's the whole vibe π
and that's a wrap bestie π this page is brought to you by ccRTP, signed off as RTPApplica...tsIterator(3) β go iterate through those participants, you ate π
β¨
π¦ where this page comes from
- debian trixie: libccrtp-doc 2.0.9-4.1 Β· GPL-2.0-or-later WITH MIF exception
- ubuntu noble: libccrtp-doc 2.0.9-2.5build1
- ubuntu questing: libccrtp-doc 2.0.9-4.1build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms