Graphite Version 3
An experimental 3D geometry processing program
Loading...
Searching...
No Matches
OGF::BasicFactoriesWithArg< T, ARG > Class Template Reference

Public Member Functions

void register_factory (const std::string &name, BasicFactoryWithArg< T, ARG > *f)
void unregister_factory (const std::string &name)
bool factory_is_bound (const std::string &name) const
void list_factory_names (std::vector< std::string > &names) const
std::string factory_names () const
T * create (const std::string &name, ARG x)

Detailed Description

template<class T, class ARG>
class OGF::BasicFactoriesWithArg< T, ARG >

Definition at line 120 of file basic_factory.h.

Member Function Documentation

◆ create()

template<class T, class ARG>
T * OGF::BasicFactoriesWithArg< T, ARG >::create ( const std::string & name,
ARG x )
inline

Definition at line 152 of file basic_factory.h.

◆ factory_is_bound()

template<class T, class ARG>
bool OGF::BasicFactoriesWithArg< T, ARG >::factory_is_bound ( const std::string & name) const
inline

Definition at line 133 of file basic_factory.h.

◆ factory_names()

template<class T, class ARG>
std::string OGF::BasicFactoriesWithArg< T, ARG >::factory_names ( ) const
inline

Definition at line 142 of file basic_factory.h.

◆ list_factory_names()

template<class T, class ARG>
void OGF::BasicFactoriesWithArg< T, ARG >::list_factory_names ( std::vector< std::string > & names) const
inline

Definition at line 136 of file basic_factory.h.

◆ register_factory()

template<class T, class ARG>
void OGF::BasicFactoriesWithArg< T, ARG >::register_factory ( const std::string & name,
BasicFactoryWithArg< T, ARG > * f )
inline

Definition at line 124 of file basic_factory.h.

◆ unregister_factory()

template<class T, class ARG>
void OGF::BasicFactoriesWithArg< T, ARG >::unregister_factory ( const std::string & name)
inline

Definition at line 128 of file basic_factory.h.


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