# 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

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

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

Definition at line 770 of file type_def.h.


Constructor & Destructor Documentation

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

Definition at line 779 of file type_def.h.

NLAISCRIPT::COperandListType::COperandListType ( ) [inline]
 

Definition at line 794 of file type_def.h.

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

Definition at line 906 of file type_def.h.


Member Function Documentation

void NLAISCRIPT::COperandListType::add ( IOpType * o ) [inline]
 

Definition at line 901 of file type_def.h.

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

Get a clone pointer memory.

Reimplemented from NLAISCRIPT::IConstraint.

Definition at line 819 of file type_def.h.

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

If this constraint depond on other constraint.

Reimplemented from NLAISCRIPT::IConstraint.

Definition at line 890 of file type_def.h.

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

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

Reimplemented from NLAISCRIPT::IConstraint.

Definition at line 825 of file type_def.h.

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

Get a string info.

Reimplemented from NLAISCRIPT::IConstraint.

Definition at line 861 of file type_def.h.

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

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

Reimplemented from NLAISCRIPT::IConstraint.

Definition at line 814 of file type_def.h.

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

Reimplemented from NLAISCRIPT::IConstraint.

Definition at line 830 of file type_def.h.

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

Run with a CCompilateur dependency.

Reimplemented from NLAISCRIPT::IOpType.

Definition at line 871 of file type_def.h.

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

If the constraint is resolved.

Reimplemented from NLAISCRIPT::IConstraint.

Definition at line 866 of file type_def.h.

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

Reimplemented from NLAIC::IPointerGestion.

Definition at line 804 of file type_def.h.


Member Data Documentation

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

Definition at line 774 of file type_def.h.

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

Definition at line 773 of file type_def.h.

bool NLAISCRIPT::COperandListType::_S [private]
 

Definition at line 775 of file type_def.h.

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

Definition at line 776 of file type_def.h.


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