class ExternalEvaluator |
Safe wrapper around the ExternalEvaluatorImpl.
![]() | ExternalEvaluator () Constructor |
![]() | ~ExternalEvaluator () Destructor |
![]() | canHandleSystemAttribute (const string& attribute) Returns true if this evaluator knows how to handle the SYSTEM attribute specified in the argument. |
![]() | evaluateSystemAttribute (TokenType op, const AttributeInfo& attrInfo) Returns true if (attrInfogetAttribute() op attrInfogetValue()) |
![]() | canHandleExternalAttribute (const string& attribute) Returns true if this evaluator knows how to handle the EXT_AUTH attribute specified in the argument. |
![]() | evaluateExternalAttribute (TokenType op, const AttributeInfo& attrInfo) Returns true if (attrInfogetAttribute() op attrInfogetValue()) |
Safe wrapper around the ExternalEvaluatorImpl.* Usage: * * class MySpecialEvaluator : public ExternalEvaluatorImpl { * public: * * bool canHandleSystemAttribute(const string& attribute) { * return attribute == TIME; * } * * bool evaluateSystemAttribute(TokenType op, const AttributeInfo& attrInfo) { * string attribute = attrInfo.getAttribute(); * string value = attrInfo.getValue(); * bool ret = false; * * switch(op) { * case LT: * ... * case GT: * .... * } * * return ret; * } * }; * * // INSTALLING AN EVALUATOR. * * Evaluator mySpecialEvaluator(new MySpecialEvalutor); * AkentiEngine eng; * * eng.setExternalEvaluator(mySpecialEvaluator); * eng.checkAccess(...); *
Note: the engine will call this method only if
canHandleSystemAttribute
Note: the engine will call this method only if
canHandleHandleExternalAttribute
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.