Class cubbase::factory¶
template <typename object_key, typename object_base>
#include <object_factory.hpp>
Public Functions¶
| Type | Name |
|---|---|
| object_base * | create_object (object_key k) |
| int | register_creator (object_key k, std::function< object_base *()> object_creator=default_creator< object_type >) |
Public Functions Documentation¶
function create_object¶
function register_creator¶
template<typename object_type>
inline int cubbase::factory::register_creator (
object_key k,
std::function< object_base *()> object_creator=default_creator < object_type >
)
The documentation for this class was generated from the following file cubrid/src/base/object_factory.hpp