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

Class IClassInterpret. More...

#include <interpret_object.h>

Inheritance diagram for NLAISCRIPT::IClassInterpret:

NLAIAGENT::IObjectIA NLAIAGENT::IBasicObjectIA NLAIC::IBasicInterface NLAIC::IBasicType NLAIC::IPointerGestion NLMISC::IStreamable NLMISC::IClassable NLAISCRIPT::IAgentMultiClass NLAISCRIPT::CAgentClass NLAISCRIPT::CActorClass NLAISCRIPT::CGoalPathClass NLAISCRIPT::CManagerClass NLAISCRIPT::CMessageClass NLAISCRIPT::COperatorClass NLAISCRIPT::CFsmClass NLAISCRIPT::CCancelGoalMsgClass NLAISCRIPT::CConnectObjectValueMsgClass NLAISCRIPT::CDebugMsgClass NLAISCRIPT::CFactMsgClass NLAISCRIPT::CFailureMsgClass NLAISCRIPT::CGetValueMsgClass NLAISCRIPT::CGoalMsgClass NLAISCRIPT::CMsgNotifyParentClass NLAISCRIPT::COnChangeMsgClass NLAISCRIPT::CSetValueMsgClass NLAISCRIPT::CSuccessMsgClass List of all members.

Public Methods

virtual CComponentgetComponent (const NLAIAGENT::IVarName &) const=0
 Returns a static component from its name in the class. More...

virtual CComponentgetComponent (sint32 i) const=0
 Returns a component from its index. More...

 IClassInterpret ()
 IClassInterpret (NLAIC::CIdentType *idType)
virtual ~IClassInterpret ()
virtual const NLAIC::CIdentTypegetType () const
 getType return a unique string how represente the class, it can be the name of the class. More...

void setType (NLAIC::CIdentType *idType)
void setType (const NLAIAGENT::IVarName &, const IClassInterpret &)
virtual NLAIAGENT::IObjectIAbuildNewInstance () const=0
 Instanciates an object of the class. More...

virtual sint32 registerComponent (const NLAIAGENT::IVarName &)=0
 Registers a new static component. More...

virtual sint32 getStaticMemberSize () const=0
 Returns the number of static components in the class. More...

virtual sint32 getRunMethod () const=0
 return the absolut index of the run() method of this class. More...

virtual void setRunMethod (sint32 index)=0
 set the absolut index of the run() method of this class. More...

virtual void buildVTable ()=0
 Builds the v_table. More...

virtual const IClassInterpret * getInheritance (sint32 n) const=0
 Return a pointer represent the inheritance range n, the inheritance graph are represented by a vector. More...

virtual sint32 sizeVTable () const=0
 Get the size of the v_table. More...

virtual const NLAIAGENT::IVarNamegetClassName () const
 Returns the name of the class in the registry. More...

virtual void setClassName (const NLAIAGENT::IVarName &)
virtual void setInheritanceName (const NLAIAGENT::IVarName &name)=0
 Defines the base class using its name in the registry. More...

virtual const NLAIAGENT::IVarNamegetInheritanceName () const=0
 Returns the name of the base class in the registry. More...

virtual const IClassInterpret * getBaseClass () const=0
 Return a pointer to the base IClassInterpret object. More...

virtual const IClassInterpret * getComputeBaseClass ()=0
virtual const char * getComponentName (sint32=0) const=0
 Return the name of the compoment given by an offset. More...

virtual NLAIAGENT::tQueue getPrivateMember (const NLAIAGENT::IVarName *, const NLAIAGENT::IVarName *, const NLAIAGENT::IObjectIA &param) const=0
const NLAIAGENT::IVarNamegetName () const
virtual NLAIC::CTypeOfObject getTypeClass () const
virtual void initStatics ()
code method.
virtual sint32 addBrancheCode (const NLAIAGENT::IVarName &, const CParam &)=0
virtual CMethodeNamegetBrancheCode () const=0
virtual CMethodeNamegetBrancheCode (sint32) const=0
 get method in the class. More...

virtual CMethodeNamegetBrancheCode (sint32 h, sint32 m) const=0
 get method in the base class. where h is the base class offset m is the method offset. More...


Protected Methods

 IClassInterpret (const NLAIAGENT::IVarName &, const IClassInterpret &)

Protected Attributes

NLAIC::CIdentType_IdType
 Type of the class. More...


Private Attributes

NLAIAGENT::IVarName_Name
 Name of the class. More...


Detailed Description

Class IClassInterpret.

This class define a class interpreted.

Author:
Chafik sameh , Portier Perre. , Nevrax France
Date:
2000

Definition at line 90 of file interpret_object.h.


Constructor & Destructor Documentation

NLAISCRIPT::IClassInterpret::IClassInterpret const NLAIAGENT::IVarName  ,
const IClassInterpret &   
[protected]
 

Definition at line 56 of file interpret_object.cpp.

References _IdType, NLAIAGENT::IVarName::getString, and NLAIC::CTypeOfObject::tAgent.

Referenced by NLAISCRIPT::CAgentClass::buildVMethode, NLAISCRIPT::CAgentClass::getBaseClass, NLAISCRIPT::CAgentClass::getComputeBaseClass, NLAISCRIPT::CAgentClass::getPrivateMember, NLAISCRIPT::CAgentClass::getStaticMember, NLAISCRIPT::CAgentClass::getStaticMemberIndex, and NLAISCRIPT::CAgentClass::isMember.

NLAISCRIPT::IClassInterpret::IClassInterpret  
 

Definition at line 74 of file interpret_object.cpp.

NLAISCRIPT::IClassInterpret::IClassInterpret NLAIC::CIdentType   idType
 

Definition at line 61 of file interpret_object.cpp.

NLAISCRIPT::IClassInterpret::~IClassInterpret   [virtual]
 

Definition at line 65 of file interpret_object.cpp.

References _IdType, _Name, and NLAIC::IPointerGestion::release.


Member Function Documentation

virtual sint32 NLAISCRIPT::IClassInterpret::addBrancheCode const NLAIAGENT::IVarName  ,
const CParam  
[pure virtual]
 

Implemented in NLAISCRIPT::CAgentClass.

virtual NLAIAGENT::IObjectIA* NLAISCRIPT::IClassInterpret::buildNewInstance   const [pure virtual]
 

Instanciates an object of the class.

Implemented in NLAISCRIPT::COperatorClass.

virtual void NLAISCRIPT::IClassInterpret::buildVTable   [pure virtual]
 

Builds the v_table.

Implemented in NLAISCRIPT::CAgentClass.

virtual const IClassInterpret* NLAISCRIPT::IClassInterpret::getBaseClass   const [pure virtual]
 

Return a pointer to the base IClassInterpret object.

Implemented in NLAISCRIPT::CAgentClass.

virtual CMethodeName& NLAISCRIPT::IClassInterpret::getBrancheCode sint32    h,
sint32    m
const [pure virtual]
 

get method in the base class. where h is the base class offset m is the method offset.

Implemented in NLAISCRIPT::CAgentClass.

virtual CMethodeName& NLAISCRIPT::IClassInterpret::getBrancheCode sint32    const [pure virtual]
 

get method in the class.

Implemented in NLAISCRIPT::CAgentClass.

virtual CMethodeName& NLAISCRIPT::IClassInterpret::getBrancheCode   const [pure virtual]
 

Implemented in NLAISCRIPT::CAgentClass.

const NLAIAGENT::IVarName * NLAISCRIPT::IClassInterpret::getClassName   const [virtual]
 

Returns the name of the class in the registry.

Definition at line 106 of file interpret_object.cpp.

References _Name.

Referenced by NLAISCRIPT::CAgentClass::addBrancheCode, NLAISCRIPT::CAgentClass::buildChildsMessageMap, NLAISCRIPT::CAgentClass::buildVMethode, NLAIAGENT::CAgentScript::getClassName, NLAISCRIPT::CAgentClass::getDebugString, NLAISCRIPT::CAgentClass::isClassInheritedFrom, and NLAISCRIPT::CAgentClass::isEqual.

virtual CComponent* NLAISCRIPT::IClassInterpret::getComponent sint32    i const [pure virtual]
 

Returns a component from its index.

Implemented in NLAISCRIPT::CAgentClass.

virtual CComponent* NLAISCRIPT::IClassInterpret::getComponent const NLAIAGENT::IVarName   const [pure virtual]
 

Returns a static component from its name in the class.

Implemented in NLAISCRIPT::CAgentClass.

virtual const char* NLAISCRIPT::IClassInterpret::getComponentName sint32    = 0 const [pure virtual]
 

Return the name of the compoment given by an offset.

Implemented in NLAISCRIPT::CAgentClass.

virtual const IClassInterpret* NLAISCRIPT::IClassInterpret::getComputeBaseClass   [pure virtual]
 

Implemented in NLAISCRIPT::CAgentClass.

virtual const IClassInterpret* NLAISCRIPT::IClassInterpret::getInheritance sint32    n const [pure virtual]
 

Return a pointer represent the inheritance range n, the inheritance graph are represented by a vector.

Implemented in NLAISCRIPT::CAgentClass.

virtual const NLAIAGENT::IVarName* NLAISCRIPT::IClassInterpret::getInheritanceName   const [pure virtual]
 

Returns the name of the base class in the registry.

Implemented in NLAISCRIPT::CAgentClass.

const NLAIAGENT::IVarName* NLAISCRIPT::IClassInterpret::getName   const [inline]
 

Definition at line 167 of file interpret_object.h.

Referenced by NLAISCRIPT::CAgentClass::createBaseClassComponents, and NLAISCRIPT::CAgentClass::getClassPath.

virtual NLAIAGENT::tQueue NLAISCRIPT::IClassInterpret::getPrivateMember const NLAIAGENT::IVarName  ,
const NLAIAGENT::IVarName  ,
const NLAIAGENT::IObjectIA   param
const [pure virtual]
 

Implemented in NLAISCRIPT::CAgentClass.

virtual sint32 NLAISCRIPT::IClassInterpret::getRunMethod   const [pure virtual]
 

return the absolut index of the run() method of this class.

Implemented in NLAISCRIPT::CAgentClass.

virtual sint32 NLAISCRIPT::IClassInterpret::getStaticMemberSize   const [pure virtual]
 

Returns the number of static components in the class.

Reimplemented from NLAIAGENT::IObjectIA.

Implemented in NLAISCRIPT::CAgentClass.

const NLAIC::CIdentType & NLAISCRIPT::IClassInterpret::getType   const [virtual]
 

getType return a unique string how represente the class, it can be the name of the class.

This function is used for the sytem regstry class (see the definition of the template class Gen::CRegistry).

Implements NLAIC::IBasicType.

Reimplemented in NLAISCRIPT::CSuccessMsgClass.

Definition at line 78 of file interpret_object.cpp.

References _IdType.

Referenced by NLAIAGENT::CAgentScript::getDebugString, NLAISCRIPT::CAgentClass::getInheritedStaticMemberIndex, NLAIAGENT::CAgentScript::getMethode, NLAIAGENT::COperatorScript::getType, and NLAIAGENT::CAgentScript::getType.

virtual NLAIC::CTypeOfObject NLAISCRIPT::IClassInterpret::getTypeClass   const [inline, virtual]
 

Reimplemented in NLAISCRIPT::CAgentClass.

Definition at line 172 of file interpret_object.h.

References NLAIC::CTypeOfObject::tInterpret.

virtual void NLAISCRIPT::IClassInterpret::initStatics   [inline, virtual]
 

Reimplemented in NLAISCRIPT::CAgentClass.

Definition at line 177 of file interpret_object.h.

virtual sint32 NLAISCRIPT::IClassInterpret::registerComponent const NLAIAGENT::IVarName   [pure virtual]
 

Registers a new static component.

Implemented in NLAISCRIPT::CAgentClass.

void NLAISCRIPT::IClassInterpret::setClassName const NLAIAGENT::IVarName   [virtual]
 

Definition at line 96 of file interpret_object.cpp.

References _Name, NLAIC::IBasicType::clone, and NLAIC::IPointerGestion::release.

Referenced by NLAISCRIPT::CCancelGoalMsgClass::CCancelGoalMsgClass, NLAISCRIPT::CConnectObjectValueMsgClass::CConnectObjectValueMsgClass, NLAISCRIPT::CDebugMsgClass::CDebugMsgClass, NLAISCRIPT::CFactMsgClass::CFactMsgClass, NLAISCRIPT::CFailureMsgClass::CFailureMsgClass, NLAISCRIPT::CGetValueMsgClass::CGetValueMsgClass, NLAISCRIPT::CGoalMsgClass::CGoalMsgClass, NLAISCRIPT::CMsgNotifyParentClass::CMsgNotifyParentClass, NLAISCRIPT::CSetValueMsgClass::CSetValueMsgClass, and NLAISCRIPT::CSuccessMsgClass::CSuccessMsgClass.

virtual void NLAISCRIPT::IClassInterpret::setInheritanceName const NLAIAGENT::IVarName   name [pure virtual]
 

Defines the base class using its name in the registry.

Implemented in NLAISCRIPT::CAgentClass.

virtual void NLAISCRIPT::IClassInterpret::setRunMethod sint32    index [pure virtual]
 

set the absolut index of the run() method of this class.

Implemented in NLAISCRIPT::CAgentClass.

void NLAISCRIPT::IClassInterpret::setType const NLAIAGENT::IVarName  ,
const IClassInterpret &   
 

Definition at line 90 of file interpret_object.cpp.

References _IdType, NLAIAGENT::IVarName::getString, NLAIC::IPointerGestion::release, and NLAIC::CTypeOfObject::tAgent.

void NLAISCRIPT::IClassInterpret::setType NLAIC::CIdentType   idType
 

Definition at line 83 of file interpret_object.cpp.

References _IdType, and NLAIC::IPointerGestion::release.

Referenced by NLAISCRIPT::CAgentClass::CAgentClass.

virtual sint32 NLAISCRIPT::IClassInterpret::sizeVTable   const [pure virtual]
 

Get the size of the v_table.

Implemented in NLAISCRIPT::CAgentClass.


Member Data Documentation

NLAIC::CIdentType* NLAISCRIPT::IClassInterpret::_IdType [protected]
 

Type of the class.

Definition at line 98 of file interpret_object.h.

Referenced by NLAISCRIPT::CMessageClass::CMessageClass, NLAISCRIPT::CMessageClass::getType, getType, IClassInterpret, setType, and ~IClassInterpret.

NLAIAGENT::IVarName* NLAISCRIPT::IClassInterpret::_Name [private]
 

Name of the class.

Definition at line 94 of file interpret_object.h.

Referenced by getClassName, setClassName, and ~IClassInterpret.


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