#include <string_intf.h>
Inherited by adtf::base::ant::adtf_string< T > [protected].
|
|
static constexpr bool | is_mutable = false |
| |
template<typename T>
struct adtf::base::adtf_string_forward< T >
Implementation concept template for user defined adtf_string type support.
This template is used within adtf_string.
- Template Parameters
-
| T | Type of specialisation. You need to implement a adtf_string_forward implementation for your string class. |
◆ GetConstChar()
Retrieves a const char pointer (null-terminated).
- Parameters
-
| pValue | [in] Pointer to string implementation. |
- Returns
- the pointer to a const char* nullterminated string out of
pValue
◆ GetCurrentLength()
Retrieves the string size of the given pValue.
- Parameters
-
| pValue | [in] Pointer to string implementation. |
- Returns
- size of the string (char count without null-terminated value)
◆ SetValue()
Sets the given strValue to the string type implementation of the given pValue.
- Parameters
-
| pValue | [in] Pointer to string implementation. |
| strValue | [in] value to set. |
- Returns
- Depends on implementation.
- Return values
-
| ERR_ACCESS_DENIED | writing access denied, value can not be set. |
| ERR_MEMORY | strValue size exceeds the buffer of pValue. |
| ERR_NOERROR | Successfully set. |
The documentation for this struct was generated from the following file: