Overview
![]() ![]() ![]() ![]() |
|
|
Flush the object to the storage medium. After creating an object with IStoredClass::AddObject() and adding some values to the new object, calling Flush() makes to object operational. Before doing the initial Flush(), an object cannot be used with GetValue() or SetValue(), nor the index returned by GetIndex() has to have a meaning nor can the object be used as the content for reference variable. In fact, all you can do is AddValue() and Flush().
After the initial call, Flush() has to be reapplied to make changes made with SetValue() valid and visible to other clients of the same object. Flush() may create activity on the storage medium. The _KeepData flag advises the IStoredObject wether or not to free the internal content. If the content is released, GetValue() will always return 'false' until Refresh() is called to reload an object. If _KeepData is 'true', the object stays fully operational.