
This provides some compile-time insulation from nub::obj_factory for clients that only need to create objects, but don't need to register new object-creation functions.
Functions | |
| nub::soft_ref< nub::object > | new_obj (const char *type) |
| Will not return 0; will throw an exception on failure. | |
| nub::soft_ref< nub::object > | new_obj (const rutz::fstring &type) |
| Will not return 0; will throw an exception on failure. | |
| template<class T, class S> | |
| nub::soft_ref< T > | new_typed_obj (S type) |
|
|
Will not return 0; will throw an exception on failure.
Definition at line 50 of file objmgr.cc. References GVX_TRACE, nub::obj_factory::instance(), and rutz::factory< T >::new_checked_object(). |
|
|
Will not return 0; will throw an exception on failure.
Definition at line 45 of file objmgr.cc. Referenced by tcl::obj::make_unique(), new_typed_obj(), objNew(), objNewArgs(), and objNewArr(). |
1.4.4