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

#include <joedb/Freedom_Keeper.h>

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

Public Member Functions

index_t get_used_count () const
 
index_t size () const
 
index_t get_first_free () const
 
index_t get_first_used () const
 
index_t get_next (index_t index) const
 
index_t get_previous (index_t index) const
 
bool is_free (index_t index) const
 
bool is_used (index_t index) const
 
bool is_compact () const
 
index_t get_free_record ()
 
index_t push_back ()
 
void resize (index_t new_size)
 
void use (index_t index)
 
void free (index_t index)
 
void use_vector (index_t index, index_t size)
 

Additional Inherited Members

- Static Public Attributes inherited from joedb::Freedom_Keeper
static constexpr index_t used_list = -2
 
static constexpr index_t free_list = -1
 

Detailed Description

Definition at line 295 of file Freedom_Keeper.h.

Member Function Documentation

◆ free()

void joedb::Compact_Freedom_Keeper::free ( index_t  index)
inline

Definition at line 348 of file Freedom_Keeper.h.

◆ get_first_free()

index_t joedb::Compact_Freedom_Keeper::get_first_free ( ) const
inline

Definition at line 321 of file Freedom_Keeper.h.

◆ get_first_used()

index_t joedb::Compact_Freedom_Keeper::get_first_used ( ) const
inline

Definition at line 322 of file Freedom_Keeper.h.

◆ get_free_record()

index_t joedb::Compact_Freedom_Keeper::get_free_record ( )
inline

Definition at line 329 of file Freedom_Keeper.h.

◆ get_next()

index_t joedb::Compact_Freedom_Keeper::get_next ( index_t  index) const
inline

Definition at line 323 of file Freedom_Keeper.h.

◆ get_previous()

index_t joedb::Compact_Freedom_Keeper::get_previous ( index_t  index) const
inline

Definition at line 324 of file Freedom_Keeper.h.

◆ get_used_count()

index_t joedb::Compact_Freedom_Keeper::get_used_count ( ) const
inline

Definition at line 318 of file Freedom_Keeper.h.

◆ is_compact()

bool joedb::Compact_Freedom_Keeper::is_compact ( ) const
inline

Definition at line 327 of file Freedom_Keeper.h.

◆ is_free()

bool joedb::Compact_Freedom_Keeper::is_free ( index_t  index) const
inline

Definition at line 325 of file Freedom_Keeper.h.

◆ is_used()

bool joedb::Compact_Freedom_Keeper::is_used ( index_t  index) const
inline

Definition at line 326 of file Freedom_Keeper.h.

◆ push_back()

index_t joedb::Compact_Freedom_Keeper::push_back ( )
inline

Definition at line 330 of file Freedom_Keeper.h.

◆ resize()

void joedb::Compact_Freedom_Keeper::resize ( index_t  new_size)
inline

Definition at line 331 of file Freedom_Keeper.h.

◆ size()

index_t joedb::Compact_Freedom_Keeper::size ( ) const
inline

Definition at line 319 of file Freedom_Keeper.h.

◆ use()

void joedb::Compact_Freedom_Keeper::use ( index_t  index)
inline

Definition at line 334 of file Freedom_Keeper.h.

◆ use_vector()

void joedb::Compact_Freedom_Keeper::use_vector ( index_t  index,
index_t  size 
)
inline

Definition at line 362 of file Freedom_Keeper.h.


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