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

◆ updateState()

void fl::fstream::updateState ( )
inlineprivate

Definition at line 308 of file fstream.h.

308 {
309 if (mHandle && mHandle->is_open()) {
310 mEof = mHandle->is_eof();
311 mFail = mHandle->has_error() || (mLocalError != 0);
312 mGood = !mEof && !mFail;
313 } else {
314 mGood = false;
315 mEof = false;
316 mFail = true;
317 }
318 }
bool mGood
Definition fstream.h:303
bool mEof
Definition fstream.h:304
filebuf_ptr mHandle
Definition fstream.h:301
bool mFail
Definition fstream.h:305
int mLocalError
Definition fstream.h:306

References mEof, mFail, mGood, mHandle, and mLocalError.

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

+ Here is the caller graph for this function: