ObjectStore C++ API Reference

os_DLL_finder

class os_DLL_finder { 
public: 
Functions in this class are used to create a DLL identifier prefix. Create a subclass of this class to implement a new kind of DLL identifier. A prefix before a colon in a DLL identifier string maps to a DLL finder subclass.

Required header files
<ostore/client/dll_fndr.hh>

os_DLL_finder::register_()

void register_(const char* prefix); 
Register this as the finder for DLL identifiers with the given prefix.

os_DLL_finder::unregister()

void unregister(const char* prefix);

Unregisters a DLL finder sto that it is no longer the finder for DLL identifiers with the given prefix.

os_DLL_finder::get()

static os_DLL_finder* get(const char* DLL_identifier);
Gets the finder for the specified DLL_identifier's prefix or returns null if none is registered.

os_DLL_finder::equal_DLL_identifiers()

static os_boolean equal_DLL_identifiers(
      const char* id1, const char* id2
);
Compares two DLL identifier strings and returns true if the identifier strings are eqivalent.

os_DLL_finder::load_DLL

virtual os_DLL_handle load_DLL(
      const char* DLL_identifier,           
      os_boolean error_if_not_found) = 0; 
Each subclass of os_DLL_finder must provide an implementation of load_DLL() that interprets the suffix part of the DLL identifier and calls the appropriate operating system API (or calls another os_DLL_finder) to load the DLL.

os_DLL_finder::load_DLL

virtual os_boolean equal_DLL_identifiers_same_prefix(
      const char* id1, 
      const char* id2) = 0;
Each subclass of os_DLL_finder must provide an implementation of equal_DLL_identifiers_same_prefix that compares two DLL identifiers that are both implemented by this finder and returns true if they are equal.



[previous] [next]

Copyright © 1997 Object Design, Inc. All rights reserved.

Updated: 03/31/98 17:25:09