|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLAIAGENT::IObjetOp Class ReferenceThis is an abstract class to put on the defintion of an operator.
More...
#include <agent_operator.h>
Inheritance diagram for NLAIAGENT::IObjetOp
[legend]Collaboration diagram for NLAIAGENT::IObjetOp:
[legend]List of all members.
Public Types |
enum | TOpId {
op_add,
op_sub,
op_mul,
op_div,
op_eq,
op_inf,
op_sup,
op_inf_eq,
op_sup_eq,
op_not,
op_diff,
op_neg,
op_last
} |
Public Methods |
| IObjetOp () |
| IObjetOp (const IObjetOp &a) |
virtual IObjetOp& | operator+= (const IObjetOp &) |
| throw (NLAIE::CExceptionNotImplemented). More...
|
virtual IObjetOp& | operator-= (const IObjetOp &) |
| throw (NLAIE::CExceptionNotImplemented). More...
|
virtual IObjetOp& | neg () |
| throw (NLAIE::CExceptionNotImplemented). More...
|
virtual IObjetOp& | operator *= (const IObjetOp &) |
| throw (NLAIE::CExceptionNotImplemented). More...
|
virtual IObjetOp& | operator/= (const IObjetOp &) |
| throw (NLAIE::CExceptionNotImplemented). More...
|
virtual IObjetOp* | operator+ (const IObjetOp &) const |
| throw (NLAIE::CExceptionNotImplemented). More...
|
virtual IObjetOp* | operator- (const IObjetOp &) const |
| throw (NLAIE::CExceptionNotImplemented). More...
|
virtual const IObjetOp* | operator * (const IObjetOp &) const |
| throw (NLAIE::CExceptionNotImplemented). More...
|
virtual const IObjetOp* | operator/ (const IObjetOp &) const |
| throw (NLAIE::CExceptionNotImplemented). More...
|
virtual IObjetOp* | operator< (IObjetOp &) const |
| throw (NLAIE::CExceptionNotImplemented). More...
|
virtual IObjetOp* | operator> (IObjetOp &) const |
| throw (NLAIE::CExceptionNotImplemented). More...
|
virtual IObjetOp* | operator<= (IObjetOp &) const |
| throw (NLAIE::CExceptionNotImplemented). More...
|
virtual IObjetOp* | operator>= (IObjetOp &) const |
| throw (NLAIE::CExceptionNotImplemented). More...
|
virtual IObjetOp* | operator! () const |
| throw (NLAIE::CExceptionNotImplemented). More...
|
virtual IObjetOp* | operator!= (IObjetOp &) const |
| throw (NLAIE::CExceptionNotImplemented). More...
|
virtual IObjetOp* | operator== (IObjetOp &) const |
| throw (NLAIE::CExceptionNotImplemented). More...
|
virtual bool | isTrue () const = 0 |
| throw (NLAIE::CExceptionNotImplemented). More...
|
virtual | ~IObjetOp () |
| throw (NLAIE::CExceptionNotImplemented) = 0. More...
|
|
tQueue | isMember (const IVarName *,const IVarName *,const IObjectIA &) const |
| The method isMember(nameSubClass,methodName,param) return the best method correspondent to the search. More...
|
CProcessResult | runMethodeMember (sint32 index, IObjectIA *) |
| The methode runMethodeMember(sint32 index,IObjectIA *param) allow us to run a own member method. More...
|
virtual sint32 | getMethodIndexSize () const |
| getMethodIndexSize define the nomber of external method. More...
|
Detailed Description
This is an abstract class to put on the defintion of an operator.
Not that an operator here is an object where we can add, sub, mul, dive it with an ather, and also the object assum all binary operation.
-
Author(s):
-
Chafik sameh , Portier Pierre , Nevrax France
-
Date:
-
2000
Definition at line 43 of file agent_operator.h.
Member Enumeration Documentation
enum NLAIAGENT::IObjetOp::TOpId
|
|
|
-
Enumeration values:
-
op_add
|
|
op_sub
|
|
op_mul
|
|
op_div
|
|
op_eq
|
|
op_inf
|
|
op_sup
|
|
op_inf_eq
|
|
op_sup_eq
|
|
op_not
|
|
op_diff
|
|
op_neg
|
|
op_last
|
|
Definition at line 46 of file agent_operator.h. |
Constructor & Destructor Documentation
NLAIAGENT::IObjetOp::IObjetOp (
|
) [inline]
|
|
NLAIAGENT::IObjetOp::IObjetOp (
|
const IObjetOp & a ) [inline]
|
|
NLAIAGENT::IObjetOp::~IObjetOp (
|
) [inline, virtual]
|
|
Member Function Documentation
sint32 NLAIAGENT::IObjetOp::getMethodIndexSize (
|
) const [virtual]
|
|
|
The method isMember(nameSubClass,methodName,param) return the best method correspondent to the search.
remember we use the overloadind method.
NameSubClass: if this pointer is not NULL then NameSubClass is the name of the base class were the method are defined.
methodName: is the name of the class.
param: is an IObjectIA where it defined the parametre of the method. lot of method use a IObjectIA vector object with an NLAIC::CIdentType as the the template argm.
Reimplemented from NLAIAGENT::IObjectIA.
Reimplemented in NLAIAGENT::IVector, NLAIAGENT::INombreDefine, NLAIAGENT::IBaseGroupType, NLAIAGENT::CVectorGroupType, NLAIAGENT::IListBasicManager, NLAIAGENT::CMessageScript, NLAIAGENT::IMessageBase, NLAIAGENT::CSuccessMsg, NLAIAGENT::CFailureMsg, NLAIAGENT::CFactMsg, NLAIAGENT::CGoalMsg, NLAIAGENT::CCancelGoalMsg, and NLAIAGENT::COnChangeMsg.
Definition at line 32 of file agent_operator.cpp. |
bool NLAIAGENT::IObjetOp::isTrue (
|
) const [inline, pure virtual]
|
|
|
throw (NLAIE::CExceptionNotImplemented).
Reimplemented in NLAIAGENT::IVector, NLAIAGENT::INombre, NLAIAGENT::CStringType, NLAIAGENT::IBaseGroupType, NLAIAGENT::IListBasicManager, NLAIFUZZY::CFuzzyFact, NLAIFUZZY::CFuzzyRule, NLAIFUZZY::FuzzyType, NLAIFUZZY::CFuzzyVar, NLAILOGIC::CBoolAssert, NLAILOGIC::CBoolOperator, NLAILOGIC::CBoolType, NLAILOGIC::CClause, NLAILOGIC::CFactBase, NLAILOGIC::CFirstOrderAssert, NLAILOGIC::CFirstOrderOperator, NLAILOGIC::CGoal, NLAILOGIC::CValueSet, NLAILOGIC::CVar, NLAILOGIC::CVarSet, NLAISCRIPT::CVarPStack, and NLAISCRIPT::CVarPStackParam.
Definition at line 213 of file agent_operator.h.
Referenced by NLAISCRIPT::CJFalseOpCode::runOpCode(). |
IObjetOp & NLAIAGENT::IObjetOp::neg (
|
) [inline, virtual]
|
|
const IObjetOp * NLAIAGENT::IObjetOp::operator * (
|
const IObjetOp & a ) const [inline, virtual]
|
|
IObjetOp & NLAIAGENT::IObjetOp::operator *= (
|
const IObjetOp & a ) [inline, virtual]
|
|
IObjetOp * NLAIAGENT::IObjetOp::operator! (
|
) const [inline, virtual]
|
|
|
throw (NLAIE::CExceptionNotImplemented).
Reimplemented in NLAIAGENT::INombre, NLAIAGENT::IBaseGroupType, NLAIAGENT::CGroupType, NLAIAGENT::CVectorGroupType, NLAIAGENT::IListBasicManager, NLAIFUZZY::FuzzyType, NLAILOGIC::CBoolType, NLAILOGIC::CClause, NLAILOGIC::CValueSet, NLAILOGIC::CVarSet, NLAISCRIPT::CVarPStack, and NLAISCRIPT::CVarPStackParam.
Definition at line 183 of file agent_operator.h. |
IObjetOp * NLAIAGENT::IObjetOp::operator!= (
|
IObjetOp & a ) const [inline, virtual]
|
|
IObjetOp * NLAIAGENT::IObjetOp::operator+ (
|
const IObjetOp & a ) const [inline, virtual]
|
|
IObjetOp & NLAIAGENT::IObjetOp::operator+= (
|
const IObjetOp & a ) [inline, virtual]
|
|
IObjetOp * NLAIAGENT::IObjetOp::operator- (
|
const IObjetOp & a ) const [inline, virtual]
|
|
IObjetOp & NLAIAGENT::IObjetOp::operator-= (
|
const IObjetOp & a ) [inline, virtual]
|
|
const IObjetOp * NLAIAGENT::IObjetOp::operator/ (
|
const IObjetOp & a ) const [inline, virtual]
|
|
IObjetOp & NLAIAGENT::IObjetOp::operator/= (
|
const IObjetOp & a ) [inline, virtual]
|
|
IObjetOp * NLAIAGENT::IObjetOp::operator< (
|
IObjetOp & a ) const [inline, virtual]
|
|
IObjetOp * NLAIAGENT::IObjetOp::operator<= (
|
IObjetOp & a ) const [inline, virtual]
|
|
IObjetOp * NLAIAGENT::IObjetOp::operator== (
|
IObjetOp & a ) const [inline, virtual]
|
|
|
throw (NLAIE::CExceptionNotImplemented).
Reimplemented in NLAIAGENT::IVector, NLAIAGENT::INombre, NLAIFUZZY::CFuzzyRule, NLAIFUZZY::FuzzyType, NLAIFUZZY::CFuzzyVar, NLAILOGIC::CBoolType, NLAILOGIC::CClause, NLAILOGIC::CValueSet, NLAILOGIC::CVar, NLAISCRIPT::CVarPStack, and NLAISCRIPT::CVarPStackParam.
Definition at line 198 of file agent_operator.h. |
IObjetOp * NLAIAGENT::IObjetOp::operator> (
|
IObjetOp & a ) const [inline, virtual]
|
|
IObjetOp * NLAIAGENT::IObjetOp::operator>= (
|
IObjetOp & a ) const [inline, virtual]
|
|
|
The methode runMethodeMember(sint32 index,IObjectIA *param) allow us to run a own member method.
index: is the method id return by the isMember(const IVarName *,const IVarName *,const IObjectIA &) const method. param: is the parametre for the method.
Reimplemented from NLAIAGENT::IObjectIA.
Reimplemented in NLAIAGENT::IVector, NLAIAGENT::INombre, NLAIAGENT::IBaseGroupType, NLAIAGENT::CVectorGroupType, NLAIAGENT::IListBasicManager, NLAIAGENT::CMessageScript, NLAIAGENT::IMessageBase, NLAIAGENT::CSuccessMsg, NLAIAGENT::CFailureMsg, NLAIAGENT::CFactMsg, NLAIAGENT::CGoalMsg, NLAIAGENT::CCancelGoalMsg, NLAIAGENT::COnChangeMsg, NLAIFUZZY::CFuzzyVar, NLAILOGIC::CGoal, and NLAILOGIC::IBaseVar.
Definition at line 99 of file agent_operator.cpp. |
The documentation for this class was generated from the following files:
|
|