[Back to Top] [Programming Interface] [Introduction] [Next]

xflminterface XFLMIUnknown


This class is the base class for the IF_DbSystem interface in the XFLAIM database system.  It provides two methods to track the references to the objects.


Method Summary

int

QueryInterface - Returns a pointer to the requested interface.

FLMUINT32

 AddRef - Increments the reference count in the object.

FLMUINT32

 Release - Decrements the reference count.  If the reference count goes to zero, the object is deleted.

 

Method Detail

QueryInterface

    int QueryInterface(

        RXFLMIID    riid,

        void **           ppvInt);

Returns the requested interface, if the object supports it.

    Parameters In:

RXFLMIID riid The ID of the requested interface

    Parameters Out:

void ** ppvInt A pointer to the requested interface

[Back to Top]


AddRef

    FLMUINT32 AddRef( void);

Increments the reference count to the object.  Returns the incremented reference count.

    Parameters In: none.

    Parameters Out: none.

[Back to Top]


Release

    FLMUINT32 Release( void);

Decrements the reference count and deletes the object if it goes to zero.  Returns the decremented reference count.

    Parameters In: none.

    Parameters Out: none.

[Back to Top] [Programming Interface] [Introduction] [Next]