FastLED 3.9.15
Loading...
Searching...
No Matches

◆ updateState()

void fl::ifstream::updateState ( )
inlineprivate

Definition at line 56 of file fstream.h.

56 {
57 if (mHandle && mHandle->is_open()) {
58 mEof = mHandle->is_eof();
59 mFail = mHandle->has_error();
60 mGood = !mEof && !mFail;
61 } else {
62 mGood = false;
63 mEof = false;
64 mFail = true;
65 }
66 }
filebuf_ptr mHandle
Definition fstream.h:50
bool mEof
Definition fstream.h:53
bool mFail
Definition fstream.h:54
bool mGood
Definition fstream.h:52

References mEof, mFail, mGood, and mHandle.

Referenced by ifstream(), clear_error(), close(), open(), read(), and seekg().

+ Here is the caller graph for this function: