File space address.
More...
#include <fil0fil.h>
◆ fil_addr_t() [1/2]
fil_addr_t::fil_addr_t |
( |
| ) |
|
|
inline |
◆ fil_addr_t() [2/2]
fil_addr_t::fil_addr_t |
( |
page_no_t |
p, |
|
|
uint32_t |
boff |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
[in] | p | Logical page number |
[in] | boff | Offset within the page |
◆ is_equal()
bool fil_addr_t::is_equal |
( |
const fil_addr_t & |
rhs | ) |
const |
|
inline |
Compare to instances.
- Parameters
-
[in] | rhs | Instance to compare with |
- Returns
- true if the page number and page offset are equal
◆ is_null()
bool fil_addr_t::is_null |
( |
| ) |
const |
|
inline |
Check if the file address is null.
- Returns
- true if null
◆ print()
std::ostream & fil_addr_t::print |
( |
std::ostream & |
out | ) |
const |
|
inline |
Print a string representation.
- Parameters
-
[in,out] | out | Stream to write to |
◆ boffset
uint32_t fil_addr_t::boffset |
Byte offset within the page.
◆ page
Page number within a space.
The documentation for this struct was generated from the following file: