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

◆ updateState()

void fl::ofstream::updateState ( )
inlineprivate

Definition at line 215 of file fstream.h.

215 {
216 if (mHandle && mHandle->is_open()) {
217 mEof = mHandle->is_eof();
218 mFail = mHandle->has_error() || (mLocalError != 0);
219 mGood = !mEof && !mFail;
220 } else {
221 mGood = false;
222 mEof = false;
223 mFail = true;
224 }
225 }
int mLocalError
Definition fstream.h:213
filebuf_ptr mHandle
Definition fstream.h:209

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

Referenced by ofstream(), clear_error(), close(), open(), and write().

+ Here is the caller graph for this function: