virtual void format( const void* value, ostc_ObjectList* values, ostc_OperationResult* result ) =0;
Converts C++ objects that result from execute() into ostc_Objects.
value is the object being converted.
values is an initially empty list of ostc_Objects.
result is the operation result whose return values are being formatted.
The function should call ostc_ObjectList::addObject() to add to values the object or objects that result from converting value.
After execute() completes, the Component Server calls this function for each return value.
The Server calls this function within the same ObjectStore transaction in which execute() is performed (unless the operation result is incremental). You do not have to start a transaction explicitly in order to access persistent data within this function.
Your implementation of format() must be reentrant. That is, you are responsible for synchronizing access to any transient state that could be shared across Server threads. In addition, for operations that use shared_update transactions, you must synchronize access to persistent data if that is necessary to prevent interference among threads.