Specialisation for const char pointer.
More...
#include <string_intf.h>
|
static const char * | GetConstChar (const char *const pValue) |
|
static size_t | GetCurrentLength (const char *const pValue) |
|
static tResult | SetValue (const char *const, const char *) |
|
static const char * | GetConstChar (const const char *const pValue) |
| Retrieves a const char pointer (null-terminated).
|
|
static size_t | GetCurrentLength (const const char *const pValue) |
| Retrieves the string size of the given pValue .
|
|
static tResult | SetValue (const char *const pValue, const char *strValue) |
| Sets the given strValue to the string type implementation of the given pValue .
|
|
static const char * | GetConstChar (const const char *const pValue) |
| Retrieves a const char pointer (null-terminated).
|
|
static size_t | GetCurrentLength (const const char *const pValue) |
| Retrieves the string size of the given pValue .
|
|
static tResult | SetValue (const char *const pValue, const char *strValue) |
| Sets the given strValue to the string type implementation of the given pValue .
|
|
static const char * | GetConstChar (const const char *const pValue) |
| Retrieves a const char pointer (null-terminated).
|
|
static size_t | GetCurrentLength (const const char *const pValue) |
| Retrieves the string size of the given pValue .
|
|
static tResult | SetValue (const char *const pValue, const char *strValue) |
| Sets the given strValue to the string type implementation of the given pValue .
|
|
Specialisation for const char pointer.
Definition at line 168 of file string_intf.h.
◆ GetConstChar() [1/4]
static const char * GetConstChar |
( |
const char *const | pValue | ) |
|
|
inlinestatic |
◆ GetConstChar() [2/4]
static const char * GetConstChar |
( |
const const char *const | pValue | ) |
|
|
inlinestatic |
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
Definition at line 72 of file string_intf.h.
◆ GetConstChar() [3/4]
static const char * GetConstChar |
( |
const const char *const | pValue | ) |
|
|
inlinestatic |
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
Definition at line 72 of file string_intf.h.
◆ GetConstChar() [4/4]
static const char * GetConstChar |
( |
const const char *const | pValue | ) |
|
|
inlinestatic |
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
Definition at line 72 of file string_intf.h.
◆ GetCurrentLength() [1/4]
static size_t GetCurrentLength |
( |
const char *const | pValue | ) |
|
|
inlinestatic |
◆ GetCurrentLength() [2/4]
static size_t GetCurrentLength |
( |
const const char *const | pValue | ) |
|
|
inlinestatic |
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)
Definition at line 84 of file string_intf.h.
◆ GetCurrentLength() [3/4]
static size_t GetCurrentLength |
( |
const const char *const | pValue | ) |
|
|
inlinestatic |
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)
Definition at line 84 of file string_intf.h.
◆ GetCurrentLength() [4/4]
static size_t GetCurrentLength |
( |
const const char *const | pValue | ) |
|
|
inlinestatic |
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)
Definition at line 84 of file string_intf.h.
◆ SetValue() [1/4]
static tResult SetValue |
( |
const char *const | pValue, |
|
|
const char * | strValue ) |
|
inlinestatic |
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. |
Definition at line 101 of file string_intf.h.
◆ SetValue() [2/4]
static tResult SetValue |
( |
const char *const | pValue, |
|
|
const char * | strValue ) |
|
inlinestatic |
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. |
Definition at line 101 of file string_intf.h.
◆ SetValue() [3/4]
static tResult SetValue |
( |
const char *const | pValue, |
|
|
const char * | strValue ) |
|
inlinestatic |
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. |
Definition at line 101 of file string_intf.h.
◆ SetValue() [4/4]
static tResult SetValue |
( |
const char * const | , |
|
|
const char * | ) |
|
inlinestatic |