Bayeux  3.4.1
Core Foundation library for SuperNEMO
Public Member Functions | List of all members
datatools::_system_factory_registrator< BaseType, DerivedType > Class Template Reference

Utility template class to enable auto-(un)registration of a derived class in a system factory register of a base class. More...

#include <bayeux/datatools/factory.h>

Public Member Functions

 _system_factory_registrator (const std::string &type_id_)
 
 ~_system_factory_registrator ()
 
const std::string & get_type_id () const
 Return registered type id. More...
 

Detailed Description

template<class BaseType, class DerivedType>
class datatools::_system_factory_registrator< BaseType, DerivedType >

Utility template class to enable auto-(un)registration of a derived class in a system factory register of a base class.

Constructor & Destructor Documentation

◆ _system_factory_registrator()

template<class BaseType, class DerivedType>
datatools::_system_factory_registrator< BaseType, DerivedType >::_system_factory_registrator ( const std::string &  type_id_)
inline

◆ ~_system_factory_registrator()

template<class BaseType, class DerivedType>
datatools::_system_factory_registrator< BaseType, DerivedType >::~_system_factory_registrator ( )
inline

Member Function Documentation

◆ get_type_id()

template<class BaseType, class DerivedType>
const std::string& datatools::_system_factory_registrator< BaseType, DerivedType >::get_type_id ( ) const
inline

Return registered type id.


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