# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
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 Reference

This is an abstract class to put on the defintion of an operator. More...

#include <agent_operator.h>

Inheritance diagram for NLAIAGENT::IObjetOp:

NLAIAGENT::IObjectIA NLAIAGENT::IBasicObjectIA NLAIC::IBasicInterface NLAIC::IBasicType NLAIC::IPointerGestion NLMISC::IStreamable NLMISC::IClassable NLAIAGENT::CAgentOperation NLAIAGENT::CPairType NLAIAGENT::CStringType NLAIAGENT::IBaseGroupType NLAIAGENT::INombreDefine NLAIAGENT::IVector NLAIFUZZY::CFuzzyFact NLAILOGIC::CFactBase NLAILOGIC::CValueSet NLAILOGIC::IBaseAssert NLAILOGIC::IBaseBoolType NLAILOGIC::IBaseVar NLAISCRIPT::CVarPStack NLAISCRIPT::CVarPStackParam 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 * getNeg () const
virtual IObjetOp & operator+= (IObjetOp *a)
 throw (NLAIE::CExceptionNotImplemented). More...

virtual IObjetOp & operator-= (IObjetOp *a)
 throw (NLAIE::CExceptionNotImplemented). More...

virtual IObjetOp & operator *= (IObjetOp *a)
 throw (NLAIE::CExceptionNotImplemented). More...

virtual IObjetOp & operator/= (IObjetOp *a)
 throw (NLAIE::CExceptionNotImplemented). More...

virtual IObjetOp * operator+ (IObjetOp *a)
 throw (NLAIE::CExceptionNotImplemented). More...

virtual IObjetOp * operator- (IObjetOp *a)
 throw (NLAIE::CExceptionNotImplemented). More...

virtual IObjetOp * operator * (IObjetOp *a)
 throw (NLAIE::CExceptionNotImplemented). More...

virtual IObjetOp * operator/ (IObjetOp *a)
 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...

IObjectIA base class method;
virtual tQueue IObjetOp::isMember (const IVarName *, const IVarName *, const IObjectIA &) const
virtual CProcessResult IObjetOp::runMethodeMember (sint32 index, IObjectIA *)
virtual sint32 getMethodIndexSize () const
 getMethodIndexSize define the nomber of method define in the class. More...

virtual IObjetOp & operator+= (const IObjetOp &)
 add the operater by anather. 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 &)
 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 &)
 throw (NLAIE::CExceptionNotImplemented). 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:
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]
 

Definition at line 71 of file agent_operator.h.

Referenced by NLAILOGIC::CFirstOrderAssert::backward, NLAISCRIPT::CVarPStack::CVarPStack, NLAISCRIPT::CVarPStackParam::CVarPStackParam, NLAILOGIC::CFirstOrderAssert::getFacts, getNeg, NLAIAGENT::CAgentOperation::getsetValue, NLAILOGIC::CVarSet::getValues, NLAIAGENT::IBaseGroupType::IBaseGroupType, NLAIAGENT::INombreDefine::INombreDefine, IObjetOp, NLAIAGENT::CAgentOperation::isEqual, NLAIAGENT::INombre< sint32 >::isEqual, NLAIAGENT::IVector::isEqual, NLAIAGENT::IVector::IVector, NLAIAGENT::CVectorGroupType::neg, NLAIAGENT::CGroupType::neg, neg, NLAIAGENT::UInt64Type::neg, NLAIAGENT::UInt32Type::neg, NLAIAGENT::UInt16Type::neg, NLAIAGENT::UInt8Type::neg, NLAIAGENT::CharType::neg, NLAIAGENT::ShortIntegerType::neg, NLAIAGENT::IntegerType::neg, NLAIAGENT::BorneDDigitalType::neg, NLAIAGENT::DDigitalType::neg, NLAIAGENT::BorneDigitalType::neg, NLAIAGENT::DigitalType::neg, operator *, NLAIAGENT::INombre< sint32 >::operator *, operator *=, NLAIAGENT::INombre< sint32 >::operator *=, operator!, NLAIAGENT::INombre< sint32 >::operator!, operator!=, NLAIAGENT::INombre< sint32 >::operator!=, NLAIAGENT::IVector::operator!=, NLAIAGENT::CVectorGroupType::operator+, NLAIAGENT::CGroupType::operator+, operator+, NLAIAGENT::INombre< sint32 >::operator+, NLAIAGENT::IVector::operator+, operator+=, NLAIAGENT::INombre< sint32 >::operator+=, NLAIAGENT::IVector::operator+=, NLAIAGENT::CVectorGroupType::operator-, NLAIAGENT::CGroupType::operator-, operator-, NLAIAGENT::INombre< sint32 >::operator-, NLAIAGENT::IVector::operator-, operator-=, NLAIAGENT::INombre< sint32 >::operator-=, NLAIAGENT::IVector::operator-=, operator/, NLAIAGENT::INombre< sint32 >::operator/, operator/=, NLAIAGENT::INombre< sint32 >::operator/=, operator<, NLAIAGENT::INombre< sint32 >::operator<, operator<=, NLAIAGENT::INombre< sint32 >::operator<=, operator==, NLAIAGENT::INombre< sint32 >::operator==, NLAIAGENT::IVector::operator==, operator>, NLAIAGENT::INombre< sint32 >::operator>, operator>=, NLAIAGENT::INombre< sint32 >::operator>=, NLAILOGIC::CFirstOrderAssert::removeFact, NLAIAGENT::CAgentOperation::runMethodBase, NLAILOGIC::IBaseVar::runMethodeMember, NLAIAGENT::CAgentOperation::runTell, NLAIAGENT::CAgentOperation::setValue, and NLAILOGIC::CVar::unify.

NLAIAGENT::IObjetOp::IObjetOp const IObjetOp &    a [inline]
 

Definition at line 75 of file agent_operator.h.

References NLAIAGENT::IObjectIA::IObjectIA, and IObjetOp.

virtual NLAIAGENT::IObjetOp::~IObjetOp   [inline, virtual]
 

throw (NLAIE::CExceptionNotImplemented) = 0.

Definition at line 270 of file agent_operator.h.


Member Function Documentation

sint32 NLAIAGENT::IObjetOp::getMethodIndexSize   const [virtual]
 

getMethodIndexSize define the nomber of method define in the class.

Reimplemented from NLAIAGENT::IObjectIA.

Reimplemented in NLAIAGENT::IVector.

Definition at line 93 of file agent_operator.cpp.

References op_last.

virtual IObjetOp* NLAIAGENT::IObjetOp::getNeg   const [inline, virtual]
 

Definition at line 165 of file agent_operator.h.

References NLAIC::IBasicType::clone, and IObjetOp.

Referenced by NLAISCRIPT::CNegOpCode::runOpCode.

virtual tQueue NLAIAGENT::IObjetOp::IObjetOp::isMember const IVarName  ,
const IVarName  ,
const IObjectIA  
const [virtual]
 

Referenced by NLAILOGIC::IBaseVar::isMember, NLAIAGENT::CPairType::isMember, NLAIAGENT::IBaseGroupType::isMember, and NLAIAGENT::IVector::isMember.

virtual CProcessResult NLAIAGENT::IObjetOp::IObjetOp::runMethodeMember sint32    index,
IObjectIA  
[virtual]
 

Referenced by NLAILOGIC::IBaseVar::runMethodeMember, and NLAIAGENT::IVector::runMethodeMember.

bool NLAIAGENT::IObjetOp::isTrue   const [inline, pure virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Implemented in NLAIAGENT::IVector.

Definition at line 275 of file agent_operator.h.

References NLAIC::stringGetBuild.

Referenced by NLAISCRIPT::COperatorClass::isValidFonc, and NLAISCRIPT::CJFalseOpCode::runOpCode.

virtual IObjetOp& NLAIAGENT::IObjetOp::neg   [inline, virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented in NLAIAGENT::DigitalType.

Definition at line 101 of file agent_operator.h.

References NLAIC::IBasicType::getType, IObjetOp, and NLAIC::stringGetBuild.

Referenced by NLAISCRIPT::CVarPStackParam::neg, and NLAISCRIPT::CVarPStack::neg.

virtual IObjetOp* NLAIAGENT::IObjetOp::operator * IObjetOp *    a [inline, virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Definition at line 202 of file agent_operator.h.

References IObjetOp.

virtual IObjetOp* NLAIAGENT::IObjetOp::operator * const IObjetOp &    [inline, virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented in NLAIAGENT::INombre.

Definition at line 147 of file agent_operator.h.

References NLAIC::IBasicType::getType, IObjetOp, and NLAIC::stringGetBuild.

virtual IObjetOp& NLAIAGENT::IObjetOp::operator *= IObjetOp *    a [inline, virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Definition at line 182 of file agent_operator.h.

References IObjetOp.

virtual IObjetOp& NLAIAGENT::IObjetOp::operator *= const IObjetOp &    [inline, virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented in NLAIAGENT::INombre.

Definition at line 110 of file agent_operator.h.

References NLAIC::IBasicType::getType, IObjetOp, and NLAIC::stringGetBuild.

virtual IObjetOp* NLAIAGENT::IObjetOp::operator!   const [inline, virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented in NLAIAGENT::INombre.

Definition at line 245 of file agent_operator.h.

References NLAIC::IBasicType::getType, IObjetOp, and NLAIC::stringGetBuild.

virtual IObjetOp* NLAIAGENT::IObjetOp::operator!= IObjetOp &    const [inline, virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented in NLAIAGENT::IVector.

Definition at line 252 of file agent_operator.h.

References NLAIC::IBasicType::getType, IObjetOp, and NLAIC::stringGetBuild.

virtual IObjetOp* NLAIAGENT::IObjetOp::operator+ IObjetOp *    a [inline, virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented in NLAIAGENT::CGroupType.

Definition at line 193 of file agent_operator.h.

References IObjetOp.

virtual IObjetOp* NLAIAGENT::IObjetOp::operator+ const IObjetOp &    [inline, virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented in NLAIAGENT::IVector.

Definition at line 131 of file agent_operator.h.

References NLAIC::IBasicType::getType, IObjetOp, and NLAIC::stringGetBuild.

virtual IObjetOp& NLAIAGENT::IObjetOp::operator+= IObjetOp *    a [inline, virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented in NLAIAGENT::IBaseGroupType.

Definition at line 173 of file agent_operator.h.

References IObjetOp.

virtual IObjetOp& NLAIAGENT::IObjetOp::operator+= const IObjetOp &    [inline, virtual]
 

add the operater by anather.

Reimplemented in NLAIAGENT::IVector.

Definition at line 83 of file agent_operator.h.

References NLAIC::IBasicType::getType, IObjetOp, and NLAIC::stringGetBuild.

virtual IObjetOp* NLAIAGENT::IObjetOp::operator- IObjetOp *    a [inline, virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented in NLAIAGENT::CGroupType.

Definition at line 197 of file agent_operator.h.

References IObjetOp.

virtual IObjetOp* NLAIAGENT::IObjetOp::operator- const IObjetOp &    [inline, virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented in NLAIAGENT::IVector.

Definition at line 139 of file agent_operator.h.

References NLAIC::IBasicType::getType, IObjetOp, and NLAIC::stringGetBuild.

virtual IObjetOp& NLAIAGENT::IObjetOp::operator-= IObjetOp *    a [inline, virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented in NLAIAGENT::IBaseGroupType.

Definition at line 177 of file agent_operator.h.

References IObjetOp.

virtual IObjetOp& NLAIAGENT::IObjetOp::operator-= const IObjetOp &    [inline, virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented in NLAIAGENT::IVector.

Definition at line 92 of file agent_operator.h.

References NLAIC::IBasicType::getType, IObjetOp, and NLAIC::stringGetBuild.

virtual IObjetOp* NLAIAGENT::IObjetOp::operator/ IObjetOp *    a [inline, virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Definition at line 207 of file agent_operator.h.

References IObjetOp.

virtual IObjetOp* NLAIAGENT::IObjetOp::operator/ const IObjetOp &    [inline, virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented in NLAIAGENT::INombre.

Definition at line 155 of file agent_operator.h.

References NLAIC::IBasicType::getType, IObjetOp, and NLAIC::stringGetBuild.

virtual IObjetOp& NLAIAGENT::IObjetOp::operator/= IObjetOp *    a [inline, virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Definition at line 187 of file agent_operator.h.

References IObjetOp.

virtual IObjetOp& NLAIAGENT::IObjetOp::operator/= const IObjetOp &    [inline, virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented in NLAIAGENT::INombre.

Definition at line 119 of file agent_operator.h.

References NLAIC::IBasicType::getType, IObjetOp, and NLAIC::stringGetBuild.

virtual IObjetOp* NLAIAGENT::IObjetOp::operator< IObjetOp &    const [inline, virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented in NLAIAGENT::INombre.

Definition at line 213 of file agent_operator.h.

References NLAIC::IBasicType::getType, IObjetOp, and NLAIC::stringGetBuild.

virtual IObjetOp* NLAIAGENT::IObjetOp::operator<= IObjetOp &    const [inline, virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented in NLAIAGENT::INombre.

Definition at line 229 of file agent_operator.h.

References NLAIC::IBasicType::getType, IObjetOp, and NLAIC::stringGetBuild.

virtual IObjetOp* NLAIAGENT::IObjetOp::operator== IObjetOp &    const [inline, virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented in NLAIAGENT::IVector.

Definition at line 260 of file agent_operator.h.

References NLAIC::IBasicType::getType, IObjetOp, and NLAIC::stringGetBuild.

virtual IObjetOp* NLAIAGENT::IObjetOp::operator> IObjetOp &    const [inline, virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented in NLAIAGENT::INombre.

Definition at line 221 of file agent_operator.h.

References NLAIC::IBasicType::getType, IObjetOp, and NLAIC::stringGetBuild.

virtual IObjetOp* NLAIAGENT::IObjetOp::operator>= IObjetOp &    const [inline, virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented in NLAIAGENT::INombre.

Definition at line 237 of file agent_operator.h.

References NLAIC::IBasicType::getType, IObjetOp, and NLAIC::stringGetBuild.


The documentation for this class was generated from the following files: