Navigation
API > API/Plugins > API/Plugins/ElectraBase > API/Plugins/ElectraBase/Utilities
References
| Module | ElectraBase |
| Header | /Engine/Plugins/Media/ElectraUtil/Source/ElectraBase/Public/Utilities/StringHelpers.h |
| Include | #include "Utilities/StringHelpers.h" |
Syntax
class FStringIterator
Remarks
There is a known anomaly in the FString::TConstIterator. It iterates all TCHARs in the string including the terminating zero character. This is not the behaviour we want and setup some helper iterator here which is not including the terminating zero.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FStringIterator
(
const FString& InString, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | GetIndex () |
Returns an index to the current element. | |
| const TCHAR * | GetRemainder () |
||
| int32 | |||
| void | Reset () |
Resets the iterator to the first element. | |
| void | SetToEnd () |
Sets iterator to the last element. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FStringIterator | |||
| FStringIterator & | operator-- () |
Moves iterator to the previous element in the container. | |
| FStringIterator | operator--
(
int |
||
| Conversion to "bool" returning true if the iterator has not reached the last element. | |||
| const TCHAR & | operator* () |
||
| FStringIterator | |||
| FStringIterator | operator++
(
int |
||
| FStringIterator & | operator++ () |
Advances iterator to the next element in the container. | |
| FStringIterator & | operator+=
(
int32 Offset |
Iterator arithmetic support | |
| FStringIterator & | operator-=
(
int32 Offset |
||
| const TCHAR * | operator-> () |