#include <string.h>
Class to store the position after the last character at the end of a string.
Here an example for GetPart. The first parameter of GetPart is the class StringPosition, the second StringCount.
Public Member Functions | |
StringEnd () | |
StringEnd (Int value) | |
Public Member Functions inherited from StringPosition | |
MAXON_IMPLICIT | StringPosition (Int pos) |
MAXON_ATTRIBUTE_FORCE_INLINE Int | ResolvePosition (Int length) const |
Additional Inherited Members | |
Protected Attributes inherited from StringPosition | |
Int | _value |
StringEnd | ( | ) |
Constructor.
Constructor for a position from the end. Other than the class StringPosition StringEnd allows you to refer to the position after the last character.
[in] | value | The (negative) position from the end or 0 for the string end (the position after the last character). |