Free block structure.
More...
#include <tkrzw_dbm_hash_impl.h>
◆ FreeBlock() [1/2]
tkrzw::FreeBlock::FreeBlock |
( |
| ) |
|
◆ FreeBlock() [2/2]
tkrzw::FreeBlock::FreeBlock |
( |
int64_t |
offset, |
|
|
int32_t |
size |
|
) |
| |
Constructor.
- Parameters
-
offset | The offset in the file. |
size | The size of the block |
◆ operator<()
bool tkrzw::FreeBlock::operator< |
( |
const FreeBlock & |
rhs | ) |
const |
Comparator to get the minimum free block.
- Parameters
-
rhs | The other object to compare with. |
- Returns
- True if the self record is smaller than the oher record.
◆ offset
int64_t tkrzw::FreeBlock::offset |
◆ size
int32_t tkrzw::FreeBlock::size |