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