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) |
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.