|
| cStringRedirect (std::function< tResult(const ant::IString &)> fnForward) |
|
tResult | Set (const char *strValue) override |
| Sets the given null-terminated string to the implementation. More...
|
|
size_t | GetLength () const override |
| Gets the current size of the strng. More...
|
|
const char * | Get () const override |
| Gets the pointer to the current associated nullterminated-string. More...
|
|
Definition at line 302 of file string_intf.h.
◆ Get()
const char* Get |
( |
| ) |
const |
|
inlineoverridevirtual |
Gets the pointer to the current associated nullterminated-string.
- Returns
- The pointer to the null-terminated string.
Implements IString.
Definition at line 320 of file string_intf.h.
◆ GetLength()
size_t GetLength |
( |
| ) |
const |
|
inlineoverridevirtual |
Gets the current size of the strng.
Usually this is in Bytes (null-termination is not included!)
- Returns
- The size of the string.
- Return values
-
If | not valid return InvalidPos! |
Implements IString.
Definition at line 315 of file string_intf.h.
◆ Set()
tResult Set |
( |
const char * |
strValue | ) |
|
|
inlineoverridevirtual |
Sets the given null-terminated string to the implementation.
- Parameters
-
strValue | [in] The null-terminated string to set. |
- Return values
-
ERR_NOERROR | The value is set successfully |
ERR_MEMORY | The value can not be set. Too long. No truncating provided. |
Implements IString.
Definition at line 310 of file string_intf.h.