WvStreams
Public Attributes | Protected Member Functions | List of all members
WvMonikerBase Class Reference

WvMonikerBase is an auto-registration class for putting things into a WvMonikerRegistry. More...

#include <wvmoniker.h>

Inheritance diagram for WvMonikerBase:
Inheritance graph
[legend]

Public Attributes

WvString id
 
WvMonikerRegistryreg
 

Protected Member Functions

 WvMonikerBase (const UUID &iid, WvStringParm _id, WvMonikerCreateFunc *func, const bool override=false)
 

Detailed Description

WvMonikerBase is an auto-registration class for putting things into a WvMonikerRegistry.

When a WvMonikerBase instance is created, it registers a moniker prefix ("test:", "ssl:", "ini:", etc) and a factory function that can be used to create an IObject using that prefix.

When the instance is destroyed, it auto-unregisters the moniker prefix from the registry.

You can't actually create one of these, because it's not typesafe. See WvMoniker<T> instead.

Definition at line 31 of file wvmoniker.h.

Constructor & Destructor Documentation

◆ WvMonikerBase()

WvMonikerBase::WvMonikerBase ( const UUID iid,
WvStringParm  _id,
WvMonikerCreateFunc *  func,
const bool  override = false 
)
protected

Definition at line 183 of file wvmoniker.cc.

◆ ~WvMonikerBase()

WvMonikerBase::~WvMonikerBase ( )
protected

Definition at line 194 of file wvmoniker.cc.

Member Data Documentation

◆ id

WvString WvMonikerBase::id

Definition at line 39 of file wvmoniker.h.

◆ reg

WvMonikerRegistry* WvMonikerBase::reg

Definition at line 40 of file wvmoniker.h.


The documentation for this class was generated from the following files: