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

Class CObjectUnknown. More...

#include <object_unknown.h>

Inheritance diagram for NLAISCRIPT::CObjectUnknown

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

Collaboration graph
[legend]
List of all members.

Public Methods

 CObjectUnknown (IOpType *opType)
 Construct the object with one type _opType = _opBaseType;. More...

 CObjectUnknown (IOpType *opType,IOpType *opBaseType)
 Construct the object with an opType and an opBaseType;. More...

const IOpTypegetBaseType () const
const IOpTypegetClassType () const
void setClassType (IOpType *o)
void setBaseType (IOpType *o)
 ~CObjectUnknown ()
Base class method.
const NLAIC::CIdentTypegetType () const
 throw (NLAIE::CExceptionUnReference). More...

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...

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

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...

void save (NLMISC::IStream &os)
 Save the class in a stream. More...

void load (NLMISC::IStream &is)
 Load the class from a stream. More...

bool isEqual (const NLAIAGENT::IBasicObjectIA &a) const
const NLAIAGENT::IObjectIA::CProcessResultrun ()
 Some where Run method define the process of the agen. More...


Private Attributes

IOpType_opType
 Type of the object. More...

IOpType_opBaseType
 Functional type. More...


Detailed Description

Class CObjectUnknown.

this class define an IObjectIA as an type. This type is divide in two part, the real type of the objects and a functional type. This last is use when we have to have an script compoment member, method member or any internal computation. The real type is use for the comparaison between type. This is very useful for ambiguous object same as an agent where he can be the agent or a mail box. Or a mail box can be an agent. A correct syntax is to say i have a type of object as the type of an other object.

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

Definition at line 45 of file object_unknown.h.


Constructor & Destructor Documentation

NLAISCRIPT::CObjectUnknown::CObjectUnknown ( IOpType * opType ) [inline]
 

Construct the object with one type _opType = _opBaseType;.

Definition at line 56 of file object_unknown.h.

NLAISCRIPT::CObjectUnknown::CObjectUnknown ( IOpType * opType,
IOpType * opBaseType ) [inline]
 

Construct the object with an opType and an opBaseType;.

Definition at line 64 of file object_unknown.h.

NLAISCRIPT::CObjectUnknown::~CObjectUnknown ( ) [inline]
 

Definition at line 149 of file object_unknown.h.


Member Function Documentation

const NLAIC::IBasicType * NLAISCRIPT::CObjectUnknown::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::IBasicType.

Definition at line 79 of file object_unknown.h.

const IOpType * NLAISCRIPT::CObjectUnknown::getBaseType ( ) const [inline]
 

Definition at line 125 of file object_unknown.h.

const IOpType * NLAISCRIPT::CObjectUnknown::getClassType ( ) const [inline]
 

Definition at line 130 of file object_unknown.h.

void NLAISCRIPT::CObjectUnknown::getDebugString ( char * txt ) const [inline, 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::IBasicType.

Definition at line 91 of file object_unknown.h.

const NLAIC::CIdentType & NLAISCRIPT::CObjectUnknown::getType ( void ) const [inline, virtual]
 

throw (NLAIE::CExceptionUnReference).

Reimplemented from NLAIC::IBasicType.

Definition at line 72 of file object_unknown.h.

bool NLAISCRIPT::CObjectUnknown::isEqual ( const NLAIAGENT::IBasicObjectIA & a ) const [inline]
 

Definition at line 111 of file object_unknown.h.

void NLAISCRIPT::CObjectUnknown::load ( NLMISC::IStream & is ) [inline, virtual]
 

Load the class from a stream.

Reimplemented from NLAIC::IBasicInterface.

Definition at line 107 of file object_unknown.h.

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

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

Reimplemented from NLAIC::IBasicType.

Definition at line 86 of file object_unknown.h.

const NLAIAGENT::IObjectIA::CProcessResult & NLAISCRIPT::CObjectUnknown::run ( void ) [inline, virtual]
 

Some where Run method define the process of the agen.

Reimplemented from NLAIAGENT::IObjectIA.

Definition at line 116 of file object_unknown.h.

void NLAISCRIPT::CObjectUnknown::save ( NLMISC::IStream & os ) [inline, virtual]
 

Save the class in a stream.

Reimplemented from NLAIC::IBasicInterface.

Definition at line 102 of file object_unknown.h.

void NLAISCRIPT::CObjectUnknown::setBaseType ( IOpType * o ) [inline]
 

Definition at line 142 of file object_unknown.h.

void NLAISCRIPT::CObjectUnknown::setClassType ( IOpType * o ) [inline]
 

Definition at line 136 of file object_unknown.h.


Member Data Documentation

IOpType * NLAISCRIPT::CObjectUnknown::_opBaseType [private]
 

Functional type.

Definition at line 52 of file object_unknown.h.

IOpType * NLAISCRIPT::CObjectUnknown::_opType [private]
 

Type of the object.

Definition at line 50 of file object_unknown.h.


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