Public Member Functions | Static Public Member Functions | List of all members
i2d::CObject2dFactory Class Reference

Simple factory for 2D-objects. More...

#include <CObject2dFactory.h>

Inheritance diagram for i2d::CObject2dFactory:
istd::TIFactory< Interface > istd::IFactoryInfo istd::IPolymorphic

Public Member Functions

virtual iser::IObjectCreateInstance (const QByteArray &keyId="") const
 Create an instance of the object, mapped to the keyId keyId. More...
 
virtual KeyList GetFactoryKeys () const
 Returns all posible keys for this factory. More...
 
- Public Member Functions inherited from istd::IPolymorphic
virtual ~IPolymorphic ()
 

Static Public Member Functions

static const CObject2dFactoryGetInstance ()
 

Additional Inherited Members

- Public Types inherited from istd::TIFactory< Interface >
typedef Interface InterfaceType
 
- Public Types inherited from istd::IFactoryInfo
typedef QSet< QByteArray > KeyList
 

Detailed Description

Simple factory for 2D-objects.

Definition at line 16 of file CObject2dFactory.h.

Member Function Documentation

virtual iser::IObject* i2d::CObject2dFactory::CreateInstance ( const QByteArray &  keyId = "") const
virtual

Create an instance of the object, mapped to the keyId keyId.

Parameters
keyId
Returns
pointer to created object or NULL if it was not possible to create it or keyId does not exist.

Implements istd::TIFactory< Interface >.

virtual KeyList i2d::CObject2dFactory::GetFactoryKeys ( ) const
virtual

Returns all posible keys for this factory.

Implements istd::IFactoryInfo.

static const CObject2dFactory& i2d::CObject2dFactory::GetInstance ( )
static

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

© 2007-2017 Witold Gantzke and Kirill Lepskiy