Application :: cacheOutput - System output cache
The system output cache property indicates, whether system output messages are written to application/console or cached. The output message cache may be obtained by calling outputCache().
The value is true when the function was executed successfully. Otherwise the value is set to false.
Implementation overview
- Get output chache state
Application :: cacheOutput (  ) - Enable/disable system output cache
Application :: cacheOutput ( bCache )
Implementation details
-
Get output chache state
bool Application  :: cacheOutput (  )
The function returns, whether system messages are cached or not.
to list
-
Enable/disable system output cache
bool Application  :: cacheOutput ( bool bCache )
In order to suppress output messages and collecting those in a output cache, true should be passed in bCache. In order to re-activate system output, false has to be passed. When reactivating system output, the output cache will be cleared. In order to obtain output cache content, outputCache() may be called before.
Cached output is not written automatically to application output area, but has to be written explicitly.
cacheOutput(true);
... do something and collect messages
output(outputCache(); // write output
cacheOutput(false);
- bCache - Cache option
to list

