cartobase  4.5.0
carto::ObjectFactory Class Reference

#include <cartobase/object/object_factory.h>

Inheritance diagram for carto::ObjectFactory:
Collaboration diagram for carto::ObjectFactory:

Public Types

typedef Object(* ObjectFactoryFunction )()
- Public Types inherited from carto::RCObject
typedef int RefCounterType

Static Public Member Functions

static void registerFactory (const std::string &type, ObjectFactoryFunction)
template<typename T >
static void registerDefaultFactory (const std::string &type)
static Object createObject (const std::string &type)

Additional Inherited Members

- Public Member Functions inherited from carto::RCObject
 RCObject ()
 RCObject (const RCObject &)
RCObjectoperator= (const RCObject &)

Detailed Description

Definition at line 41 of file object_factory.h.

Member Typedef Documentation

typedef Object(* carto::ObjectFactory::ObjectFactoryFunction)()

Definition at line 45 of file object_factory.h.

Member Function Documentation

static Object carto::ObjectFactory::createObject ( const std::string &  type)
template<typename T >
void carto::ObjectFactory::registerDefaultFactory ( const std::string &  type)

Definition at line 74 of file object_factory.h.

static void carto::ObjectFactory::registerFactory ( const std::string &  type,

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