Scarab  v2.0.0
Project 8 C++ Utility Library
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
registrar< XBaseType, XDerivedType, void > Class Template Reference

#include <factory.hh>

Inheritance diagram for registrar< XBaseType, XDerivedType, void >:
Inheritance graph

Public Member Functions

 registrar (const std::string &a_class_name)
 
virtual ~registrar ()
 
- Public Member Functions inherited from base_registrar< XBaseType >
 base_registrar ()
 
virtual ~base_registrar ()
 

Protected Member Functions

void register_class (const std::string &a_class_name) const
 
XBaseType * create () const
 
- Protected Member Functions inherited from base_registrar< XBaseType >
virtual XBaseType * create (XArgs...args) const =0
 

Protected Attributes

std::string f_class_name
 

Detailed Description

template<class XBaseType, class XDerivedType>
class scarab::registrar< XBaseType, XDerivedType, void >

Definition at line 117 of file factory.hh.

Constructor & Destructor Documentation

registrar ( const std::string &  a_class_name)

Definition at line 377 of file factory.hh.

~registrar ( )
virtual

Definition at line 385 of file factory.hh.

Member Function Documentation

XBaseType * create ( ) const
protected

Definition at line 398 of file factory.hh.

void register_class ( const std::string &  a_class_name) const
protected

Definition at line 391 of file factory.hh.

Member Data Documentation

std::string f_class_name
protected

Definition at line 128 of file factory.hh.


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