SDSL  3.0.0
Succinct Data Structure Library
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 (const char_type *s, std::streamsize n) override
 
int sync () override
 
int_type overflow (int_type c=traits_type::eof()) override
 

Detailed Description

Definition at line 15 of file ram_filebuf.hpp.

Constructor & Destructor Documentation

◆ ~ram_filebuf()

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

Definition at line 31 of file ram_filebuf.hpp.

◆ ram_filebuf() [1/2]

sdsl::ram_filebuf::ram_filebuf ( )
inline

Definition at line 33 of file ram_filebuf.hpp.

◆ ram_filebuf() [2/2]

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

Definition at line 35 of file ram_filebuf.hpp.

Member Function Documentation

◆ close()

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

Definition at line 84 of file ram_filebuf.hpp.

◆ is_open()

bool sdsl::ram_filebuf::is_open ( )
inline

Definition at line 82 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 43 of file ram_filebuf.hpp.

◆ overflow()

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

Definition at line 187 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 120 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 139 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 93 of file ram_filebuf.hpp.

◆ sync()

int sdsl::ram_filebuf::sync ( )
inlineoverride

Definition at line 182 of file ram_filebuf.hpp.

◆ xsputn()

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

Definition at line 148 of file ram_filebuf.hpp.


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