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

This class store an NLAIC::CIdentType as an IObjectIA. More...

#include <object_type.h>

Inheritance diagram for NLAIAGENT::CObjectType:

NLAIAGENT::IObjectIA NLAIAGENT::IBasicObjectIA NLAIC::IBasicInterface NLAIC::IBasicType NLAIC::IPointerGestion NLMISC::IStreamable NLMISC::IClassable List of all members.

Public Methods

 CObjectType (NLAIC::CIdentType *type)
const NLAIC::CIdentTypegetType () const
 getType return a unique string how represente the class, it can be the name of the class. 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 IBasicObjectIA &a) const
 The bool operator==(const IBasicObjectIA &a) const member method call this function when class 'classType' have the same type of this class, programme have to assume the equality between the memebers of this class and the memeber of the class 'classType'. More...

const IObjectIA::CProcessResultrun ()
 Some where Run method define the process of the agen. More...

virtual ~CObjectType ()

Private Attributes

NLAIC::CIdentType_Type
 Type to store. More...


Detailed Description

This class store an NLAIC::CIdentType as an IObjectIA.

This usefull to transimt type object to the script.

Author:
Portier Pierre , Chafik sameh , Nevrax France
Date:
2000

Definition at line 39 of file object_type.h.


Constructor & Destructor Documentation

NLAIAGENT::CObjectType::CObjectType NLAIC::CIdentType   type [inline]
 

Definition at line 47 of file object_type.h.

References type.

Referenced by clone, and isEqual.

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

Definition at line 92 of file object_type.h.


Member Function Documentation

const NLAIC::IBasicType* NLAIAGENT::CObjectType::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 58 of file object_type.h.

References CObjectType.

Referenced by newInstance.

void NLAIAGENT::CObjectType::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 68 of file object_type.h.

References NLAIC::stringGetBuild.

const NLAIC::CIdentType& NLAIAGENT::CObjectType::getType   const [inline, 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.

Definition at line 52 of file object_type.h.

bool NLAIAGENT::CObjectType::isEqual const IBasicObjectIA   a const [inline, virtual]
 

The bool operator==(const IBasicObjectIA &a) const member method call this function when class 'classType' have the same type of this class, programme have to assume the equality between the memebers of this class and the memeber of the class 'classType'.

Implements NLAIAGENT::IBasicObjectIA.

Definition at line 81 of file object_type.h.

References CObjectType, and NLAIAGENT::IBasicObjectIA::IBasicObjectIA.

void NLAIAGENT::CObjectType::load NLMISC::IStream   is [inline, virtual]
 

Load the class from a stream.

Implements NLAIC::IBasicInterface.

Definition at line 77 of file object_type.h.

const NLAIC::IBasicType* NLAIAGENT::CObjectType::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 63 of file object_type.h.

References clone.

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

Some where Run method define the process of the agen.

Implements NLAIAGENT::IObjectIA.

Definition at line 86 of file object_type.h.

void NLAIAGENT::CObjectType::save NLMISC::IStream   os [inline, virtual]
 

Save the class in a stream.

Implements NLAIC::IBasicInterface.

Definition at line 73 of file object_type.h.


Member Data Documentation

NLAIC::CIdentType* NLAIAGENT::CObjectType::_Type [private]
 

Type to store.

Definition at line 44 of file object_type.h.


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