8#ifndef MFRAME_D6A75B59_D8E5_4FB2_BAB8_41477CE17D21
9#define MFRAME_D6A75B59_D8E5_4FB2_BAB8_41477CE17D21
16#include "./../lang/Data.h"
17#include "./../lang/NonCopyable.h"
129 return (this->vNext !=
nullptr);
160 return Memory(
static_cast<const void*
>(
nullptr), 0);
資料處理類別
Definition Data.h:43
int length(void) const
取得資料有效長度
Definition Data.h:139
存儲資料的類別,提供動態記憶體管理功能。
Definition Memory.h:44
Memory(void *pointer, int length)
以指標與長度建構 Memory 實例
Definition Memory.h:79
virtual ~Memory(void) override
釋放記憶體資源並執行清理
Memory(Memory &other) noexcept
淺層複製構造器(移動語意)
Memory(void *pointer, uint32 length)
以 const 指標與長度建構 Memory 實例
Definition Memory.h:88
bool isHeapMemory(void) const
判斷是否為堆記憶體
Definition Memory.h:128
Memory(int length)
以指定長度建構 Memory 實例
Memory(const Data &data)
以資料物件建構 Memory 實例
static ufm::lang::Memory nullMemory(void)
取得一個空的 Memory 物件
Definition Memory.h:159
Memory(Memory &&other) noexcept
移動構造器
bool resize(int size)
調整記憶體大小
Memory(const void *pointer, int length)
以 const 指標與長度建構 Memory 實例
Definition Memory.h:70
E * pointer(void) const
模板方法,取得內部指標並轉換為指定型態(不指定偏移)
Definition Pointer.h:398
Definition Appendable.h:23
禁止複製的結構
Definition NonCopyable.h:38