# 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  

NLAISCRIPT::COperationTypeGD Class Reference

Class COperationTypeGD. More...

#include <type_def.h>

Inheritance diagram for NLAISCRIPT::COperationTypeGD:

NLAISCRIPT::IOpType NLAISCRIPT::IConstraint NLAIC::IPointerGestion NLMISC::IStreamable NLMISC::IClassable List of all members.

Public Methods

 COperationTypeGD (const COperationType &opG, const COperationType &opD, NLAIC::CTypeOfOperator::TTypeOp op)
 COperationTypeGD ()
virtual void serial (NLMISC::IStream &f) throw (NLMISC::EStream)
const char * getInfo ()
 Get a string info. More...

bool dependOn (const IConstraint *c) const
 If this constraint depond on other constraint. More...

void setOp (NLAIC::CTypeOfOperator::TTypeOp op)
void setOperationG (IOpType *opG)
void setOperationD (IOpType *opD)
const IConstraintclone () const
 Get a clone pointer memory. More...

virtual void run (CCompilateur &c)
 Run with a CCompilateur dependency. More...

void run (IConstraint *c)
 Run with a IConstraint dependency. More...

const NLAIC::CIdentTypegetConstraintTypeOf ()
 Type of the expression that it have to be resolve by constraint. More...

bool satisfied ()
 If the constraint is resolved. More...

bool operator== (const IConstraint &c) const
virtual ConstraintTypeEnum getTypeOfClass () const
 get the type of class. the type must be in the ConstraintTypeEnum enumeration. More...

virtual ~COperationTypeGD ()

Private Attributes

IOpType_OpG
 Right oprand. More...

IOpType_OpD
NLAIC::CTypeOfOperator::TTypeOp _Op
 Operation type. More...

char * _TxtInfo
NLAIC::CIdentType_Id

Detailed Description

Class COperationTypeGD.

This class define an unknow opertation type. For exemple to know the type of the expression (a + b).

Author:
Chafik sameh , Nevrax France
Date:
2000

Definition at line 697 of file type_def.h.


Constructor & Destructor Documentation

NLAISCRIPT::COperationTypeGD::COperationTypeGD const COperationType   opG,
const COperationType   opD,
NLAIC::CTypeOfOperator::TTypeOp    op
[inline]
 

Definition at line 709 of file type_def.h.

References _Op, _TxtInfo, clone, NLAISCRIPT::IOpType::IOpType, and NLAIC::CTypeOfOperator::TTypeOp.

Referenced by operator==.

NLAISCRIPT::COperationTypeGD::COperationTypeGD   [inline]
 

Definition at line 721 of file type_def.h.

References _Op, and _TxtInfo.

Referenced by clone.

virtual NLAISCRIPT::COperationTypeGD::~COperationTypeGD   [inline, virtual]
 

Definition at line 815 of file type_def.h.

References _TxtInfo.


Member Function Documentation

const IConstraint* NLAISCRIPT::COperationTypeGD::clone   const [inline, virtual]
 

Get a clone pointer memory.

Implements NLAISCRIPT::IConstraint.

Definition at line 772 of file type_def.h.

References _Op, COperationTypeGD, NLAISCRIPT::IConstraint::IConstraint, and x.

Referenced by COperationTypeGD.

bool NLAISCRIPT::COperationTypeGD::dependOn const IConstraint   c const [inline, virtual]
 

If this constraint depond on other constraint.

Implements NLAISCRIPT::IConstraint.

Definition at line 751 of file type_def.h.

References NLAISCRIPT::IConstraint::IConstraint.

const NLAIC::CIdentType* NLAISCRIPT::COperationTypeGD::getConstraintTypeOf   [inline, virtual]
 

Type of the expression that it have to be resolve by constraint.

Implements NLAISCRIPT::IConstraint.

Definition at line 791 of file type_def.h.

References satisfied.

Referenced by run.

const char* NLAISCRIPT::COperationTypeGD::getInfo   [inline, virtual]
 

Get a string info.

Implements NLAISCRIPT::IConstraint.

Definition at line 739 of file type_def.h.

References _TxtInfo.

virtual ConstraintTypeEnum NLAISCRIPT::COperationTypeGD::getTypeOfClass   const [inline, virtual]
 

get the type of class. the type must be in the ConstraintTypeEnum enumeration.

Implements NLAISCRIPT::IConstraint.

Definition at line 810 of file type_def.h.

References NLAISCRIPT::IConstraint::ConstraintTypeEnum, and NLAISCRIPT::IConstraint::operationTypeGD.

Referenced by operator==.

bool NLAISCRIPT::COperationTypeGD::operator== const IConstraint   c const [inline, virtual]
 

Implements NLAISCRIPT::IConstraint.

Definition at line 800 of file type_def.h.

References COperationTypeGD, getTypeOfClass, and NLAISCRIPT::IConstraint::IConstraint.

void NLAISCRIPT::COperationTypeGD::run IConstraint   c [inline, virtual]
 

Run with a IConstraint dependency.

Reimplemented from NLAISCRIPT::IOpType.

Definition at line 787 of file type_def.h.

References NLAISCRIPT::IConstraint::IConstraint.

virtual void NLAISCRIPT::COperationTypeGD::run CCompilateur   c [inline, virtual]
 

Run with a CCompilateur dependency.

Reimplemented from NLAISCRIPT::IOpType.

Definition at line 778 of file type_def.h.

References getConstraintTypeOf.

bool NLAISCRIPT::COperationTypeGD::satisfied   [virtual]
 

If the constraint is resolved.

Implements NLAISCRIPT::IConstraint.

Definition at line 98 of file type_def.cpp.

References _Op, _OpD, _OpG, id, NLAIC::CTypeOfOperator::opAff, and NLAIC::CTypeOfObject::tInterpret.

Referenced by getConstraintTypeOf.

virtual void NLAISCRIPT::COperationTypeGD::serial NLMISC::IStream   f throw (NLMISC::EStream) [inline, virtual]
 

Reimplemented from NLAIC::IPointerGestion.

Definition at line 729 of file type_def.h.

void NLAISCRIPT::COperationTypeGD::setOp NLAIC::CTypeOfOperator::TTypeOp    op [inline]
 

Definition at line 756 of file type_def.h.

References _Op, and NLAIC::CTypeOfOperator::TTypeOp.

void NLAISCRIPT::COperationTypeGD::setOperationD IOpType   opD [inline]
 

Definition at line 767 of file type_def.h.

References NLAISCRIPT::IOpType::IOpType.

void NLAISCRIPT::COperationTypeGD::setOperationG IOpType   opG [inline]
 

Definition at line 761 of file type_def.h.

References NLAISCRIPT::IOpType::IOpType.


Member Data Documentation

NLAIC::CIdentType* NLAISCRIPT::COperationTypeGD::_Id [private]
 

Definition at line 707 of file type_def.h.

NLAIC::CTypeOfOperator::TTypeOp NLAISCRIPT::COperationTypeGD::_Op [private]
 

Operation type.

Definition at line 705 of file type_def.h.

Referenced by clone, COperationTypeGD, satisfied, and setOp.

IOpType* NLAISCRIPT::COperationTypeGD::_OpD [private]
 

Definition at line 703 of file type_def.h.

Referenced by satisfied.

IOpType* NLAISCRIPT::COperationTypeGD::_OpG [private]
 

Right oprand.

Definition at line 701 of file type_def.h.

Referenced by satisfied.

char* NLAISCRIPT::COperationTypeGD::_TxtInfo [private]
 

Definition at line 706 of file type_def.h.

Referenced by COperationTypeGD, getInfo, and ~COperationTypeGD.


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