Joedb 9.1.4
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
Public Member Functions | List of all members
joedb::db::encoded_file::id_of_buffer Class Reference

Strongly-typed wrapper around an integer representing a row of the buffer table. More...

#include <joedb/db/encoded_file/ids.h>

Public Member Functions

constexpr id_of_buffer (size_t id)
 
constexpr id_of_buffer (Record_Id id)
 
constexpr id_of_buffer ()
 
constexpr bool is_null () const
 
constexpr bool is_not_null () const
 
constexpr size_t get_id () const
 
constexpr Record_Id get_record_id () const
 
constexpr bool operator== (id_of_buffer x) const
 
constexpr bool operator!= (id_of_buffer x) const
 
constexpr bool operator< (id_of_buffer x) const
 
constexpr bool operator> (id_of_buffer x) const
 
constexpr bool operator<= (id_of_buffer x) const
 
constexpr bool operator>= (id_of_buffer x) const
 
constexpr id_of_buffer operator[] (size_t i) const
 

Detailed Description

Definition at line 24 of file ids.h.

Constructor & Destructor Documentation

◆ id_of_buffer() [1/3]

constexpr joedb::db::encoded_file::id_of_buffer::id_of_buffer ( size_t  id)
inlineexplicitconstexpr

Definition at line 30 of file ids.h.

◆ id_of_buffer() [2/3]

constexpr joedb::db::encoded_file::id_of_buffer::id_of_buffer ( Record_Id  id)
inlineexplicitconstexpr

Definition at line 31 of file ids.h.

◆ id_of_buffer() [3/3]

constexpr joedb::db::encoded_file::id_of_buffer::id_of_buffer ( )
inlineconstexpr

Definition at line 32 of file ids.h.

Member Function Documentation

◆ get_id()

constexpr size_t joedb::db::encoded_file::id_of_buffer::get_id ( ) const
inlineconstexpr

Definition at line 35 of file ids.h.

◆ get_record_id()

constexpr Record_Id joedb::db::encoded_file::id_of_buffer::get_record_id ( ) const
inlineconstexpr

Definition at line 36 of file ids.h.

◆ is_not_null()

constexpr bool joedb::db::encoded_file::id_of_buffer::is_not_null ( ) const
inlineconstexpr

Definition at line 34 of file ids.h.

◆ is_null()

constexpr bool joedb::db::encoded_file::id_of_buffer::is_null ( ) const
inlineconstexpr

Definition at line 33 of file ids.h.

◆ operator!=()

constexpr bool joedb::db::encoded_file::id_of_buffer::operator!= ( id_of_buffer  x) const
inlineconstexpr

Definition at line 38 of file ids.h.

◆ operator<()

constexpr bool joedb::db::encoded_file::id_of_buffer::operator< ( id_of_buffer  x) const
inlineconstexpr

Definition at line 39 of file ids.h.

◆ operator<=()

constexpr bool joedb::db::encoded_file::id_of_buffer::operator<= ( id_of_buffer  x) const
inlineconstexpr

Definition at line 41 of file ids.h.

◆ operator==()

constexpr bool joedb::db::encoded_file::id_of_buffer::operator== ( id_of_buffer  x) const
inlineconstexpr

Definition at line 37 of file ids.h.

◆ operator>()

constexpr bool joedb::db::encoded_file::id_of_buffer::operator> ( id_of_buffer  x) const
inlineconstexpr

Definition at line 40 of file ids.h.

◆ operator>=()

constexpr bool joedb::db::encoded_file::id_of_buffer::operator>= ( id_of_buffer  x) const
inlineconstexpr

Definition at line 42 of file ids.h.

◆ operator[]()

constexpr id_of_buffer joedb::db::encoded_file::id_of_buffer::operator[] ( size_t  i) const
inlineconstexpr

Definition at line 43 of file ids.h.


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