smart_com

smart_com is a reference counting pointer to COM objects. It releases reference to the IUnknown interface when it is destroyed.

Information

    Header File: tisudshl.h

Methods

Method Description
getIID

Returns the interface ID of the type of objects this object points to.

operator!=

Checks whether op2 or p differ from this smart_com.

operator->

Returns a pointer to the object to which this points to. If the pointer is not set, this operator will fail with a null pointer exception.

operator=

Assigns another smart_com to this.

operator==

Checks whether op2 or p and this smart_com are identical.

<< Classes