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

Public Member Functions

void register_factory (const std::string &name, BasicFactory< T > *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)
 

Detailed Description

template<class T>
class OGF::BasicFactories< T >

Definition at line 66 of file basic_factory.h.

Member Function Documentation

◆ create()

template<class T >
T * OGF::BasicFactories< T >::create ( const std::string &  name)
inline

Definition at line 98 of file basic_factory.h.

◆ factory_is_bound()

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

Definition at line 79 of file basic_factory.h.

◆ factory_names()

template<class T >
std::string OGF::BasicFactories< T >::factory_names ( ) const
inline

Definition at line 88 of file basic_factory.h.

◆ list_factory_names()

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

Definition at line 82 of file basic_factory.h.

◆ register_factory()

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

Definition at line 70 of file basic_factory.h.

◆ unregister_factory()

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

Definition at line 74 of file basic_factory.h.


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