# 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::COperationType Class Reference

Class COperationType. More...

#include <type_def.h>

Inheritance diagram for NLAISCRIPT::COperationType:

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

Public Methods

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

void setOp (NLAIC::CTypeOfOperator::TTypeOp op)
void setOperand (IOpType *operand)
bool dependOn (const IConstraint *c) const
 If this constraint depond on other constraint. 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...

const IConstraintclone () const
 Get a clone pointer memory. 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 ~COperationType ()

Private Attributes

IOpType_Operand
 Type of the operand. More...

NLAIC::CTypeOfOperator::TTypeOp _Op
 Type of operation. More...

char * _TxtInfo
NLAIC::CIdentType_Id

Detailed Description

Class COperationType.

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

Author:
Chafik sameh , Nevrax France
Date:
2000

Definition at line 577 of file type_def.h.


Constructor & Destructor Documentation

NLAISCRIPT::COperationType::COperationType const IOpType   operand,
NLAIC::CTypeOfOperator::TTypeOp    op
[inline]
 

Definition at line 587 of file type_def.h.

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

Referenced by clone, and operator==.

NLAISCRIPT::COperationType::COperationType   [inline]
 

Definition at line 599 of file type_def.h.

References _Op.

Referenced by clone.

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

Definition at line 681 of file type_def.h.

References _TxtInfo.


Member Function Documentation

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

Get a clone pointer memory.

Implements NLAISCRIPT::IConstraint.

Definition at line 660 of file type_def.h.

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

Referenced by COperationType.

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

If this constraint depond on other constraint.

Implements NLAISCRIPT::IConstraint.

Definition at line 633 of file type_def.h.

References NLAISCRIPT::IConstraint::IConstraint.

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

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

Implements NLAISCRIPT::IConstraint.

Definition at line 649 of file type_def.h.

Referenced by run, and satisfied.

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

Get a string info.

Implements NLAISCRIPT::IConstraint.

Definition at line 614 of file type_def.h.

References _TxtInfo.

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

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

Implements NLAISCRIPT::IConstraint.

Definition at line 676 of file type_def.h.

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

Referenced by operator==.

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

Implements NLAISCRIPT::IConstraint.

Definition at line 667 of file type_def.h.

References _Op, COperationType, getTypeOfClass, and NLAISCRIPT::IConstraint::IConstraint.

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

Run with a IConstraint dependency.

Reimplemented from NLAISCRIPT::IOpType.

Definition at line 645 of file type_def.h.

References NLAISCRIPT::IConstraint::IConstraint.

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

Run with a CCompilateur dependency.

Reimplemented from NLAISCRIPT::IOpType.

Definition at line 638 of file type_def.h.

References getConstraintTypeOf.

bool NLAISCRIPT::COperationType::satisfied   [inline, virtual]
 

If the constraint is resolved.

Implements NLAISCRIPT::IConstraint.

Definition at line 655 of file type_def.h.

References getConstraintTypeOf.

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

Reimplemented from NLAIC::IPointerGestion.

Definition at line 604 of file type_def.h.

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

Definition at line 619 of file type_def.h.

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

void NLAISCRIPT::COperationType::setOperand IOpType   operand [inline]
 

Definition at line 624 of file type_def.h.

References _TxtInfo, and NLAISCRIPT::IOpType::IOpType.


Member Data Documentation

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

Definition at line 585 of file type_def.h.

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

Type of operation.

Definition at line 583 of file type_def.h.

Referenced by clone, COperationType, operator==, and setOp.

IOpType* NLAISCRIPT::COperationType::_Operand [private]
 

Type of the operand.

Definition at line 581 of file type_def.h.

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

Definition at line 584 of file type_def.h.

Referenced by COperationType, getInfo, setOperand, and ~COperationType.


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