WvMoniker< T > Class Template Reference

#include <wvmoniker.h>

Inheritance diagram for WvMoniker< T >:
[legend]

List of all members.


Detailed Description

template<class T>
class WvMoniker< T >

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.


Public Member Functions

typedef T * CreateFunc (WvStringParm parms)
 WvMoniker (WvStringParm _id, CreateFunc *_func)

Public Attributes

WvString id
WvMonikerRegistryreg

The documentation for this class was generated from the following file:
Generated on Thu Jan 24 16:51:04 2008 for WvStreams by  doxygen 1.5.4