Joedb 10.2.1
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
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:
Inheritance graph
[legend]
Collaboration diagram for joedb::filebuf:
Collaboration graph
[legend]

Public Member Functions

 filebuf (Abstract_File &file)
 
Abstract_Fileget_file ()
 
const Abstract_Fileget_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 16 of file filebuf.h.

Constructor & Destructor Documentation

◆ filebuf()

joedb::filebuf::filebuf ( Abstract_File file)

Definition at line 215 of file filebuf.cpp.

◆ ~filebuf()

joedb::filebuf::~filebuf ( )
override

Definition at line 226 of file filebuf.cpp.

Member Function Documentation

◆ get_file() [1/2]

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

Definition at line 50 of file filebuf.h.

◆ get_file() [2/2]

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

Definition at line 51 of file filebuf.h.

◆ overflow()

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

Definition at line 170 of file filebuf.cpp.

◆ pbackfail()

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

Definition at line 186 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 28 of file filebuf.cpp.

◆ seekpos()

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

Definition at line 56 of file filebuf.cpp.

◆ showmanyc()

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

Definition at line 84 of file filebuf.cpp.

◆ sync()

int joedb::filebuf::sync ( )
overrideprotected

Definition at line 75 of file filebuf.cpp.

◆ underflow()

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

Definition at line 94 of file filebuf.cpp.

◆ xsgetn()

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

Definition at line 110 of file filebuf.cpp.

◆ xsputn()

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

Definition at line 149 of file filebuf.cpp.


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