17typedef void *WvMonikerCreateFunc(WvStringParm parms,
IObject *obj);
34 WvMonikerBase(
const UUID &iid, WvStringParm _id,
35 WvMonikerCreateFunc *func,
const bool override =
false);
40 WvMonikerRegistry *reg;
64 typedef T *CreateFunc(WvStringParm parms, IObject *obj);
66 WvMoniker(WvStringParm _id, CreateFunc *_func,
const bool override =
false)
67 : WvMonikerBase(XPLC_IID<T>::
get(), _id, (WvMonikerCreateFunc *)_func,
74 for(IObject *silly = (T *)NULL; silly; )
89void *wvcreate(
const UUID &iid, WvStringParm s,
IObject *obj);
104inline T *wvcreate(WvStringParm s,
IObject *obj = 0)
The basic interface which is included by all other XPLC interfaces and objects.
WvMonikerBase is an auto-registration class for putting things into a WvMonikerRegistry.
A list for holding moniker-prefix to factory-function mappings.
A type-safe version of WvMonikerBase that lets you provide create functions for object types other th...
Interface * get(IObject *aObj)
XPLC equivalent to dynamic_cast.