P6R::p6IRuleSets Interface Reference

This interface allows that caller to extract out the currently compiled set of rules in the rule engine or to load a new set of compiled rules. More...

#include <p6rulesets.h>

Inherits P6R::p6ICom.

List of all members.

Public Member Functions

virtual P6R::P6INT32 addref ()=0
 This method increases the reference count of the component instance by one.
virtual P6R::P6ERR getRules (p6IRuleCompiled **pRules)=0
 Extract the current compiled rule set sitting in the rule engine component.
virtual P6R::P6ERR queryInterface (const P6R::IID &iid, P6R::P6VOID **ppIface)=0
 This method queries the component for a specific interface.
virtual P6R::P6INT32 release ()=0
 This method decrements a components reference count.
virtual P6R::P6ERR setRules (p6IRuleCompiled *pRules)=0
 Set the rule engine component with a compiled rule set object.

Detailed Description

This interface allows that caller to extract out the currently compiled set of rules in the rule engine or to load a new set of compiled rules.

The rule engine is used both to compile XML rule sets into compiled objects and to evaluate (i.e., run) compiled rules.

Note that edits to the rule set can occur at any time after a set has been loaded into the rule engine. These changes will effect all running instances of the rule engine loaded with the same set.

Definition at line 33 of file p6rulesets.h.


The documentation for this interface was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.