Enables iteration over a collection of Universal MIDI Packets stored as a contiguous range of 32-bit words.
More...
#include <juce_UMPIterator.h>
|
| Iterator () noexcept=default |
| Creates an invalid (singular) iterator.
|
|
| Iterator (const uint32_t *ptr, size_t bytes) noexcept |
| Creates an iterator pointing at ptr .
|
|
Iterator & | operator++ () noexcept |
| Moves this iterator to the next packet in the range.
|
|
Iterator | operator++ (int) noexcept |
| Moves this iterator to the next packet in the range, returning the value of the iterator before it was incremented.
|
|
bool | operator== (const Iterator &other) const noexcept |
| Returns true if this iterator points to the same address as another iterator.
|
|
bool | operator!= (const Iterator &other) const noexcept |
| Returns false if this iterator points to the same address as another iterator.
|
|
reference | operator* () noexcept |
| Returns a reference to a View of the packet currently pointed-to by this iterator.
|
|
pointer | operator-> () noexcept |
| Returns a pointer to a View of the packet currently pointed-to by this iterator.
|
|
Enables iteration over a collection of Universal MIDI Packets stored as a contiguous range of 32-bit words.
This iterator is used by Packets to allow access to the messages that it contains.
◆ difference_type
◆ value_type
◆ reference
◆ pointer
◆ iterator_category
◆ Iterator() [1/2]
universal_midi_packets::Iterator::Iterator |
( |
| ) |
|
|
defaultnoexcept |
Creates an invalid (singular) iterator.
◆ Iterator() [2/2]
universal_midi_packets::Iterator::Iterator |
( |
const uint32_t * |
ptr, |
|
|
size_t |
bytes |
|
) |
| |
|
explicitnoexcept |
◆ operator++() [1/2]
Iterator & universal_midi_packets::Iterator::operator++ |
( |
| ) |
|
|
noexcept |
◆ operator++() [2/2]
Iterator universal_midi_packets::Iterator::operator++ |
( |
int |
| ) |
|
|
noexcept |
Moves this iterator to the next packet in the range, returning the value of the iterator before it was incremented.
◆ operator==()
bool universal_midi_packets::Iterator::operator== |
( |
const Iterator & |
other | ) |
const |
|
noexcept |
Returns true if this iterator points to the same address as another iterator.
Referenced by operator!=().
◆ operator!=()
bool universal_midi_packets::Iterator::operator!= |
( |
const Iterator & |
other | ) |
const |
|
noexcept |
Returns false if this iterator points to the same address as another iterator.
References operator==().
◆ operator*()
reference universal_midi_packets::Iterator::operator* |
( |
| ) |
|
|
noexcept |
Returns a reference to a View of the packet currently pointed-to by this iterator.
The View can be queried for its size and content.
◆ operator->()
pointer universal_midi_packets::Iterator::operator-> |
( |
| ) |
|
|
noexcept |
Returns a pointer to a View of the packet currently pointed-to by this iterator.
The View can be queried for its size and content.
The documentation for this class was generated from the following file: