|
ae2f::Core
|
Go to the source code of this file.
Macros | |
| #define | ae2f_ds_Alloc_cRef ae2f_ds_cAlloc |
| #define | ae2f_ds_Alloc_cRef_Mk(This) |
| Initialises the class for reffering. | |
| #define | ae2f_ds_Alloc_cRef_getSize(This, sizebuff, elsizebuff) |
| Gets the length, and element size of the class. | |
| #define | ae2f_ds_Alloc_cRef_Read(This, idx, buff, elsize) |
| Gets data from a class. | |
| #define | ae2f_ds_Alloc_cRef_Write(This, idx, src, srcsize) |
| Sets data to a class. | |
Typedefs | |
| typedef ae2f_errint_t(* | ae2f_ds_Alloc_fpLen_t) (const ae2f_struct ae2f_ds_Alloc_cRef *_this, size_t *pSize, size_t *pel) |
| Gets the length, and element size of the class. | |
| typedef ae2f_errint_t(* | ae2f_ds_Alloc_fpRead_t) (const ae2f_struct ae2f_ds_Alloc_cRef *_this, size_t Index, void *lpBuff, size_t Buff_size) |
| Gets data from a class. | |
| typedef ae2f_errint_t(* | ae2f_ds_Alloc_fpWrite_t) (ae2f_struct ae2f_ds_Alloc_cRef *_this, size_t Index, const void *lpBuff, size_t Buff_size) |
| Sets data to a class. | |
| #define ae2f_ds_Alloc_cRef ae2f_ds_cAlloc |
An interface to implement the linear array.
| #define ae2f_ds_Alloc_cRef_getSize | ( | This, | |
| sizebuff, | |||
| elsizebuff ) |
Gets the length, and element size of the class.
| This | The constant instance of the class. |
| sizebuff | A pointer where the count of the array, as an unit of elements. |
| elsizebuff | A pointer where the size of the element. |
| #define ae2f_ds_Alloc_cRef_Mk | ( | This | ) |
Initialises the class for reffering.
| This | {const ae2f_ds_cAlloc*} |
| #define ae2f_ds_Alloc_cRef_Read | ( | This, | |
| idx, | |||
| buff, | |||
| elsize ) |
Gets data from a class.
| This | The constant instance of the class. |
| idx | The Index [in an unit of bytes] where the element to copy is. |
| buff | A pointer of buffer where the element to be copied. |
| elsize | The allocated size of the [buff]. |
ae2f_errGlob_IMP_NOT_FOUND
ae2f_errGlob_PTR_IS_NULL
ae2f_ds_Alloc_Err_IDX_INVALID
| #define ae2f_ds_Alloc_cRef_Write | ( | This, | |
| idx, | |||
| src, | |||
| srcsize ) |
Sets data to a class.
| This | The instance of the class. |
| idx | The Index [in an unit of bytes] where the element to be overwritten. |
| src | A pointer of an element. |
| srcsize | An allocated size of the [src]. |
ae2f_errGlob_IMP_NOT_FOUND
ae2f_errGlob_PTR_IS_NULL
ae2f_ds_Alloc_Err_IDX_INVALID
| typedef ae2f_errint_t(* ae2f_ds_Alloc_fpLen_t) (const ae2f_struct ae2f_ds_Alloc_cRef *_this, size_t *pSize, size_t *pel) |
Gets the length, and element size of the class.
| _this | The constant instance of the class. |
| pSize | A pointer where the count of the array, as an unit of elements. |
| pel | A pointer where the size of the element. |
| typedef ae2f_errint_t(* ae2f_ds_Alloc_fpRead_t) (const ae2f_struct ae2f_ds_Alloc_cRef *_this, size_t Index, void *lpBuff, size_t Buff_size) |
Gets data from a class.
| _this | The constant instance of the class. |
| Index | The Index [in an unit of bytes] where the element to copy is. |
| lpBuff | A pointer of buffer where the element to be copied. |
| Buff_size | The allocated size of the lpBuff. |
ae2f_errGlob_PTR_IS_NULL
ae2f_ds_Alloc_Err_IDX_INVALID
| typedef ae2f_errint_t(* ae2f_ds_Alloc_fpWrite_t) (ae2f_struct ae2f_ds_Alloc_cRef *_this, size_t Index, const void *lpBuff, size_t Buff_size) |
Sets data to a class.
| _this | The instance of the class. |
| Index | The Index [in an unit of bytes] where the element to be overwritten. |
| lpBuff | A pointer of an element. |
| Buff_size | An allocated size of the lpBuff. |
ae2f_errGlob_PTR_IS_NULL
ae2f_ds_Alloc_Err_IDX_INVALID