# 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  

NLAIAGENT::INombreDefine Class Reference

This define the base of nomber manipulation.Nomber manibulation is need for the script and agent fonctionality. More...

#include <agent_nombre.h>

Inheritance diagram for NLAIAGENT::INombreDefine:

NLAIAGENT::IObjetOp NLAIAGENT::IObjectIA NLAIAGENT::IBasicObjectIA NLAIC::IBasicInterface NLAIC::IBasicType NLAIC::IPointerGestion NLMISC::IStreamable NLMISC::IClassable NLAIAGENT::INombre NLAIAGENT::INombre< double > NLAIAGENT::INombre< float > NLAIAGENT::INombre< sint16 > NLAIAGENT::INombre< sint32 > NLAIAGENT::INombre< sint8 > NLAIAGENT::INombre< uint16 > NLAIAGENT::INombre< uint32 > NLAIAGENT::INombre< uint64 > NLAIAGENT::INombre< uint8 > List of all members.

Public Types

enum  TMethodNumDef { TConst, TLastM }
 This enum define ident for hard coded method that we have to import its under the script. More...


Public Methods

 INombreDefine ()
 INombreDefine (const INombreDefine &value)
virtual double getNumber () const=0
 In general number can be read as a bouble.Be careful, this generalisation don't work with 64Bits numbrer, in this case make a test of object before, or make th good cast if the type is known. More...

virtual ~INombreDefine ()
Some IObjectIA method definition.
virtual sint32 getMethodIndexSize () const
 getMethodIndexSize define the nomber of method define in the class. More...

virtual sint32 isClassInheritedFrom (const IVarName &) const
 isClassInheritedFrom(className) allow us to known if this class have a base class with the name className. More...

virtual tQueue isMember (const IVarName *, const IVarName *, const IObjectIA &) const
 The method isMember(nameSubClass,methodName,param) return the best method correspondent to the search. More...


Static Public Attributes

CMethodCall StaticMethod []
 This variable its used to store method import characteristic. More...


Detailed Description

This define the base of nomber manipulation.Nomber manibulation is need for the script and agent fonctionality.

Author:
Chafik sameh , Nevrax France
Date:
2000

Definition at line 41 of file agent_nombre.h.


Member Enumeration Documentation

enum NLAIAGENT::INombreDefine::TMethodNumDef
 

This enum define ident for hard coded method that we have to import its under the script.

Enumeration values:
TConst 
TLastM  The count of import method.

Definition at line 47 of file agent_nombre.h.


Constructor & Destructor Documentation

NLAIAGENT::INombreDefine::INombreDefine   [inline]
 

Definition at line 68 of file agent_nombre.h.

Referenced by NLAIAGENT::INombre< sint32 >::INombre, INombreDefine, NLAIAGENT::INombre< sint32 >::operator *=, NLAIAGENT::INombre< sint32 >::operator!=, NLAIAGENT::INombre< sint32 >::operator+=, NLAIAGENT::INombre< sint32 >::operator-=, NLAIAGENT::INombre< sint32 >::operator/=, NLAIAGENT::INombre< sint32 >::operator<, NLAIAGENT::INombre< sint32 >::operator=, NLAIAGENT::INombre< sint32 >::operator==, NLAIAGENT::INombre< sint32 >::operator>, and NLAIAGENT::INombre< sint32 >::runMethodeMember.

NLAIAGENT::INombreDefine::INombreDefine const INombreDefine &    value [inline]
 

Definition at line 72 of file agent_nombre.h.

References INombreDefine, NLAIAGENT::IObjetOp::IObjetOp, and value.

virtual NLAIAGENT::INombreDefine::~INombreDefine   [inline, virtual]
 

Definition at line 87 of file agent_nombre.h.


Member Function Documentation

sint32 NLAIAGENT::INombreDefine::getMethodIndexSize   const [virtual]
 

getMethodIndexSize define the nomber of method define in the class.

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 37 of file agent_nombre.cpp.

References TLastM.

virtual double NLAIAGENT::INombreDefine::getNumber   const [pure virtual]
 

In general number can be read as a bouble.Be careful, this generalisation don't work with 64Bits numbrer, in this case make a test of object before, or make th good cast if the type is known.

Implemented in NLAIAGENT::UInt64Type.

sint32 NLAIAGENT::INombreDefine::isClassInheritedFrom const IVarName   const [virtual]
 

isClassInheritedFrom(className) allow us to known if this class have a base class with the name className.

If true the method return the range of the base class, this range is an arbitrary reference id define by the programmer or bay the scrypt. the false return is define by -1.

Reimplemented from NLAIAGENT::IObjectIA.

Definition at line 62 of file agent_nombre.cpp.

tQueue NLAIAGENT::INombreDefine::isMember const IVarName  ,
const IVarName  ,
const IObjectIA  
const [virtual]
 

The method isMember(nameSubClass,methodName,param) return the best method correspondent to the search.

remember we use the overloadind method.

NameSubClass: if this pointer is not NULL then NameSubClass is the name of the base class were the method are defined.

methodName: is the name of the class.

param: is an IObjectIA where it defined the parametre of the method. lot of method use a IObjectIA vector object with an NLAIC::CIdentType as the the template argm.

Reimplemented from NLAIAGENT::IObjectIA.

Definition at line 42 of file agent_nombre.cpp.

References TLastM, NLAIAGENT::tQueue, and NLAIC::CIdentType::VoidType.


Member Data Documentation

INombreDefine::CMethodCall NLAIAGENT::INombreDefine::StaticMethod [static]
 

Initial value:

 
        {
                INombreDefine::CMethodCall(_CONSTRUCTOR_,TConst)                
        }
This variable its used to store method import characteristic.

Definition at line 32 of file agent_nombre.cpp.


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