virtual P6R::P6ERR P6R::p6IRuleEngine::initialize ( P6RULEFLAGS  flags,
p6IDataStream pErrorResult 
) [pure virtual]

Sets up the component to run properly.

Parameters:
flags [IN] Set perferences for the new object. These preferences are fixed during the lifetime of the object. Note that using the P6RULE_USEJSON flag will make the Rule Engine expect that the stated fact tree input is encoded in JSON rather than XML (which is the default).
pErrorResult [IN] Stream to output parsing errors to during the life time of the component (e.g., during calls to startFacts(), continueFacts()).
Returns:
SuccessP6R::eOk 
FailureP6R::eNoMemoryInsuffficient memory to properly initialize the component
P6R::eAlreadyInitializedCan only be called once successfully.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.