4#include <Foundation/DataProcessing/Stream/ProcessingStream.h>
5#include <Foundation/Memory/MemoryUtils.h>
8template <
typename Type>
25 void Advance(plUInt32 uiNumElements);
30 void* m_pCurrentPtr =
nullptr;
31 void* m_pEndPtr =
nullptr;
33 plUInt64 m_uiElementStride = 0;
36#include <Foundation/DataProcessing/Stream/Implementation/ProcessingStreamIterator_inl.h>
A single stream in a stream group holding contiguous data of a given type.
Definition ProcessingStream.h:8
Helper template class to iterate over stream elements.
Definition ProcessingStreamIterator.h:10
plProcessingStreamIterator(const plProcessingStream *pStream, plUInt64 uiNumElements, plUInt64 uiStartIndex)
Constructor.
Definition ProcessingStreamIterator_inl.h:3
void Advance()
Advances the current pointer to the next element in the stream.
Definition ProcessingStreamIterator_inl.h:28
bool HasReachedEnd() const
Returns true of the iterator has reached the end of the stream or the number of elements it should it...
Definition ProcessingStreamIterator_inl.h:22
Type & Current() const
Returns a reference to the current element. Note that the behavior is undefined if HasReachedEnd() is...
Definition ProcessingStreamIterator_inl.h:16