Rosetta
Public Types | Public Member Functions | Private Member Functions | List of all members
utility::factory::Registrant< P > Class Template Reference

Factory registrant. More...

#include <Registrant.hh>

Public Types

typedef P Product
 
typedef Factory< ProductProductFactory
 
typedef ProductFactory::Key Key
 
typedef ProductFactory::KeyP KeyP
 
typedef ProductFactory::KeyFxn KeyFxn
 
typedef ProductFactory::Create Create
 

Public Member Functions

 Registrant (Key const &key, Create create)
 1 Key constructor More...
 
 Registrant (KeyP const &key_p, Create create)
 1 Key pointer constructor More...
 
 Registrant (KeyFxn key_fxn, Create create)
 1 Key function constructor More...
 
 Registrant (Key const &key1, Key const &key2, Create create)
 2 Key constructor More...
 
 Registrant (KeyP const &key1_p, KeyP const &key2_p, Create create)
 2 Key pointer constructor More...
 
 Registrant (KeyFxn key1_fxn, KeyFxn key2_fxn, Create create)
 2 Key function constructor More...
 
 Registrant (Key const &key1, Key const &key2, Key const &key3, Create create)
 3 Key constructor More...
 
 Registrant (KeyP const &key1_p, KeyP const &key2_p, KeyP const &key3_p, Create create)
 3 Key pointer constructor More...
 
 Registrant (KeyFxn key1_fxn, KeyFxn key2_fxn, KeyFxn key3_fxn, Create create)
 3 Key function constructor More...
 

Private Member Functions

 Registrant (Registrant const &)
 Copy constructor. More...
 
Registrantoperator= (Registrant const &)
 Copy assignment. More...
 

Detailed Description

template<typename P>
class utility::factory::Registrant< P >

Factory registrant.

Member Typedef Documentation

◆ Create

template<typename P >
typedef ProductFactory::Create utility::factory::Registrant< P >::Create

◆ Key

template<typename P >
typedef ProductFactory::Key utility::factory::Registrant< P >::Key

◆ KeyFxn

template<typename P >
typedef ProductFactory::KeyFxn utility::factory::Registrant< P >::KeyFxn

◆ KeyP

template<typename P >
typedef ProductFactory::KeyP utility::factory::Registrant< P >::KeyP

◆ Product

template<typename P >
typedef P utility::factory::Registrant< P >::Product

◆ ProductFactory

template<typename P >
typedef Factory< Product > utility::factory::Registrant< P >::ProductFactory

Constructor & Destructor Documentation

◆ Registrant() [1/10]

template<typename P >
utility::factory::Registrant< P >::Registrant ( Registrant< P > const &  )
private

Copy constructor.

◆ Registrant() [2/10]

template<typename P >
utility::factory::Registrant< P >::Registrant ( Key const &  key,
Create  create 
)
inline

◆ Registrant() [3/10]

template<typename P >
utility::factory::Registrant< P >::Registrant ( KeyP const &  key_p,
Create  create 
)
inline

1 Key pointer constructor

References utility::factory::Factory< P >::add().

◆ Registrant() [4/10]

template<typename P >
utility::factory::Registrant< P >::Registrant ( KeyFxn  key_fxn,
Create  create 
)
inline

1 Key function constructor

References utility::factory::Factory< P >::add().

◆ Registrant() [5/10]

template<typename P >
utility::factory::Registrant< P >::Registrant ( Key const &  key1,
Key const &  key2,
Create  create 
)
inline

2 Key constructor

References utility::factory::Factory< P >::add().

◆ Registrant() [6/10]

template<typename P >
utility::factory::Registrant< P >::Registrant ( KeyP const &  key1_p,
KeyP const &  key2_p,
Create  create 
)
inline

2 Key pointer constructor

References utility::factory::Factory< P >::add().

◆ Registrant() [7/10]

template<typename P >
utility::factory::Registrant< P >::Registrant ( KeyFxn  key1_fxn,
KeyFxn  key2_fxn,
Create  create 
)
inline

2 Key function constructor

References utility::factory::Factory< P >::add().

◆ Registrant() [8/10]

template<typename P >
utility::factory::Registrant< P >::Registrant ( Key const &  key1,
Key const &  key2,
Key const &  key3,
Create  create 
)
inline

3 Key constructor

References utility::factory::Factory< P >::add().

◆ Registrant() [9/10]

template<typename P >
utility::factory::Registrant< P >::Registrant ( KeyP const &  key1_p,
KeyP const &  key2_p,
KeyP const &  key3_p,
Create  create 
)
inline

3 Key pointer constructor

References utility::factory::Factory< P >::add().

◆ Registrant() [10/10]

template<typename P >
utility::factory::Registrant< P >::Registrant ( KeyFxn  key1_fxn,
KeyFxn  key2_fxn,
KeyFxn  key3_fxn,
Create  create 
)
inline

3 Key function constructor

References utility::factory::Factory< P >::add().

Member Function Documentation

◆ operator=()

template<typename P >
Registrant& utility::factory::Registrant< P >::operator= ( Registrant< P > const &  )
private

Copy assignment.


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