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

This class define an know type under a list od type. More...

#include <type_def.h>

Inheritance diagram for NLAISCRIPT::COperandSimpleListOr:

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

Public Methods

 COperandSimpleListOr (NLMISC::IStream &f)
 COperandSimpleListOr (const std::list< NLAIC::CIdentType * > &l)
 COperandSimpleListOr (int count,...)
const std::list< NLAIC::CIdentType * > & getList () const
const char * getInfo ()
 Get a string info. More...

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

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

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

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

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

virtual void serial (NLMISC::IStream &f) throw (NLMISC::EStream)
virtual double eval (IOpType *)
virtual ~COperandSimpleListOr ()

Private Attributes

std::list< NLAIC::CIdentType * > _TypeListe
char * _TxtInfo

Detailed Description

This class define an know type under a list od type.

Type = Typ_1 | Typ_2 ... | Type_n

Author:
Chafik sameh , Nevrax France
Date:
2000

Definition at line 316 of file type_def.h.


Constructor & Destructor Documentation

NLAISCRIPT::COperandSimpleListOr::COperandSimpleListOr NLMISC::IStream   f [inline]
 

Definition at line 324 of file type_def.h.

References serial.

Referenced by clone, and operator==.

NLAISCRIPT::COperandSimpleListOr::COperandSimpleListOr const std::list< NLAIC::CIdentType * > &    l [inline]
 

Definition at line 329 of file type_def.h.

References _TxtInfo, and NLAISCRIPT::l.

NLAISCRIPT::COperandSimpleListOr::COperandSimpleListOr int    count,
...   
 

Definition at line 131 of file type_def.cpp.

References _TxtInfo, _TypeListe, and NLAIC::stringGetBuild.

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

Definition at line 440 of file type_def.h.

References _TxtInfo.


Member Function Documentation

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

Get a clone pointer memory.

Implements NLAISCRIPT::IConstraint.

Definition at line 389 of file type_def.h.

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

bool NLAISCRIPT::COperandSimpleListOr::dependOn const IConstraint   const [inline, virtual]
 

If this constraint depond on other constraint.

Implements NLAISCRIPT::IConstraint.

Definition at line 384 of file type_def.h.

References NLAISCRIPT::IConstraint::IConstraint.

double NLAISCRIPT::COperandSimpleListOr::eval IOpType   [virtual]
 

Reimplemented from NLAISCRIPT::IOpType.

Definition at line 147 of file type_def.cpp.

References getList, and x.

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

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

Implements NLAISCRIPT::IConstraint.

Definition at line 356 of file type_def.h.

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

Get a string info.

Implements NLAISCRIPT::IConstraint.

Definition at line 351 of file type_def.h.

References _TxtInfo.

const std::list<NLAIC::CIdentType *>& NLAISCRIPT::COperandSimpleListOr::getList   const [inline]
 

Definition at line 346 of file type_def.h.

Referenced by eval.

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

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

Implements NLAISCRIPT::IConstraint.

Definition at line 361 of file type_def.h.

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

Referenced by operator==, and serial.

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

Implements NLAISCRIPT::IConstraint.

Definition at line 366 of file type_def.h.

References COperandSimpleListOr, getTypeOfClass, NLAISCRIPT::IConstraint::IConstraint, and NLAISCRIPT::l.

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

If the constraint is resolved.

Implements NLAISCRIPT::IConstraint.

Definition at line 395 of file type_def.h.

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

Reimplemented from NLAIC::IPointerGestion.

Definition at line 400 of file type_def.h.

References _TxtInfo, and getTypeOfClass.

Referenced by COperandSimpleListOr.


Member Data Documentation

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

Definition at line 321 of file type_def.h.

Referenced by COperandSimpleListOr, getInfo, serial, and ~COperandSimpleListOr.

std::list<NLAIC::CIdentType *> NLAISCRIPT::COperandSimpleListOr::_TypeListe [private]
 

Definition at line 319 of file type_def.h.

Referenced by COperandSimpleListOr.


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