String position.
More...
#include <kanzi/core.ui/binding/split_string_range.hpp>
◆ SplitPosition() [1/3]
kanzi::SplitStringRange::SplitPosition::SplitPosition |
( |
| ) |
|
|
explicitdefault |
Default constructor.
Constructs an invalid position.
◆ SplitPosition() [2/3]
kanzi::SplitStringRange::SplitPosition::SplitPosition |
( |
size_t |
pos, |
|
|
size_t |
len, |
|
|
bool |
delim |
|
) |
| |
|
inlineexplicit |
Constructor.
- Parameters
-
pos | Current position. |
len | String length. |
delim | If delimiter was the last thing read true, otherwise false. |
◆ SplitPosition() [3/3]
kanzi::SplitStringRange::SplitPosition::SplitPosition |
( |
const SplitPosition & |
other | ) |
|
|
inline |
Copy constructor.
- Parameters
-
other | Source split position. |
◆ operator==()
bool kanzi::SplitStringRange::SplitPosition::operator== |
( |
const SplitPosition & |
other | ) |
const |
|
inline |
Equals operator.
- Parameters
-
other | Source split position. |
◆ operator!=()
bool kanzi::SplitStringRange::SplitPosition::operator!= |
( |
const SplitPosition & |
other | ) |
const |
|
inline |
Not equals operator.
- Parameters
-
other | Source split position. |
◆ operator=()
Move operator.
- Parameters
-
other | Source split position. |
◆ m_position
size_t kanzi::SplitStringRange::SplitPosition::m_position |
◆ m_length
size_t kanzi::SplitStringRange::SplitPosition::m_length |
◆ m_delim
bool kanzi::SplitStringRange::SplitPosition::m_delim |
◆ m_valid
bool kanzi::SplitStringRange::SplitPosition::m_valid |
The documentation for this struct was generated from the following file: