5 #include <libutl/Object.h> 35 virtual Object* make(
const Object* arg =
nullptr)
const = 0;
79 return utl::cast<T>(make(arg));
#define UTL_CLASS_IMPL_TPL(className, T)
Implementation of standard UTL++ functionality for a template class.
#define UTL_CLASS_DEFID
Default init() and deInit() (which are merely place-holders).
Template version of Factory.
#define UTL_CLASS_DECL_ABC(DC, BC)
Declaration of standard UTL++ functionality for an abstract base class (ABC).
#define UTL_CLASS_DECL_TPL(DC, T, BC)
Declaration of standard UTL++ functionality for a template class with one parameter.
T * makeT(const Object *arg=nullptr) const
Make a new object.
virtual Object * make(const Object *arg=nullptr) const
Make a new object.
Root of UTL++ class hierarchy.
Object creation abstraction.
#define ASSERTD
Do an assertion in DEBUG mode only.