# 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:

NLAIC::IClassFactory NLAIC::IBasicType NLAIC::IPointerGestion NLMISC::IStreamable NLMISC::IClassable 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 (std::string &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:
Chafik sameh , Nevrax France
Date:
2000

Definition at line 387 of file abstract_interface.h.


Constructor & Destructor Documentation

NLAIC::CSelfClassFactory::CSelfClassFactory const IBasicInterface   a [inline]
 

Construct class with a builder class.

Definition at line 394 of file abstract_interface.h.

References newInstance.

Referenced by clone.

NLAIC::CSelfClassFactory::~CSelfClassFactory   [inline]
 

Definition at line 444 of file abstract_interface.h.


Member Function Documentation

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

Clone the class factory.

Implements NLAIC::IBasicType.

Definition at line 406 of file abstract_interface.h.

References CSelfClassFactory, NLAIC::IBasicType::IBasicType, and x.

Referenced by newInstance.

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

Create a new instance from the class builder.

Implements NLAIC::IClassFactory.

Definition at line 400 of file abstract_interface.h.

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

get the builder class.

Implements NLAIC::IClassFactory.

Definition at line 432 of file abstract_interface.h.

void NLAIC::CSelfClassFactory::getDebugString std::string &    text const [inline, virtual]
 

Get debufg string.

Implements NLAIC::IBasicType.

Definition at line 419 of file abstract_interface.h.

References NLAIC::stringGetBuild.

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

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

Implements NLAIC::IBasicType.

Definition at line 426 of file abstract_interface.h.

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

get a new instance of the class factory.

Implements NLAIC::IBasicType.

Definition at line 413 of file abstract_interface.h.

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

Referenced by CSelfClassFactory.

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

Set the mirror class to build.

Implements NLAIC::IClassFactory.

Definition at line 437 of file abstract_interface.h.


Member Data Documentation

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

Class buider.

Definition at line 391 of file abstract_interface.h.


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