# 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

Inheritance graph
[legend]
Collaboration diagram for NLAISCRIPT::COperationType:

Collaboration graph
[legend]
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(s):
Chafik sameh , Nevrax France
Date:
2000

Definition at line 514 of file type_def.h.


Constructor & Destructor Documentation

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

Definition at line 524 of file type_def.h.

NLAISCRIPT::COperationType::COperationType ( ) [inline]
 

Definition at line 536 of file type_def.h.

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

Definition at line 618 of file type_def.h.


Member Function Documentation

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

Get a clone pointer memory.

Reimplemented from NLAISCRIPT::IConstraint.

Definition at line 597 of file type_def.h.

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

If this constraint depond on other constraint.

Reimplemented from NLAISCRIPT::IConstraint.

Definition at line 570 of file type_def.h.

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

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

Reimplemented from NLAISCRIPT::IConstraint.

Definition at line 586 of file type_def.h.

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

Get a string info.

Reimplemented from NLAISCRIPT::IConstraint.

Definition at line 551 of file type_def.h.

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

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

Reimplemented from NLAISCRIPT::IConstraint.

Definition at line 613 of file type_def.h.

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

Reimplemented from NLAISCRIPT::IConstraint.

Definition at line 604 of file type_def.h.

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

Run with a IConstraint dependency.

Reimplemented from NLAISCRIPT::IOpType.

Definition at line 582 of file type_def.h.

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

Run with a CCompilateur dependency.

Reimplemented from NLAISCRIPT::IOpType.

Definition at line 575 of file type_def.h.

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

If the constraint is resolved.

Reimplemented from NLAISCRIPT::IConstraint.

Definition at line 592 of file type_def.h.

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

Reimplemented from NLAIC::IPointerGestion.

Definition at line 541 of file type_def.h.

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

Definition at line 556 of file type_def.h.

void NLAISCRIPT::COperationType::setOperand ( IOpType * operand ) [inline]
 

Definition at line 561 of file type_def.h.


Member Data Documentation

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

Definition at line 522 of file type_def.h.

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

Type of operation.

Definition at line 520 of file type_def.h.

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

Type of the operand.

Definition at line 518 of file type_def.h.

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

Definition at line 521 of file type_def.h.


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