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

wvmoniker.cc File Reference

#include "wvmonikerregistry.h"
#include <assert.h>
#include <stdio.h>

Go to the source code of this file.

Defines

#define DEBUGLOG(fmt, args...)

Functions

unsigned WvHash (const XUUID &_uuid)
 DeclareWvDict (WvMonikerRegistry, XUUID, reg_iid)
IObjectwvcreate (const XUUID &iid, WvStringParm s, IObject *obj, void *userdata)
 Create an object registered in a WvMonikerRegistry.


Variables

WvMonikerRegistryDict * regs


Define Documentation

#define DEBUGLOG fmt,
args...   ) 
 

Definition at line 16 of file wvmoniker.cc.

Referenced by WvMonikerRegistry::add(), WvMonikerRegistry::addRef(), WvMonikerRegistry::create(), WvMonikerRegistry::del(), WvMonikerRegistry::find_reg(), WvMonikerRegistry::release(), WvMonikerBase::WvMonikerBase(), WvMonikerRegistry::WvMonikerRegistry(), WvMonikerBase::~WvMonikerBase(), and WvMonikerRegistry::~WvMonikerRegistry().


Function Documentation

DeclareWvDict WvMonikerRegistry  ,
XUUID  ,
reg_iid 
 

IObject* wvcreate const XUUID iid,
WvStringParm  s,
IObject obj = NULL,
void *  userdata = NULL
 

Create an object registered in a WvMonikerRegistry.

The iid specifies which registry to look in, and s, obj, and userdata are the parameters to supply to the object's factory. Most factories need only 's', which is the moniker itself.

Most people don't use this function. See the templated, type-safe version of wvcreate() below.

Definition at line 188 of file wvmoniker.cc.

References WvMonikerRegistry::create(), WvMonikerRegistry::find_reg(), WvMonikerRegistry::release(), and WvStringParm.

Referenced by wvcreate().

unsigned WvHash const XUUID _uuid  )  [static]
 

Definition at line 23 of file wvmoniker.cc.

Referenced by WvHashTable< T, K, Accessor, Comparator >::getlink(), WvScatterHash< UniHashTreeBase, UniConfKey, Accessor >::hash(), WvHashTable< T, K, Accessor, Comparator >::hash(), WvScatterHash< UniHashTreeBase, UniConfKey, Accessor >::operator[](), WvHashTable< T, K, Accessor, Comparator >::operator[](), and WvHash().


Variable Documentation

WvMonikerRegistryDict* regs [static]
 

Definition at line 36 of file wvmoniker.cc.

Referenced by WvMonikerRegistry::find_reg(), and WvMonikerRegistry::release().


Generated on Sat Feb 21 21:05:45 2004 for WvStreams by doxygen 1.3.5