|
libxr
1.0
Want to be the best embedded framework
|
键信息结构,存储键的元数据 (Structure containing key metadata). More...
Public Member Functions | |
| KeyInfo () | |
| 构造一个默认可写的键头元数据 (Construct one default writable key-header metadata object). | |
| void | SetNameLength (uint8_t len) |
| 设置键名长度 (Set the key name length). | |
| uint8_t | GetNameLength () const |
| 获取键名长度 (Get the key name length). | |
| void | SetDataSize (uint32_t size) |
| 设置数据字节数 (Set the payload size in bytes). | |
| uint32_t | GetDataSize () const |
| 获取数据字节数 (Get the payload size in bytes). | |
Data Fields | |
| BlockBoolData< MinWriteSize > | no_next_key |
| 是否是最后一个键 | |
| BlockBoolData< MinWriteSize > | available_flag |
| 该键是否有效 | |
| BlockBoolData< MinWriteSize > | uninit |
| 该键是否未初始化 | |
| uint32_t | raw_info = 0 |
键信息结构,存储键的元数据 (Structure containing key metadata).
|
inline |
|
inline |
获取数据字节数 (Get the payload size in bytes).
Definition at line 154 of file raw.hpp.
|
inline |
获取键名长度 (Get the key name length).
Definition at line 139 of file raw.hpp.
|
inline |
设置数据字节数 (Set the payload size in bytes).
| size | 数据字节数 (Payload size in bytes). |
Definition at line 145 of file raw.hpp.
|
inline |
设置键名长度 (Set the key name length).
| len | 键名长度 (Key name length). |
Definition at line 130 of file raw.hpp.
| BlockBoolData<MinWriteSize> LibXR::DatabaseRaw< MinWriteSize >::KeyInfo::available_flag |
| BlockBoolData<MinWriteSize> LibXR::DatabaseRaw< MinWriteSize >::KeyInfo::no_next_key |
| uint32_t LibXR::DatabaseRaw< MinWriteSize >::KeyInfo::raw_info = 0 |
| BlockBoolData<MinWriteSize> LibXR::DatabaseRaw< MinWriteSize >::KeyInfo::uninit |