Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

WvMonikerRegistry Class Reference

#include <wvmonikerregistry.h>

Inherits IObject.

Collaboration diagram for WvMonikerRegistry:

[legend]
List of all members.

Detailed Description

A dictionary for holding moniker-prefix to factory-function mappings.

This is used by WvMoniker and wvcreate(). See those for details.

Definition at line 18 of file wvmonikerregistry.h.

Public Member Functions

 WvMonikerRegistry (const XUUID &iid)
virtual ~WvMonikerRegistry ()
virtual void add (WvStringParm id, WvMonikerCreateFunc *func)
virtual void del (WvStringParm id)
virtual IObject * create (WvStringParm _s, IObject *obj=NULL, void *userdata=NULL)
virtual IObject * getInterface (const XUUID &uuid)
virtual unsigned int addRef ()
virtual unsigned int release ()

Static Public Member Functions

WvMonikerRegistry * find_reg (const XUUID &iid)

Public Attributes

XUUID reg_iid
RegistrationDict dict


Constructor & Destructor Documentation

WvMonikerRegistry::WvMonikerRegistry (  const XUUID &  iid  ) 
 

Definition at line 40 of file wvmoniker.cc.

References DEBUGLOG, and WvMonikerRegistry().

Referenced by WvMonikerRegistry().

WvMonikerRegistry::~WvMonikerRegistry (   )  [virtual]
 

Definition at line 48 of file wvmoniker.cc.

References DEBUGLOG.


Member Function Documentation

void WvMonikerRegistry::add (  WvStringParm  id,
WvMonikerCreateFunc *  func
)  [virtual]
 

Definition at line 54 of file wvmoniker.cc.

References add(), DEBUGLOG, dict, WvMonikerCreateFunc, and WvStringParm.

Referenced by add(), and WvMonikerBase::WvMonikerBase().

unsigned int WvMonikerRegistry::addRef (   )  [virtual]
 

Implements IObject.

Definition at line 132 of file wvmoniker.cc.

References DEBUGLOG.

Referenced by find_reg(), and getInterface().

IObject * WvMonikerRegistry::create (  WvStringParm  _s,
IObject *  obj = NULL,
void *  userdata = NULL
)  [virtual]
 

Definition at line 70 of file wvmoniker.cc.

References IObject::addRef(), create(), WvFastString::cstr(), DEBUGLOG, dict, and WvString::edit().

Referenced by create(), and wvcreate().

void WvMonikerRegistry::del (  WvStringParm  id  )  [virtual]
 

Definition at line 62 of file wvmoniker.cc.

References DEBUGLOG, del(), and dict.

Referenced by del(), and WvMonikerBase::~WvMonikerBase().

WvMonikerRegistry * WvMonikerRegistry::find_reg (  const XUUID &  iid  )  [static]
 

Definition at line 94 of file wvmoniker.cc.

References addRef(), DEBUGLOG, find_reg(), and regs.

Referenced by find_reg().

IObject * WvMonikerRegistry::getInterface (  const XUUID &  uuid  )  [virtual]
 

Definition at line 116 of file wvmoniker.cc.

References addRef(), and getInterface().

Referenced by getInterface().

unsigned int WvMonikerRegistry::release (   )  [virtual]
 

Implements IObject.

Definition at line 139 of file wvmoniker.cc.

References DEBUGLOG, and regs.

Referenced by wvcreate(), and WvMonikerBase::~WvMonikerBase().


Member Data Documentation

RegistrationDict WvMonikerRegistry::dict
 

Definition at line 36 of file wvmonikerregistry.h.

Referenced by add(), create(), and del().

XUUID WvMonikerRegistry::reg_iid
 

Definition at line 35 of file wvmonikerregistry.h.


The documentation for this class was generated from the following files:
Generated on Tue Oct 5 01:09:29 2004 for WvStreams by doxygen 1.3.7