ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DefaultFactoryError< AbstractProduct > Class Template Reference

#include <coresoftware/blob/master/offline/database/pdbcal/base/PHGenericFactoryT.h>

Protected Member Functions

AbstractProduct * OnUnknownType (const std::string &)
 

Detailed Description

template<class AbstractProduct>
class DefaultFactoryError< AbstractProduct >

A Factory to build objects.

This is more or less a (somewhat) de-templatized version of what can be found in Loki class library ( "Modern C++ Design" by Andrei Alexandrescu (Addison Wesley ISBN 0-201-70431-5) chapter 8 on Object Factories )

The (partial) de-templatization is only due to the fact that there's problably no chance to get the original Loki .h file parsed by CINT in order to get a decent ROOT dictionary (that's a pity because it's a nice piece of code ;-) )

Definition at line 26 of file PHGenericFactoryT.h.

View newest version in sPHENIX GitHub at line 26 of file PHGenericFactoryT.h

Member Function Documentation

template<class AbstractProduct >
AbstractProduct* DefaultFactoryError< AbstractProduct >::OnUnknownType ( const std::string &  )
inlineprotected

Definition at line 29 of file PHGenericFactoryT.h.

View newest version in sPHENIX GitHub at line 29 of file PHGenericFactoryT.h


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