Rogue Wave Views Foundation Package API Reference Guide |
Rogue Wave Views Documentation Home |
This class queries for a specific interface from an IUnknown* or from another IlvAbstractCOMInterface. More...
#include <ilviews/windows/com.h>
Public Member Functions | |
IlvCOMInterface () | |
Default constructor. More... | |
IlvCOMInterface (IlvCOMInterface const &) | |
Copy constructor. More... | |
IlvCOMInterface (INTERFACE *interf) | |
Constructor used to encapsulate a pointer to an INTERFACE. More... | |
IlvCOMInterface (IUnknown *iUnknown, REFIID rIID) | |
Constructor from an IUnknown*. More... | |
IlvCOMInterface (IlvAbstractCOMInterface< INTERFACE > *inter, REFIID rIID) | |
Constructor from an IUnknown*. More... | |
virtual | ~IlvCOMInterface () |
The destructor. More... | |
Public Member Functions inherited from IlvAbstractCOMInterface< INTERFACE > | |
virtual | ~IlvAbstractCOMInterface ()=0 |
Destructor. More... | |
INTERFACE * | getInterface () const |
This member function returns the interface associated to this class. More... | |
operator INTERFACE * () const | |
This operator returns the interface associated to this class. More... | |
operator INTERFACE const * () const | |
This const operator returns the interface associated to this class. More... | |
INTERFACE * | operator-> () const |
This operator lets the class to be used as a plain pointer. More... | |
HRESULT | setInterface (IUnknown *iunk, REFIID iid) |
This function modifies the interface stored by this object through a call to the function QueryInterface of the IUnknown interface. More... | |
void | setInterface (INTERFACE *interf) |
This function replaces the previous interface stored in this object by a new one. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from IlvAbstractCOMInterface< INTERFACE > | |
IlvAbstractCOMInterface () | |
Default constructor. More... | |
IlvAbstractCOMInterface (IlvAbstractCOMInterface const &other) | |
Copy constructor. More... | |
IlvAbstractCOMInterface (CntPtr const &initObj) | |
Constructor. More... | |
CntPtr const & | getInitializer () const |
This function returns a reference counter to the library initializer. More... | |
IlvAbstractCOMInterface & | operator= (IlvAbstractCOMInterface const &other) |
Assignment operator. More... | |
This class queries for a specific interface from an IUnknown* or from another IlvAbstractCOMInterface.
Library: ilvcom
IlvCOMInterface< INTERFACE >::IlvCOMInterface | ( | ) |
Default constructor.
This constructor initializes the internal data members. It also initializes the COM library if required.
IlvCOMInterface< INTERFACE >::IlvCOMInterface | ( | IlvCOMInterface< INTERFACE > const & | interf | ) |
Copy constructor.
This constructor initializes the internal data members by copying the values of the object other
.
IlvCOMInterface< INTERFACE >::IlvCOMInterface | ( | INTERFACE * | interf | ) |
Constructor used to encapsulate a pointer to an INTERFACE.
This lets this class to be used as a shared pointer.
interf | A pointer to an INTERFACE (type of the template) to be encapsulated into this class. |
IlvCOMInterface< INTERFACE >::IlvCOMInterface | ( | IUnknown * | iUnknown, |
REFIID | rIID | ||
) |
Constructor from an IUnknown*.
This constructor queries for an interface, described by the REFIID rIID
from the IUnknown
given as first parameter.
iUnknown | A pointer to an IUnknown. |
rIID | A REFIID that describes the interface to query for. |
IlvCOMInterface< INTERFACE >::IlvCOMInterface | ( | IlvAbstractCOMInterface< INTERFACE > * | inter, |
REFIID | rIID | ||
) |
Constructor from an IUnknown*.
This constructor queries for an interface, described by the REFIID rIID
from the IlvAbstractCOMInterface
given as first parameter.
inter | A pointer to an IlvAbstractCOMInterface<INTERFACE>*. |
rIID | A REFIID that describes the interface to query for. |
|
virtual |
The destructor.
It releases the resources used by the object.
© Copyright 2016, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.