Declaration (see MVector.h):
void setError(bool err);
Raises or lowers the error flag for this collection.
The new value for the error flag.
If err is true, then the error flag is raised, otherwise it is lowered.
$setError(true) is called automatically by collections in case of an error. setError(false) can be called by reset, operator=, copy constructor, or swapWith. This function is needed mostly for internal use. However, one possible need for it is to lower the error flag to give the collection a "fresh start" while keeping the data.
Let us know
Please Contact us to report any errors on this page, or to suggest any improvements.