FastLED 3.9.15
Loading...
Searching...
No Matches
fl::fstream Class Reference

Detailed Description

Definition at line 299 of file fstream.h.

#include <fstream.h>

+ Collaboration diagram for fl::fstream:

Public Member Functions

 fstream () FL_NOEXCEPT
 
 fstream (const char *path, ios::openmode mode=ios::in|ios::out)
 
 fstream (const fstream &) FL_NOEXCEPT=delete
 
 fstream (filebuf_ptr handle)
 
 fstream (fstream &&other) FL_NOEXCEPT
 
 ~fstream () FL_NOEXCEPT
 
void clear_error ()
 
void close ()
 
bool eof () const
 
int error () const
 
const char * error_message () const
 
bool fail () const
 
fl::size_t gcount () const
 
bool good () const
 
bool is_open () const
 
void open (const char *path, ios::openmode mode=ios::in|ios::out)
 
fstreamoperator= (const fstream &)=delete
 
fstreamoperator= (fstream &&other) FL_NOEXCEPT
 
filebuf_ptr rdbuf () const
 
fstreamread (char *buffer, fl::size_t count)
 
fstreamseekg (fl::size_t pos, ios::seekdir dir=ios::seekdir::beg)
 
fl::size_t tellg ()
 
fstreamwrite (const char *data, fl::size_t count)
 

Private Member Functions

void updateState ()
 

Private Attributes

bool mEof
 
bool mFail
 
bool mGood
 
filebuf_ptr mHandle
 
fl::size_t mLastRead
 
int mLocalError
 

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