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

Detailed Description

Definition at line 48 of file fstream.h.

#include <fstream.h>

+ Collaboration diagram for fl::ifstream:

Public Member Functions

 ifstream () FL_NOEXCEPT
 
 ifstream (const char *path, ios::openmode mode=ios::in)
 
 ifstream (const ifstream &) FL_NOEXCEPT=delete
 
 ifstream (filebuf_ptr handle)
 
 ifstream (ifstream &&other) FL_NOEXCEPT
 
 ~ifstream () FL_NOEXCEPT
 
bool available () const
 
bool available (fl::size_t n) const
 
fl::size_t bytes_left () const
 
fl::size_t bytesLeft () const
 
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)
 
ifstreamoperator= (const ifstream &)=delete
 
ifstreamoperator= (ifstream &&other) FL_NOEXCEPT
 
const char * path () const
 
fl::size_t pos () const
 
filebuf_ptr rdbuf () const
 
ifstreamread (char *buffer, fl::size_t count)
 
fl::size_t read (fl::span< fl::u8 > dst)
 
fl::size_t read (fl::u8 *dst, fl::size_t n)
 
fl::size_t readRGB8 (fl::span< CRGB > dst)
 
bool seek (fl::size_t p)
 
bool seek (fl::size_t p, seek_dir dir)
 
ifstreamseekg (fl::size_t pos, ios::seekdir dir=ios::seekdir::beg)
 
fl::size_t size () const
 
fl::size_t tellg ()
 
bool valid () const
 

Private Member Functions

void updateState ()
 

Private Attributes

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

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