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

IClassFactory is an abstract hows define an class factory,. More...

#include <abstract_interface.h>

Inheritance diagram for NLAIC::IClassFactory

Inheritance graph
[legend]
Collaboration diagram for NLAIC::IClassFactory:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const IBasicInterfacecreateInstance () const = 0
 This function allow a new instance, that mean that the class is a class factory.

virtual const IBasicInterfacegetClass () const = 0
 This method allow user to get the builder class where a builder is the class hows make new instance.

virtual void setClass (const IBasicInterface &) = 0
 Set the mirror class to build.


Detailed Description

IClassFactory is an abstract hows define an class factory,.

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

Definition at line 339 of file abstract_interface.h.


Member Function Documentation

const IBasicInterface * NLAIC::IClassFactory::createInstance ( ) const [pure virtual]
 

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

Reimplemented in NLAIC::CSelfClassFactory, and NLAISCRIPT::CClassInterpretFactory.

const IBasicInterface * NLAIC::IClassFactory::getClass ( ) const [pure virtual]
 

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

Reimplemented in NLAIC::CSelfClassFactory, and NLAISCRIPT::CClassInterpretFactory.

Referenced by NLAISCRIPT::reinitClass().

void NLAIC::IClassFactory::setClass ( const IBasicInterface & inst ) [pure virtual]
 

Set the mirror class to build.

Reimplemented in NLAIC::CSelfClassFactory.

Referenced by NLAISCRIPT::reinitClass().


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