#include <Own.hpp>
|
ae2f_errint_t | Read (size_t i, void *dest, size_t destlen) const noexcept |
| Gets data from a class.
|
|
ae2f_errint_t | Write (size_t i, const void *src, size_t srclen) noexcept |
| Sets data to a class.
|
|
ae2f_errint_t | Length (size_t *lenbuff, size_t *elsizebuff) const noexcept |
| Gets the length, and element size of the class.
|
|
ae2f_errint_t | Resize (size_t bytecount) noexcept |
| Resizes the memory of [This] as bytes count.
Additional memories(newly allocated) must be initiated as 0.
Element size will be suggested as 1.
|
|
ae2f_errint_t | ReConfig (size_t elcount, size_t elsize) |
| Resizes the memory of [This].
Additional memories(newly allocated) must be initiated as 0.
|
|
| ~xrOwner () noexcept |
| Frees the memory of class.
Error code will be stored in ae2f_errGlob_LastErr.
|
|
ae2f_errint_t | Copy (const rRefer &src) noexcept |
| Allocates the memory. Copies the data from [src] to a class.
|
|
ae2f_errint_t | Copy (const rRefer &&src) noexcept |
| Allocates the memory. Copies the data from [src] to a class.
|
|
| xrOwner (ae2f_errint_t *perr, const ae2f_ds_vAlloc *imp) noexcept |
| Initialises the pointer.
Injects the function pointers automatically.
|
|
This structure owns the memory.
An interface to implement the linear array.
- See also
- ae2f_ds_cAlloc
-
ae2f_ds_Alloc_cOwn
-
ae2f::Ds::Alloc::rOwner
◆ ~xrOwner()
ae2f::Ds::Alloc::xrOwner::~xrOwner |
( |
| ) |
|
|
inlinenoexcept |
◆ xrOwner()
◆ Copy() [1/2]
◆ Copy() [2/2]
◆ Length()
ae2f_errint_t ae2f::Ds::Alloc::xrOwner::Length |
( |
size_t * | lenbuff, |
|
|
size_t * | elsizebuff ) const |
|
inlinenoexcept |
◆ Read()
ae2f_errint_t ae2f::Ds::Alloc::xrOwner::Read |
( |
size_t | i, |
|
|
void * | dest, |
|
|
size_t | destlen ) const |
|
inlinenoexcept |
◆ ReConfig()
ae2f_errint_t ae2f::Ds::Alloc::xrOwner::ReConfig |
( |
size_t | elcount, |
|
|
size_t | elsize ) |
|
inline |
◆ Resize()
ae2f_errint_t ae2f::Ds::Alloc::xrOwner::Resize |
( |
size_t | bytecount | ) |
|
|
inlinenoexcept |
◆ Write()
ae2f_errint_t ae2f::Ds::Alloc::xrOwner::Write |
( |
size_t | i, |
|
|
const void * | src, |
|
|
size_t | srclen ) |
|
inlinenoexcept |
The documentation for this struct was generated from the following file: