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

CTypeOfObject is an binnary type of objects. More...

#include <registry_type.h>

Inheritance diagram for NLAIC::CTypeOfObject:

NLAIC::CBinaryType NLAIC::IBasicInterface NLAIC::IBasicType NLAIC::IPointerGestion NLMISC::IStreamable NLMISC::IClassable List of all members.

Public Types

enum  TTypeBite {
  tNombre = 1, tString = 2, tLogic = 4, tList = 8,
  tAgent = 32, tInterpret = 256, tObject = 128, tPerformative = 512,
  tActor = 1024, tMessage = 2048, tLast = tMessage, tUndef = 0xFFFFFFFF - tLast*2
}
 define the type of an objects. More...


Public Methods

 CTypeOfObject ()
 CTypeOfObject (uint32 bites)
 CTypeOfObject (const CTypeOfObject &bites)
 CTypeOfObject (NLMISC::IStream &is)
virtual ~CTypeOfObject ()
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
 getType return a unique string how represente the class, it can be the name of the class. More...

virtual void getDebugString (char *txt) const

Static Public Attributes

NLAIC::CIdentType IdTypeOfObject

Detailed Description

CTypeOfObject is an binnary type of objects.

Author:
Chafik sameh , Nevrax France
Date:
2000

Definition at line 243 of file registry_type.h.


Member Enumeration Documentation

enum NLAIC::CTypeOfObject::TTypeBite
 

define the type of an objects.

Enumeration values:
tNombre  The object is a nomber.
tString  The object is a string.
tLogic  The object is a logic objects (fuzzy numerical or first ordrer).
tList  The object is a list.
tAgent  The object is an agent.
tInterpret  The object is an agent defiend with the interpret. Agents class must derived from NLAIAGENT::CAgentScript.
tObject  The object is an IBasicInterface object.
tPerformative  The object is an performative.
tActor  The object is an actor.
tMessage 
tLast  Last definition.
tUndef  That is an undef object.

Definition at line 250 of file registry_type.h.


Constructor & Destructor Documentation

NLAIC::CTypeOfObject::CTypeOfObject   [inline]
 

Definition at line 279 of file registry_type.h.

Referenced by clone, CTypeOfObject, and newInstance.

NLAIC::CTypeOfObject::CTypeOfObject uint32    bites [inline]
 

Definition at line 283 of file registry_type.h.

References NLAIC::CBinaryType::CBinaryType.

NLAIC::CTypeOfObject::CTypeOfObject const CTypeOfObject &    bites [inline]
 

Definition at line 287 of file registry_type.h.

References NLAIC::CBinaryType::CBinaryType, and CTypeOfObject.

NLAIC::CTypeOfObject::CTypeOfObject NLMISC::IStream   is [inline]
 

Definition at line 291 of file registry_type.h.

References NLAIC::CBinaryType::CBinaryType.

virtual NLAIC::CTypeOfObject::~CTypeOfObject   [inline, virtual]
 

Definition at line 295 of file registry_type.h.


Member Function Documentation

virtual const NLAIC::IBasicType* NLAIC::CTypeOfObject::clone   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 301 of file registry_type.h.

References CTypeOfObject, and x.

void NLAIC::CTypeOfObject::getDebugString char *    txt const [virtual]
 

Definition at line 42 of file registry_type.cpp.

const CIdentType & NLAIC::CTypeOfObject::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).

Reimplemented from NLAIC::CBinaryType.

Definition at line 37 of file registry_type.cpp.

References IdTypeOfObject.

virtual const NLAIC::IBasicType* NLAIC::CTypeOfObject::newInstance   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 307 of file registry_type.h.

References CTypeOfObject, and x.


Member Data Documentation

CIdentType NLAIC::CTypeOfObject::IdTypeOfObject [static]
 

Referenced by getType.


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