WvStreams
|
A type-safe version of WvMonikerBase that lets you provide create functions for object types other than IObject. More...
#include <wvmoniker.h>
Public Types | |
typedef T * | CreateFunc(WvStringParm parms, IObject *obj) |
Public Member Functions | |
WvMoniker (WvStringParm _id, CreateFunc *_func, const bool override=false) | |
Public Attributes | |
WvString | id |
WvMonikerRegistry * | reg |
A type-safe version of WvMonikerBase that lets you provide create functions for object types other than IObject.
(The objects themselves have to be derived from IObject, however.)
See WvMonikerBase for details.
Example: static IWvStream *createfunc(WvStringParm s, IObject *obj, void *userdata) { return new WvStream; }
static WvMoniker<IWvStream> registration("ssl", createfunc);
Definition at line 61 of file wvmoniker.h.
typedef T * WvMoniker< T >::CreateFunc(WvStringParm parms, IObject *obj) |
Definition at line 64 of file wvmoniker.h.
|
inline |
Definition at line 66 of file wvmoniker.h.
|
inherited |
Definition at line 39 of file wvmoniker.h.
|
inherited |
Definition at line 40 of file wvmoniker.h.