# 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:

NLAIAGENT::IObjectIA NLAIAGENT::IBasicObjectIA NLAIC::IBasicInterface NLAIC::IBasicType NLAIC::IPointerGestion NLMISC::IStreamable NLMISC::IClassable 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 (std::string &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:
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.

References _opBaseType, and _opType.

Referenced by clone.

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.

References _opBaseType, and _opType.

NLAISCRIPT::CObjectUnknown::~CObjectUnknown   [inline]
 

Definition at line 149 of file object_unknown.h.

References _opBaseType, and _opType.


Member Function Documentation

const NLAIC::IBasicType* NLAISCRIPT::CObjectUnknown::clone   const [inline, virtual]
 

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

Implements NLAIC::IBasicType.

Definition at line 79 of file object_unknown.h.

References _opBaseType, _opType, and CObjectUnknown.

Referenced by newInstance.

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

Definition at line 125 of file object_unknown.h.

References _opBaseType.

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

Definition at line 130 of file object_unknown.h.

References _opType.

void NLAISCRIPT::CObjectUnknown::getDebugString std::string &    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.

Implements NLAIC::IBasicType.

Definition at line 91 of file object_unknown.h.

References _opType, id, and NLAIC::stringGetBuild.

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

throw (NLAIE::CExceptionUnReference).

Implements NLAIC::IBasicType.

Definition at line 72 of file object_unknown.h.

References _opType, and id.

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.

Implements NLAIC::IBasicInterface.

Definition at line 107 of file object_unknown.h.

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

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

Implements NLAIC::IBasicType.

Definition at line 86 of file object_unknown.h.

References clone.

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

Some where Run method define the process of the agen.

Implements NLAIAGENT::IObjectIA.

Definition at line 116 of file object_unknown.h.

References NLAIAGENT::IObjectIA::ProcessRun.

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

Save the class in a stream.

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

References _opBaseType.

void NLAISCRIPT::CObjectUnknown::setClassType IOpType   o [inline]
 

Definition at line 136 of file object_unknown.h.

References _opType.


Member Data Documentation

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

Functional type.

Definition at line 52 of file object_unknown.h.

Referenced by clone, CObjectUnknown, getBaseType, setBaseType, and ~CObjectUnknown.

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

Type of the object.

Definition at line 50 of file object_unknown.h.

Referenced by clone, CObjectUnknown, getClassType, getDebugString, getType, setClassType, and ~CObjectUnknown.


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