Public Member Functions | Private Member Functions
class_loader::class_loader_private::AbstractMetaObject< B > Class Template Reference

Abstract base class for factories where polymorphic type variable indicates base class for plugin interface. B The base class interface for the plugin. More...

#include <meta_object.h>

Inheritance diagram for class_loader::class_loader_private::AbstractMetaObject< B >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 AbstractMetaObject (const std::string &class_name, const std::string &base_class_name)
 A constructor for this class.
virtual B * create () const =0
 Defines the factory interface that the MetaObject must implement.

Private Member Functions

 AbstractMetaObject ()
 AbstractMetaObject (const AbstractMetaObject &)
AbstractMetaObjectoperator= (const AbstractMetaObject &)

Detailed Description

template<class B>
class class_loader::class_loader_private::AbstractMetaObject< B >

Abstract base class for factories where polymorphic type variable indicates base class for plugin interface. B The base class interface for the plugin.

Definition at line 142 of file meta_object.h.


Constructor & Destructor Documentation

template<class B>
class_loader::class_loader_private::AbstractMetaObject< B >::AbstractMetaObject ( const std::string &  class_name,
const std::string &  base_class_name 
) [inline]

A constructor for this class.

Parameters:
nameThe literal name of the class.

Definition at line 149 of file meta_object.h.

Create a new instance of a class. Cannot be used for singletons.


Member Function Documentation

template<class B>
virtual B* class_loader::class_loader_private::AbstractMetaObject< B >::create ( ) const [pure virtual]

Defines the factory interface that the MetaObject must implement.

Returns:
A pointer of parametric type B to a newly created object.

Implemented in class_loader::class_loader_private::MetaObject< C, B >.

template<class B>
AbstractMetaObject& class_loader::class_loader_private::AbstractMetaObject< B >::operator= ( const AbstractMetaObject< B > &  ) [private]

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


class_loader
Author(s): Mirza Shah
autogenerated on Fri Aug 28 2015 10:17:12