Index

DKHandle

Purpose:

This class is a holder for datastore connection handles; for example, Content Manager sessions or Text Search sessions.

Class summary:

class DKHandle 
 {
  public:
   DKHandle(void *, const char *);
   DKHandle(const DKHandle& );
 
   virtual  DKHandle();
 
   DKHandle&  operator= (DKHandle& aHandle);
   virtual void* handle() const;
   virtual DKString type() const;
 };

Members:

Constructor
The input to this class is a pointer to a handle.
DKHandle( void* );
DKHandle(const DKHandle& );

Member functions

handle
Returns the handle's value. The caller should know the correct type to cast to.
virtual void* handle() const;

(c) Copyright International Business Machines Corporation 1996, 2003. IBM Corp. All rights reserved.