Joedb 10.4.6
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
joedb::filebuf Class Reference

https://en.cppreference.com/w/cpp/io/basic_streambuf.html More...

#include <joedb/journal/filebuf.h>

Inheritance diagram for joedb::filebuf:
Collaboration diagram for joedb::filebuf:

Public Member Functions

 filebuf (Abstract_File &file)
Abstract_File & get_file ()
const Abstract_File & get_file () const
 ~filebuf () override

Protected Member Functions

pos_type seekoff (off_type off, std::ios_base::seekdir dir, std::ios_base::openmode which) override
pos_type seekpos (pos_type pos, std::ios_base::openmode which) override
int sync () override
std::streamsize showmanyc () override
int_type underflow () override
std::streamsize xsgetn (char_type *s, std::streamsize count) override
std::streamsize xsputn (const char_type *s, std::streamsize count) override
int_type overflow (int_type ch) override
int_type pbackfail (int_type c) override

Detailed Description

Definition at line 15 of file filebuf.h.

Constructor & Destructor Documentation

◆ filebuf()

joedb::filebuf::filebuf ( Abstract_File & file)

Definition at line 223 of file filebuf.cpp.

◆ ~filebuf()

joedb::filebuf::~filebuf ( )
override

Definition at line 234 of file filebuf.cpp.

Member Function Documentation

◆ get_file() [1/2]

Abstract_File & joedb::filebuf::get_file ( )
inline

Definition at line 46 of file filebuf.h.

◆ get_file() [2/2]

const Abstract_File & joedb::filebuf::get_file ( ) const
inline

Definition at line 47 of file filebuf.h.

◆ overflow()

filebuf::int_type joedb::filebuf::overflow ( int_type ch)
overrideprotected

Definition at line 175 of file filebuf.cpp.

◆ pbackfail()

filebuf::int_type joedb::filebuf::pbackfail ( int_type c)
overrideprotected

Definition at line 191 of file filebuf.cpp.

◆ seekoff()

filebuf::pos_type joedb::filebuf::seekoff ( off_type off,
std::ios_base::seekdir dir,
std::ios_base::openmode which )
overrideprotected

Definition at line 30 of file filebuf.cpp.

◆ seekpos()

filebuf::pos_type joedb::filebuf::seekpos ( pos_type pos,
std::ios_base::openmode which )
overrideprotected

Definition at line 61 of file filebuf.cpp.

◆ showmanyc()

std::streamsize joedb::filebuf::showmanyc ( )
overrideprotected

Definition at line 89 of file filebuf.cpp.

◆ sync()

int joedb::filebuf::sync ( )
overrideprotected

Definition at line 80 of file filebuf.cpp.

◆ underflow()

filebuf::int_type joedb::filebuf::underflow ( )
overrideprotected

Definition at line 99 of file filebuf.cpp.

◆ xsgetn()

std::streamsize joedb::filebuf::xsgetn ( char_type * s,
std::streamsize count )
overrideprotected

Definition at line 115 of file filebuf.cpp.

◆ xsputn()

std::streamsize joedb::filebuf::xsputn ( const char_type * s,
std::streamsize count )
overrideprotected

Definition at line 154 of file filebuf.cpp.


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