RTPApplica...tsIterator(3)

πŸ“¦
version 2.0.9 Β· 4 versions
, in debian trixie, ubuntu noble, ubuntu questing

✨ 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 only
  • typedef Participant value_type β€” the thing it points at is a Participant
  • typedef std::ptrdiff_t difference_type β€” the difference type, std::ptrdiff_t
  • typedef const Participant * pointer β€” a pointer to a const Participant
  • typedef const Participant & reference β€” a reference to a const Participant

✨ Public Member Functions ✨

  • ParticipantsIterator (ParticipantLink *p=NULL) β€” constructor, takes a ParticipantLink * that defaults to NULL
  • ParticipantsIterator (const ParticipantsIterator &pi) β€” copy constructor, takes another ParticipantsIterator
  • reference operator* () const β€” dereference, gives you the reference
  • pointer operator-> () const β€” arrow operator, gives you the pointer
  • ParticipantsIterator & operator++ () β€” prefix increment, returns a ParticipantsIterator &
  • ParticipantsIterator operator++ (int) β€” postfix increment, returns a ParticipantsIterator

🫢 Friends 🫢

  • bool operator== (const ParticipantsIterator &l, const ParticipantsIterator &r) β€” equality comparison between two ParticipantsIterators, left one l and right one r
  • bool operator!= (const ParticipantsIterator &l, const ParticipantsIterator &r) β€” inequality comparison, same two ParticipantsIterator arguments l and 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]

  • 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