Navigation
API > API/Runtime > API/Runtime/Core
| Name | TRingBufferIterator |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/RingBuffer.h |
| Include Path | #include "Containers/RingBuffer.h" |
Syntax
template<typename ContainerType, typename ElementType, typename SizeType>
class TRingBufferIterator
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TRingBufferIterator
(
ContainerType& InContainer, |
Containers/RingBuffer.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Container | ContainerType & | Containers/RingBuffer.h | ||
| Index | SizeType | Containers/RingBuffer.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
SizeType GetIndex() |
Returns an index to the current element. | Containers/RingBuffer.h | |
void RemoveCurrent () |
Removes current element in array. | Containers/RingBuffer.h | |
void Reset() |
Resets the iterator to the first element. | Containers/RingBuffer.h | |
void SetToEnd() |
Sets the iterator to one past the last element. | Containers/RingBuffer.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TRingBufferIterator operator-
(
SizeType Offset |
Containers/RingBuffer.h | ||
TRingBufferIterator & operator--() |
Moves iterator to the previous element in the container. | Containers/RingBuffer.h | |
TRingBufferIterator operator--
(
int |
Containers/RingBuffer.h | ||
operator bool() |
Conversion to "bool" returning true if the iterator has not reached the last element. | Containers/RingBuffer.h | |
bool operator!=
(
const TRingBufferIterator& Rhs |
Containers/RingBuffer.h | ||
ElementType & operator*() |
Containers/RingBuffer.h | ||
TRingBufferIterator operator+
(
SizeType Offset |
Containers/RingBuffer.h | ||
TRingBufferIterator & operator++() |
Advances iterator to the next element in the container. | Containers/RingBuffer.h | |
TRingBufferIterator operator++
(
int |
Containers/RingBuffer.h | ||
TRingBufferIterator & operator+=
(
SizeType Offset |
Iterator arithmetic support | Containers/RingBuffer.h | |
TRingBufferIterator & operator-=
(
SizeType Offset |
Containers/RingBuffer.h | ||
bool operator==
(
const TRingBufferIterator& Rhs |
Containers/RingBuffer.h | ||
ElementType * operator->() |
Containers/RingBuffer.h |