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 Types

typedef T * CreateFunc (WvStringParm parms)

Public Member Functions

 WvMoniker (WvStringParm _id, CreateFunc *_func)

Public Attributes

WvString id
WvMonikerRegistryreg


The documentation for this class was generated from the following file:
Generated on Sun Sep 24 20:11:15 2006 for WvStreams by  doxygen 1.4.7