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

IClassFactory is an basic class factory. More...

#include <abstract_interface.h>

Inheritance diagram for NLAIC::CSelfClassFactory

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

Collaboration graph
[legend]
List of all members.

Public Methods

 CSelfClassFactory (const IBasicInterface &a)
 Construct class with a builder class. More...

const IBasicInterfacecreateInstance () const
 Create a new instance from the class builder. More...

const IBasicTypeclone () const
 Clone the class factory. More...

const IBasicTypenewInstance () const
 get a new instance of the class factory. More...

void getDebugString (char *text) const
 Get debufg string. More...

const CIdentTypegetType () const
 Get the type of the class, the type is the builder type. More...

virtual const IBasicInterfacegetClass () const
 get the builder class. More...

virtual void setClass (const IBasicInterface &inst)
 Set the mirror class to build. More...

 ~CSelfClassFactory ()

Private Attributes

IBasicInterface_Inst
 Class buider. More...


Detailed Description

IClassFactory is an basic class factory.

The class builder is an IBasicInterface and we construct new class by calling newInstance method class.

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

Definition at line 364 of file abstract_interface.h.


Constructor & Destructor Documentation

NLAIC::CSelfClassFactory::CSelfClassFactory ( const IBasicInterface & a ) [inline]
 

Construct class with a builder class.

Definition at line 371 of file abstract_interface.h.

NLAIC::CSelfClassFactory::~CSelfClassFactory ( ) [inline]
 

Definition at line 420 of file abstract_interface.h.


Member Function Documentation

const IBasicType * NLAIC::CSelfClassFactory::clone ( void ) const [inline, virtual]
 

Clone the class factory.

Reimplemented from NLAIC::IBasicType.

Definition at line 383 of file abstract_interface.h.

const IBasicInterface * NLAIC::CSelfClassFactory::createInstance ( ) const [inline, virtual]
 

Create a new instance from the class builder.

Reimplemented from NLAIC::IClassFactory.

Definition at line 377 of file abstract_interface.h.

const IBasicInterface * NLAIC::CSelfClassFactory::getClass ( ) const [inline, virtual]
 

get the builder class.

Reimplemented from NLAIC::IClassFactory.

Definition at line 408 of file abstract_interface.h.

void NLAIC::CSelfClassFactory::getDebugString ( char * t ) const [inline, virtual]
 

Get debufg string.

Reimplemented from NLAIC::IBasicType.

Definition at line 396 of file abstract_interface.h.

const CIdentType & NLAIC::CSelfClassFactory::getType ( void ) const [inline, virtual]
 

Get the type of the class, the type is the builder type.

Reimplemented from NLAIC::IBasicType.

Definition at line 402 of file abstract_interface.h.

Referenced by NLAIAGENT::setRegister().

const IBasicType * NLAIC::CSelfClassFactory::newInstance ( void ) const [inline, virtual]
 

get a new instance of the class factory.

Reimplemented from NLAIC::IBasicType.

Definition at line 390 of file abstract_interface.h.

void NLAIC::CSelfClassFactory::setClass ( const IBasicInterface & inst ) [inline, virtual]
 

Set the mirror class to build.

Reimplemented from NLAIC::IClassFactory.

Definition at line 413 of file abstract_interface.h.


Member Data Documentation

IBasicInterface * NLAIC::CSelfClassFactory::_Inst [private]
 

Class buider.

Definition at line 368 of file abstract_interface.h.


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