specialization for a non resizable const std::u16string (only reading access) Any Assign call will fail!
More...
#include <rawmemory_intf.h>
|
static tResult | Assign (const std::u16string *, const size_t, const void *, const size_t) |
|
static const void * | GetPtr (const std::u16string *pAssignValue) |
|
static size_t | GetSize (const std::u16string *pAssignValue, const size_t) |
|
static tResult | Assign (const std::u16string *pAssignValue, const size_t szStaticSize, const void *pValueToSet, const size_t szSizeToSet) |
| Sets (copy) the memory value pValueToSet of size in bytes szSizeToSet to the of container class T in parameter pAssignValue .
|
|
static const void * | GetPtr (const const std::u16string *pAssignValue) |
| Gets the memory pointer to the of container class T in parameter pAssignValue .
|
|
static size_t | GetSize (const const std::u16string *pAssignValue, const size_t szStaticSize) |
| Gets size in bytes of the memory pointer of container class T in parameter pAssignValue .
|
|
static tResult | Assign (const std::u16string *pAssignValue, const size_t szStaticSize, const void *pValueToSet, const size_t szSizeToSet) |
| Sets (copy) the memory value pValueToSet of size in bytes szSizeToSet to the of container class T in parameter pAssignValue .
|
|
static const void * | GetPtr (const const std::u16string *pAssignValue) |
| Gets the memory pointer to the of container class T in parameter pAssignValue .
|
|
static size_t | GetSize (const const std::u16string *pAssignValue, const size_t szStaticSize) |
| Gets size in bytes of the memory pointer of container class T in parameter pAssignValue .
|
|
static tResult | Assign (const std::u16string *pAssignValue, const size_t szStaticSize, const void *pValueToSet, const size_t szSizeToSet) |
| Sets (copy) the memory value pValueToSet of size in bytes szSizeToSet to the of container class T in parameter pAssignValue .
|
|
static const void * | GetPtr (const const std::u16string *pAssignValue) |
| Gets the memory pointer to the of container class T in parameter pAssignValue .
|
|
static size_t | GetSize (const const std::u16string *pAssignValue, const size_t szStaticSize) |
| Gets size in bytes of the memory pointer of container class T in parameter pAssignValue .
|
|
specialization for a non resizable const std::u16string (only reading access) Any Assign call will fail!
- See also
- adtf_memory_forward
Definition at line 161 of file rawmemory_intf.h.
◆ Assign() [1/4]
static tResult Assign |
( |
const std::u16string * | , |
|
|
const size_t | , |
|
|
const void * | , |
|
|
const size_t | ) |
|
inlinestatic |
◆ Assign() [2/4]
static tResult Assign |
( |
const std::u16string * | pAssignValue, |
|
|
const size_t | szStaticSize, |
|
|
const void * | pValueToSet, |
|
|
const size_t | szSizeToSet ) |
|
inlinestatic |
Sets (copy) the memory value pValueToSet
of size in bytes szSizeToSet
to the of container class T
in parameter pAssignValue
.
Usually this implementation creates a deep copy.
- Parameters
-
[in] | pAssignValue | pointer to the container class T . Must be a valid constructed object. |
[in] | szStaticSize | implementation details: max size of static pre allocated memory within AssignValue . if set no dynamic allocation possible. |
[in] | pValueToSet | raw pointer to the memory to set |
[in] | szSizeToSet | size in bytes of pValueToSet |
- Returns
- Standard Result Code
Definition at line 101 of file rawmemory_base.h.
◆ Assign() [3/4]
static tResult Assign |
( |
const std::u16string * | pAssignValue, |
|
|
const size_t | szStaticSize, |
|
|
const void * | pValueToSet, |
|
|
const size_t | szSizeToSet ) |
|
inlinestatic |
Sets (copy) the memory value pValueToSet
of size in bytes szSizeToSet
to the of container class T
in parameter pAssignValue
.
Usually this implementation creates a deep copy.
- Parameters
-
[in] | pAssignValue | pointer to the container class T . Must be a valid constructed object. |
[in] | szStaticSize | implementation details: max size of static pre allocated memory within AssignValue . if set no dynamic allocation possible. |
[in] | pValueToSet | raw pointer to the memory to set |
[in] | szSizeToSet | size in bytes of pValueToSet |
- Returns
- Standard Result Code
Definition at line 101 of file rawmemory_base.h.
◆ Assign() [4/4]
static tResult Assign |
( |
const std::u16string * | pAssignValue, |
|
|
const size_t | szStaticSize, |
|
|
const void * | pValueToSet, |
|
|
const size_t | szSizeToSet ) |
|
inlinestatic |
Sets (copy) the memory value pValueToSet
of size in bytes szSizeToSet
to the of container class T
in parameter pAssignValue
.
Usually this implementation creates a deep copy.
- Parameters
-
[in] | pAssignValue | pointer to the container class T . Must be a valid constructed object. |
[in] | szStaticSize | implementation details: max size of static pre allocated memory within AssignValue . if set no dynamic allocation possible. |
[in] | pValueToSet | raw pointer to the memory to set |
[in] | szSizeToSet | size in bytes of pValueToSet |
- Returns
- Standard Result Code
Definition at line 101 of file rawmemory_base.h.
◆ GetPtr() [1/4]
static const void * GetPtr |
( |
const const std::u16string * | pAssignValue | ) |
|
|
inlinestatic |
Gets the memory pointer to the of container class T
in parameter pAssignValue
.
- Parameters
-
[in] | pAssignValue | pointer to the container class T . Must be a valid constructed object. |
- Returns
- valid raw memory pointer to the mamory with pAssignValue.
Definition at line 119 of file rawmemory_base.h.
◆ GetPtr() [2/4]
static const void * GetPtr |
( |
const const std::u16string * | pAssignValue | ) |
|
|
inlinestatic |
Gets the memory pointer to the of container class T
in parameter pAssignValue
.
- Parameters
-
[in] | pAssignValue | pointer to the container class T . Must be a valid constructed object. |
- Returns
- valid raw memory pointer to the mamory with pAssignValue.
Definition at line 119 of file rawmemory_base.h.
◆ GetPtr() [3/4]
static const void * GetPtr |
( |
const const std::u16string * | pAssignValue | ) |
|
|
inlinestatic |
Gets the memory pointer to the of container class T
in parameter pAssignValue
.
- Parameters
-
[in] | pAssignValue | pointer to the container class T . Must be a valid constructed object. |
- Returns
- valid raw memory pointer to the mamory with pAssignValue.
Definition at line 119 of file rawmemory_base.h.
◆ GetPtr() [4/4]
static const void * GetPtr |
( |
const std::u16string * | pAssignValue | ) |
|
|
inlinestatic |
◆ GetSize() [1/4]
static size_t GetSize |
( |
const const std::u16string * | pAssignValue, |
|
|
const size_t | szStaticSize ) |
|
inlinestatic |
Gets size in bytes of the memory pointer of container class T
in parameter pAssignValue
.
- Parameters
-
[in] | pAssignValue | pointer to the container class T . Must be a valid constructed object. |
[in] | szStaticSize | size of the pointers buffer if container class is a static sized type |
- Returns
- the size in bytes.
Definition at line 134 of file rawmemory_base.h.
◆ GetSize() [2/4]
static size_t GetSize |
( |
const const std::u16string * | pAssignValue, |
|
|
const size_t | szStaticSize ) |
|
inlinestatic |
Gets size in bytes of the memory pointer of container class T
in parameter pAssignValue
.
- Parameters
-
[in] | pAssignValue | pointer to the container class T . Must be a valid constructed object. |
[in] | szStaticSize | size of the pointers buffer if container class is a static sized type |
- Returns
- the size in bytes.
Definition at line 134 of file rawmemory_base.h.
◆ GetSize() [3/4]
static size_t GetSize |
( |
const const std::u16string * | pAssignValue, |
|
|
const size_t | szStaticSize ) |
|
inlinestatic |
Gets size in bytes of the memory pointer of container class T
in parameter pAssignValue
.
- Parameters
-
[in] | pAssignValue | pointer to the container class T . Must be a valid constructed object. |
[in] | szStaticSize | size of the pointers buffer if container class is a static sized type |
- Returns
- the size in bytes.
Definition at line 134 of file rawmemory_base.h.
◆ GetSize() [4/4]
static size_t GetSize |
( |
const std::u16string * | pAssignValue, |
|
|
const size_t | ) |
|
inlinestatic |