SDSL 3.0.3
Succinct Data Structure Library
Loading...
Searching...
No Matches
sdsl::ram_filebuf Class Reference

#include <ram_filebuf.hpp>

Inheritance diagram for sdsl::ram_filebuf:

Public Member Functions

virtual ~ram_filebuf ()
 
 ram_filebuf ()
 
 ram_filebuf (ram_fs::content_type &ram_file)
 
std::streambuf * open (const std::string name, std::ios_base::openmode mode)
 
bool is_open ()
 
ram_filebufclose ()
 
pos_type seekpos (pos_type sp, std::ios_base::openmode mode=std::ios_base::in|std::ios_base::out) override
 
pos_type pubseekoff (off_type off, std::ios_base::seekdir way, std::ios_base::openmode which=std::ios_base::in|std::ios_base::out)
 
pos_type pubseekpos (pos_type sp, std::ios_base::openmode which=std::ios_base::in|std::ios_base::out)
 
std::streamsize xsputn (char_type const *s, std::streamsize n) override
 
int sync () override
 
int_type overflow (int_type c=traits_type::eof()) override
 

Detailed Description

Definition at line 19 of file ram_filebuf.hpp.

Constructor & Destructor Documentation

◆ ~ram_filebuf()

virtual sdsl::ram_filebuf::~ram_filebuf ( )
inlinevirtual

Definition at line 35 of file ram_filebuf.hpp.

◆ ram_filebuf() [1/2]

sdsl::ram_filebuf::ram_filebuf ( )
inline

Definition at line 37 of file ram_filebuf.hpp.

◆ ram_filebuf() [2/2]

sdsl::ram_filebuf::ram_filebuf ( ram_fs::content_type & ram_file)
inline

Definition at line 39 of file ram_filebuf.hpp.

Member Function Documentation

◆ close()

ram_filebuf * sdsl::ram_filebuf::close ( )
inline

Definition at line 99 of file ram_filebuf.hpp.

◆ is_open()

bool sdsl::ram_filebuf::is_open ( )
inline

Definition at line 94 of file ram_filebuf.hpp.

◆ open()

std::streambuf * sdsl::ram_filebuf::open ( const std::string name,
std::ios_base::openmode mode )
inline

Definition at line 46 of file ram_filebuf.hpp.

◆ overflow()

int_type sdsl::ram_filebuf::overflow ( int_type c = traits_type::eof())
inlineoverride

Definition at line 221 of file ram_filebuf.hpp.

◆ pubseekoff()

pos_type sdsl::ram_filebuf::pubseekoff ( off_type off,
std::ios_base::seekdir way,
std::ios_base::openmode which = std::ios_base::in | std::ios_base::out )
inline

Definition at line 136 of file ram_filebuf.hpp.

◆ pubseekpos()

pos_type sdsl::ram_filebuf::pubseekpos ( pos_type sp,
std::ios_base::openmode which = std::ios_base::in | std::ios_base::out )
inline

Definition at line 164 of file ram_filebuf.hpp.

◆ seekpos()

pos_type sdsl::ram_filebuf::seekpos ( pos_type sp,
std::ios_base::openmode mode = std::ios_base::in | std::ios_base::out )
inlineoverride

Definition at line 109 of file ram_filebuf.hpp.

◆ sync()

int sdsl::ram_filebuf::sync ( )
inlineoverride

Definition at line 216 of file ram_filebuf.hpp.

◆ xsputn()

std::streamsize sdsl::ram_filebuf::xsputn ( char_type const * s,
std::streamsize n )
inlineoverride

Definition at line 176 of file ram_filebuf.hpp.


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