Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
fc::datastream< fc::cfile, void > Class Reference

#include <cfile.hpp>

Inheritance diagram for fc::datastream< fc::cfile, void >:
Collaboration diagram for fc::datastream< fc::cfile, void >:

Public Member Functions

bool seekp (size_t pos)
 
bool get (char &c)
 
fc::cfilestorage ()
 
const fc::cfilestorage () const
 
- Public Member Functions inherited from fc::cfile
 cfile ()
 
void set_file_path (fc::path file_path)
 
fc::path get_file_path () const
 
bool is_open () const
 
auto fileno () const
 
void open (const char *mode)
 
size_t tellp () const
 
void seek (long loc)
 
void seek_end (long loc)
 
void skip (long loc)
 
void read (char *d, size_t n)
 
void write (const char *d, size_t n)
 
void flush ()
 
void sync ()
 
void punch_hole (size_t begin, size_t end)
 
size_t filesystem_block_size () const
 
bool eof () const
 
int getc ()
 
void close ()
 
boost::interprocess::mapping_handle_t get_mapping_handle () const
 
cfile_datastream create_datastream ()
 

Additional Inherited Members

- Static Public Member Functions inherited from fc::cfile
static bool supports_hole_punching ()
 
- Static Public Attributes inherited from fc::cfile
static constexpr const char * create_or_update_rw_mode = "ab+"
 
static constexpr const char * update_rw_mode = "rb+"
 
static constexpr const char * truncate_rw_mode = "wb+"
 

Detailed Description

Definition at line 254 of file cfile.hpp.

Member Function Documentation

◆ get()

bool fc::datastream< fc::cfile, void >::get ( char & c)
inline

Definition at line 260 of file cfile.hpp.

260 {
261 c = this->getc();
262 return true;
263 }
int getc()
Definition cfile.hpp:193

◆ seekp()

bool fc::datastream< fc::cfile, void >::seekp ( size_t pos)
inline

Definition at line 258 of file cfile.hpp.

258{ return this->seek(pos), true; }
void seek(long loc)
Definition cfile.hpp:87

◆ storage() [1/2]

fc::cfile & fc::datastream< fc::cfile, void >::storage ( )
inline

Definition at line 265 of file cfile.hpp.

265{ return *this; }

◆ storage() [2/2]

const fc::cfile & fc::datastream< fc::cfile, void >::storage ( ) const
inline

Definition at line 266 of file cfile.hpp.

266{ return *this; }

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