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

Class CClassInterpretFactory. More...

#include <interpret_object.h>

Inheritance diagram for NLAISCRIPT::CClassInterpretFactory:

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

Public Methods

 CClassInterpretFactory (IClassInterpret *a)
 CClassInterpretFactory (const IClassInterpret &a)
virtual ~CClassInterpretFactory ()
IClassCFactory method.
void setClass (const NLAIC::IBasicInterface &)
virtual void getDebugString (std::string &) 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...

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

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

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

const NLAIC::IBasicInterfacegetClass () const
 This method allow user to get the builder class where a builder is the class hows make new instance. More...


Private Attributes

IClassInterpret_Inst

Detailed Description

Class CClassInterpretFactory.

This class define a class class factory for object derived from IClassInterpret.

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

Definition at line 197 of file interpret_object.h.


Constructor & Destructor Documentation

NLAISCRIPT::CClassInterpretFactory::CClassInterpretFactory IClassInterpret   a
 

Definition at line 114 of file interpret_object.cpp.

References _Inst.

Referenced by clone.

NLAISCRIPT::CClassInterpretFactory::CClassInterpretFactory const IClassInterpret   a
 

Definition at line 124 of file interpret_object.cpp.

NLAISCRIPT::CClassInterpretFactory::~CClassInterpretFactory   [virtual]
 

Definition at line 128 of file interpret_object.cpp.

References _Inst.


Member Function Documentation

const NLAIC::IBasicType * NLAISCRIPT::CClassInterpretFactory::clone   const [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 144 of file interpret_object.cpp.

References _Inst, CClassInterpretFactory, and x.

Referenced by newInstance.

const NLAIC::IBasicInterface * NLAISCRIPT::CClassInterpretFactory::createInstance   const [virtual]
 

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

Implements NLAIC::IClassFactory.

Definition at line 160 of file interpret_object.cpp.

References _Inst.

const NLAIC::IBasicInterface * NLAISCRIPT::CClassInterpretFactory::getClass   const [virtual]
 

This method allow user to get the builder class where a builder is the class hows make new instance.

Implements NLAIC::IClassFactory.

Definition at line 165 of file interpret_object.cpp.

References _Inst.

void NLAISCRIPT::CClassInterpretFactory::getDebugString std::string &    const [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 139 of file interpret_object.cpp.

References _Inst, and NLAIC::stringGetBuild.

const NLAIC::CIdentType & NLAISCRIPT::CClassInterpretFactory::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.

Definition at line 155 of file interpret_object.cpp.

References _Inst.

const NLAIC::IBasicType * NLAISCRIPT::CClassInterpretFactory::newInstance   const [virtual]
 

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

Implements NLAIC::IBasicType.

Definition at line 150 of file interpret_object.cpp.

References clone.

void NLAISCRIPT::CClassInterpretFactory::setClass const NLAIC::IBasicInterface  
 

Definition at line 133 of file interpret_object.cpp.

References _Inst, and NLAIC::IBasicType::clone.


Member Data Documentation

IClassInterpret* NLAISCRIPT::CClassInterpretFactory::_Inst [private]
 

Definition at line 200 of file interpret_object.h.

Referenced by CClassInterpretFactory, clone, createInstance, getClass, getDebugString, getType, setClass, and ~CClassInterpretFactory.


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