Loading...
Searching...
No Matches
opennn::Registry< T > Class Template Reference
#include <registry.h>
Public Types | |
| using | Creator = function<unique_ptr<T>()> |
Public Member Functions | |
| void | register_component (const string &name, Creator creator) |
| unique_ptr< T > | create (const string &name) const |
| vector< string > | registered_names () const |
Static Public Member Functions | |
| static Registry & | instance () |
Member Typedef Documentation
◆ Creator
template<typename T>
| using opennn::Registry< T >::Creator = function<unique_ptr<T>()> |
Member Function Documentation
◆ create()
template<typename T>
|
inlinenodiscard |
◆ instance()
template<typename T>
|
inlinestaticnodiscard |
◆ register_component()
template<typename T>
|
inline |
◆ registered_names()
template<typename T>
|
inlinenodiscard |