Hyperpage
 
All Classes Namespaces Files Functions Pages
Loading...
Searching...
No Matches
hyperpage::reader Class Reference

#include <hyperpage.hpp>

Public Member Functions

 reader (const std::string &db_path)
 Constructs a reader for the hyperpage database.
 
std::unique_ptr< pageload (const std::string &page_path)
 Loads a page from the hyperpage database.
 

Constructor & Destructor Documentation

◆ reader()

hyperpage::reader::reader ( const std::string & db_path)

Constructs a reader for the hyperpage database.

Parameters
db_pathThe path to the hyperpage database file.

Member Function Documentation

◆ load()

std::unique_ptr< page > hyperpage::reader::load ( const std::string & page_path)

Loads a page from the hyperpage database.

Parameters
page_pathThe path of the page to load.
Returns
A unique pointer to the loaded page, or nullptr if not found.

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