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

#include <joedb/Freedom_Keeper.h>

Inheritance diagram for joedb::Dense_Freedom_Keeper:
Inheritance graph
[legend]
Collaboration diagram for joedb::Dense_Freedom_Keeper:
Collaboration graph
[legend]

Public Member Functions

Record_Id get_used_count () const
 
Record_Id get_size () const
 
size_t size () const
 
Record_Id get_first_free () const
 
Record_Id get_first_used () const
 
Record_Id get_next (Record_Id index) const
 
Record_Id get_previous (Record_Id index) const
 
bool is_used (Record_Id index) const
 
bool is_free (Record_Id index) const
 
bool is_free_vector (Record_Id index, size_t size) const
 
bool is_used_vector (Record_Id index, size_t size) const
 
bool is_dense () const
 
Record_Id get_free_record ()
 
Record_Id push_back ()
 
void resize (Record_Id size)
 
bool use (Record_Id index)
 
bool free (Record_Id index)
 
bool use_vector (Record_Id index, size_t size)
 
bool free_vector (Record_Id index, size_t size)
 

Additional Inherited Members

- Static Public Attributes inherited from joedb::Freedom_Keeper_Constants
static constexpr Record_Id used_list {-2}
 
static constexpr Record_Id free_list {-1}
 

Detailed Description

Definition at line 219 of file Freedom_Keeper.h.

Member Function Documentation

◆ free()

bool joedb::Dense_Freedom_Keeper::free ( Record_Id  index)
inline

Definition at line 345 of file Freedom_Keeper.h.

◆ free_vector()

bool joedb::Dense_Freedom_Keeper::free_vector ( Record_Id  index,
size_t  size 
)
inline

Definition at line 367 of file Freedom_Keeper.h.

◆ get_first_free()

Record_Id joedb::Dense_Freedom_Keeper::get_first_free ( ) const
inline

Definition at line 230 of file Freedom_Keeper.h.

◆ get_first_used()

Record_Id joedb::Dense_Freedom_Keeper::get_first_used ( ) const
inline

Definition at line 238 of file Freedom_Keeper.h.

◆ get_free_record()

Record_Id joedb::Dense_Freedom_Keeper::get_free_record ( )
inline

Definition at line 319 of file Freedom_Keeper.h.

◆ get_next()

Record_Id joedb::Dense_Freedom_Keeper::get_next ( Record_Id  index) const
inline

Definition at line 246 of file Freedom_Keeper.h.

◆ get_previous()

Record_Id joedb::Dense_Freedom_Keeper::get_previous ( Record_Id  index) const
inline

Definition at line 265 of file Freedom_Keeper.h.

◆ get_size()

Record_Id joedb::Dense_Freedom_Keeper::get_size ( ) const
inline

Definition at line 227 of file Freedom_Keeper.h.

◆ get_used_count()

Record_Id joedb::Dense_Freedom_Keeper::get_used_count ( ) const
inline

Definition at line 226 of file Freedom_Keeper.h.

◆ is_dense()

bool joedb::Dense_Freedom_Keeper::is_dense ( ) const
inline

Definition at line 317 of file Freedom_Keeper.h.

◆ is_free()

bool joedb::Dense_Freedom_Keeper::is_free ( Record_Id  index) const
inline

Definition at line 299 of file Freedom_Keeper.h.

◆ is_free_vector()

bool joedb::Dense_Freedom_Keeper::is_free_vector ( Record_Id  index,
size_t  size 
) const
inline

Definition at line 304 of file Freedom_Keeper.h.

◆ is_used()

bool joedb::Dense_Freedom_Keeper::is_used ( Record_Id  index) const
inline

Definition at line 294 of file Freedom_Keeper.h.

◆ is_used_vector()

bool joedb::Dense_Freedom_Keeper::is_used_vector ( Record_Id  index,
size_t  size 
) const
inline

Definition at line 309 of file Freedom_Keeper.h.

◆ push_back()

Record_Id joedb::Dense_Freedom_Keeper::push_back ( )
inline

Definition at line 326 of file Freedom_Keeper.h.

◆ resize()

void joedb::Dense_Freedom_Keeper::resize ( Record_Id  size)
inline

Definition at line 328 of file Freedom_Keeper.h.

◆ size()

size_t joedb::Dense_Freedom_Keeper::size ( ) const
inline

Definition at line 228 of file Freedom_Keeper.h.

◆ use()

bool joedb::Dense_Freedom_Keeper::use ( Record_Id  index)
inline

Definition at line 334 of file Freedom_Keeper.h.

◆ use_vector()

bool joedb::Dense_Freedom_Keeper::use_vector ( Record_Id  index,
size_t  size 
)
inline

Definition at line 356 of file Freedom_Keeper.h.


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