MySQL 8.3.0
Source Code Documentation
fil_addr_t Struct Reference

File space address. More...

#include <fil0fil.h>

Public Member Functions

 fil_addr_t ()
 
 fil_addr_t (page_no_t p, uint32_t boff)
 Constructor. More...
 
bool is_equal (const fil_addr_t &rhs) const
 Compare to instances. More...
 
bool is_null () const
 Check if the file address is null. More...
 
std::ostream & print (std::ostream &out) const
 Print a string representation. More...
 

Public Attributes

page_no_t page
 Page number within a space. More...
 
uint32_t boffset
 Byte offset within the page. More...
 

Detailed Description

File space address.

Constructor & Destructor Documentation

◆ 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]pLogical page number
[in]boffOffset within the page

Member Function Documentation

◆ is_equal()

bool fil_addr_t::is_equal ( const fil_addr_t rhs) const
inline

Compare to instances.

Parameters
[in]rhsInstance 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]outStream to write to

Member Data Documentation

◆ boffset

uint32_t fil_addr_t::boffset

Byte offset within the page.

◆ page

page_no_t fil_addr_t::page

Page number within a space.


The documentation for this struct was generated from the following file: