# 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  

NLAIC::CTypeOfOperator Class Reference

CTypeOfOperator is an binnary type of operation allowed by objects. More...

#include <registry_type.h>

Inheritance diagram for NLAIC::CTypeOfOperator

Inheritance graph
[legend]
Collaboration diagram for NLAIC::CTypeOfOperator:

Collaboration graph
[legend]
List of all members.

Public Types

enum  TTypeOp {
  opNone = 0,
  opAdd = 1,
  opSub = 2,
  opMul = 4,
  opDiv = 8,
  opEq = 16,
  opInf = 32,
  opSup = 64,
  opInfEq = 128,
  opSupEq = 256,
  opNot = 512,
  opDiff = 1024,
  opNeg = 2048,
  opAff = 4096,
  tUndef = 0xFFFFFFFF - opAff*2 + 1
}
 define the type of an operation. More...


Public Methods

 CTypeOfOperator ()
 CTypeOfOperator (uint32 bites)
 CTypeOfOperator (const CTypeOfOperator &bites)
 CTypeOfOperator (NLMISC::IStream &is)
virtual ~CTypeOfOperator ()
IBasicInterface method.
virtual const NLAIC::IBasicTypeclone () const
 This function allow a pointer copy, that mean that the new class have the sam attributs caracteristics as the owne. More...

virtual const NLAIC::IBasicTypenewInstance () const
 This function allow a new instance, that mean that the class is a class factory. More...

virtual const NLAIC::CIdentTypegetType () const
 throw (NLAIE::CExceptionUnReference). More...

virtual void getDebugString (char *txt) const
 This is a Debug function, text is an character pointer to receive the debug text output, the debug text containe all think sensible to interset user. More...


Static Public Attributes

NLAIC::CIdentType IdTypeOfOperator

Detailed Description

CTypeOfOperator is an binnary type of operation allowed by objects.

Author(s):
Chafik sameh , Nevrax France
Date:
2000

Definition at line 311 of file registry_type.h.


Member Enumeration Documentation

enum NLAIC::CTypeOfOperator::TTypeOp
 

define the type of an operation.

Enumeration values:
opNone   None operation is define.
opAdd   Can add this objects with an ather.
opSub   Can substract this objects with an ather.
opMul   Can multiply this objects with an ather.
opDiv   Can divide this objects with an ather.
opEq   Can test the equality this objects with an ather.
opInf   Can test with the < operator.
opSup   Can test with the > operator.
opInfEq   Can test with the <= operator.
opSupEq   Can test with the >= operator.
opNot   Can test with the ! operator.
opDiff   Can test with the != operator.
opNeg   Can dot obj = -obj.
opAff   Can affect the object.
tUndef   That is an undef.

Definition at line 318 of file registry_type.h.


Constructor & Destructor Documentation

NLAIC::CTypeOfOperator::CTypeOfOperator ( ) [inline]
 

Definition at line 351 of file registry_type.h.

NLAIC::CTypeOfOperator::CTypeOfOperator ( uint32 bites ) [inline]
 

Definition at line 355 of file registry_type.h.

NLAIC::CTypeOfOperator::CTypeOfOperator ( const CTypeOfOperator & bites ) [inline]
 

Definition at line 360 of file registry_type.h.

NLAIC::CTypeOfOperator::CTypeOfOperator ( NLMISC::IStream & is ) [inline]
 

Definition at line 364 of file registry_type.h.

NLAIC::CTypeOfOperator::~CTypeOfOperator ( ) [inline, virtual]
 

Definition at line 369 of file registry_type.h.


Member Function Documentation

const NLAIC::IBasicType * NLAIC::CTypeOfOperator::clone ( void ) const [inline, virtual]
 

This function allow a pointer copy, that mean that the new class have the sam attributs caracteristics as the owne.

Reimplemented from NLAIC::CBinaryType.

Definition at line 376 of file registry_type.h.

void NLAIC::CTypeOfOperator::getDebugString ( char * t ) const [virtual]
 

This is a Debug function, text is an character pointer to receive the debug text output, the debug text containe all think sensible to interset user.

Reimplemented from NLAIC::CBinaryType.

Definition at line 74 of file registry_type.cpp.

const CIdentType & NLAIC::CTypeOfOperator::getType ( void ) const [virtual]
 

throw (NLAIE::CExceptionUnReference).

Reimplemented from NLAIC::CBinaryType.

Definition at line 69 of file registry_type.cpp.

const NLAIC::IBasicType * NLAIC::CTypeOfOperator::newInstance ( void ) const [inline, virtual]
 

This function allow a new instance, that mean that the class is a class factory.

Reimplemented from NLAIC::CBinaryType.

Definition at line 382 of file registry_type.h.


Member Data Documentation

NLAIC::CIdentType NLAIC::CTypeOfOperator::IdTypeOfOperator [static]
 

Definition at line 314 of file registry_type.h.


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