virtual P6R::P6ERR P6R::p6IRuleEngine::outputStatistics ( p6IDataStream pResult  )  [pure virtual]

If the P6RULE_KEEPSTATS flag was set in the initialize() method, then this method provides a means to extract the statistics that have beeen keep in rule execution.

The statistics are output to the provided data stream in XML format.

Parameters:
pResult [IN] Stream to output the inferred facts.
Returns:
SuccessP6R::eOk 
FailureP6R::eNotInitializedA successful call to initialize was not made before this call.
P6R::eNotFoundStatistics was not turned on in the initialize() call.
P6R::eInvalidArgpResult is NULL.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.