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

Class COperandUnknown. More...

#include <type_def.h>

Inheritance diagram for NLAISCRIPT::COperandUnknown:

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

Public Methods

 COperandUnknown (IConstraint *constraint)
virtual void serial (NLMISC::IStream &f) throw (NLMISC::EStream)
const char * getInfo ()
 Get a string info. More...

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

const IConstraintclone () const
 Get a clone pointer memory. More...

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

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

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

virtual ConstraintTypeEnum getTypeOfClass () const
 get the type of class. the type must be in the ConstraintTypeEnum enumeration. More...

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

virtual ~COperandUnknown ()

Private Attributes

IConstraint_Constraint
NLAIC::CIdentType_Id
char * _TxtInfo
bool _RunIsDone

Detailed Description

Class COperandUnknown.

This class define an unknow type. type is an IConstraint that we have to resolve it.

Author:
Chafik sameh , Nevrax France
Date:
2000

Definition at line 461 of file type_def.h.


Constructor & Destructor Documentation

NLAISCRIPT::COperandUnknown::COperandUnknown IConstraint   constraint [inline]
 

Definition at line 470 of file type_def.h.

References _Constraint, _RunIsDone, _TxtInfo, and NLAISCRIPT::IConstraint::IConstraint.

Referenced by clone, and operator==.

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

Definition at line 554 of file type_def.h.

References _Constraint, _RunIsDone, and _TxtInfo.


Member Function Documentation

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

Get a clone pointer memory.

Implements NLAISCRIPT::IConstraint.

Definition at line 504 of file type_def.h.

References _Constraint, COperandUnknown, NLAISCRIPT::IConstraint::IConstraint, and x.

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

If this constraint depond on other constraint.

Implements NLAISCRIPT::IConstraint.

Definition at line 540 of file type_def.h.

References _Constraint, and NLAISCRIPT::IConstraint::IConstraint.

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

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

Implements NLAISCRIPT::IConstraint.

Definition at line 495 of file type_def.h.

References _Constraint.

Referenced by satisfied.

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

Get a string info.

Implements NLAISCRIPT::IConstraint.

Definition at line 490 of file type_def.h.

References _TxtInfo.

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

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

Implements NLAISCRIPT::IConstraint.

Definition at line 544 of file type_def.h.

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

Referenced by operator==.

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

Implements NLAISCRIPT::IConstraint.

Definition at line 531 of file type_def.h.

References _Constraint, COperandUnknown, getTypeOfClass, and NLAISCRIPT::IConstraint::IConstraint.

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

Run with a IConstraint dependency.

Reimplemented from NLAISCRIPT::IOpType.

Definition at line 519 of file type_def.h.

References _Constraint, _RunIsDone, NLAISCRIPT::IConstraint::IConstraint, and satisfied.

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

Run with a CCompilateur dependency.

Reimplemented from NLAISCRIPT::IOpType.

Definition at line 510 of file type_def.h.

References _Constraint.

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

If the constraint is resolved.

Implements NLAISCRIPT::IConstraint.

Definition at line 549 of file type_def.h.

References getConstraintTypeOf.

Referenced by run.

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

Reimplemented from NLAIC::IPointerGestion.

Definition at line 480 of file type_def.h.


Member Data Documentation

IConstraint* NLAISCRIPT::COperandUnknown::_Constraint [private]
 

Definition at line 464 of file type_def.h.

Referenced by clone, COperandUnknown, dependOn, getConstraintTypeOf, operator==, run, and ~COperandUnknown.

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

Definition at line 465 of file type_def.h.

bool NLAISCRIPT::COperandUnknown::_RunIsDone [private]
 

Definition at line 467 of file type_def.h.

Referenced by COperandUnknown, run, and ~COperandUnknown.

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

Definition at line 466 of file type_def.h.

Referenced by COperandUnknown, getInfo, and ~COperandUnknown.


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