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

Class COperandListType. More...

#include <type_def.h>

Inheritance diagram for NLAISCRIPT::COperandListType:

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

Public Methods

 COperandListType (const COperandListType &c)
 COperandListType ()
virtual void serial (NLMISC::IStream &f) throw (NLMISC::EStream)
virtual ConstraintTypeEnum getTypeOfClass () const
 get the type of class. the type must be in the ConstraintTypeEnum enumeration. More...

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

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

bool operator== (const IConstraint &c) const
const char * getInfo ()
 Get a string info. More...

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

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

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

void add (IOpType *o)
virtual ~COperandListType ()

Private Attributes

std::list< IOpType * > _List
NLAIC::CIdentType_Id
bool _S
char * _TxtInfo

Detailed Description

Class COperandListType.

This class define an unknow list operand type. Its used for for object how have more than one way to compute the type. This class can be interpreted by: Type = Type_1 | Type_2 |...| Type_i |...|Type_n. Where type_i is an IOpType to eval.

Author:
Chafik sameh , Nevrax France
Date:
2000

Definition at line 833 of file type_def.h.


Constructor & Destructor Documentation

NLAISCRIPT::COperandListType::COperandListType const COperandListType &    c [inline]
 

Definition at line 842 of file type_def.h.

References _S, _TxtInfo, and COperandListType.

Referenced by COperandListType, and operator==.

NLAISCRIPT::COperandListType::COperandListType   [inline]
 

Definition at line 857 of file type_def.h.

References _S, and _TxtInfo.

Referenced by clone.

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

Definition at line 969 of file type_def.h.

References _TxtInfo.


Member Function Documentation

void NLAISCRIPT::COperandListType::add IOpType   o [inline]
 

Definition at line 964 of file type_def.h.

References NLAISCRIPT::IOpType::IOpType.

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

Get a clone pointer memory.

Implements NLAISCRIPT::IConstraint.

Definition at line 882 of file type_def.h.

References COperandListType, NLAISCRIPT::IConstraint::IConstraint, and x.

bool NLAISCRIPT::COperandListType::dependOn const IConstraint   a const [inline, virtual]
 

If this constraint depond on other constraint.

Implements NLAISCRIPT::IConstraint.

Definition at line 953 of file type_def.h.

References NLAISCRIPT::IConstraint::IConstraint.

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

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

Implements NLAISCRIPT::IConstraint.

Definition at line 888 of file type_def.h.

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

Get a string info.

Implements NLAISCRIPT::IConstraint.

Definition at line 924 of file type_def.h.

References _TxtInfo.

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

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

Implements NLAISCRIPT::IConstraint.

Definition at line 877 of file type_def.h.

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

Referenced by operator==.

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

Implements NLAISCRIPT::IConstraint.

Definition at line 893 of file type_def.h.

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

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

Run with a CCompilateur dependency.

Reimplemented from NLAISCRIPT::IOpType.

Definition at line 934 of file type_def.h.

References _S, and NLAISCRIPT::IOpType::IOpType.

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

If the constraint is resolved.

Implements NLAISCRIPT::IConstraint.

Definition at line 929 of file type_def.h.

References _S.

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

Reimplemented from NLAIC::IPointerGestion.

Definition at line 867 of file type_def.h.


Member Data Documentation

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

Definition at line 837 of file type_def.h.

std::list<IOpType *> NLAISCRIPT::COperandListType::_List [private]
 

Definition at line 836 of file type_def.h.

bool NLAISCRIPT::COperandListType::_S [private]
 

Definition at line 838 of file type_def.h.

Referenced by COperandListType, run, and satisfied.

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

Definition at line 839 of file type_def.h.

Referenced by COperandListType, getInfo, and ~COperandListType.


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