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

#include <joedb/journal/Async_Reader.h>

Public Member Functions

 Async_Reader (const Abstract_File &file, int64_t start, int64_t end)
 
 Async_Reader (const Abstract_File &file, Blob blob)
 
size_t read (char *buffer, size_t capacity)
 
bool is_end_of_file () const
 
int64_t get_end () const
 
int64_t get_current () const
 
int64_t get_remaining () const
 

Detailed Description

Definition at line 10 of file Async_Reader.h.

Constructor & Destructor Documentation

◆ Async_Reader() [1/2]

joedb::Async_Reader::Async_Reader ( const Abstract_File file,
int64_t  start,
int64_t  end 
)

Definition at line 7 of file Async_Reader.cpp.

◆ Async_Reader() [2/2]

joedb::Async_Reader::Async_Reader ( const Abstract_File file,
Blob  blob 
)

Definition at line 24 of file Async_Reader.cpp.

Member Function Documentation

◆ get_current()

int64_t joedb::Async_Reader::get_current ( ) const
inline

Definition at line 26 of file Async_Reader.h.

◆ get_end()

int64_t joedb::Async_Reader::get_end ( ) const
inline

Definition at line 25 of file Async_Reader.h.

◆ get_remaining()

int64_t joedb::Async_Reader::get_remaining ( ) const
inline

Definition at line 27 of file Async_Reader.h.

◆ is_end_of_file()

bool joedb::Async_Reader::is_end_of_file ( ) const
inline

Definition at line 24 of file Async_Reader.h.

◆ read()

size_t joedb::Async_Reader::read ( char *  buffer,
size_t  capacity 
)

Definition at line 47 of file Async_Reader.cpp.


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