rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvCOMInterface< INTERFACE > Class Template Reference

This class queries for a specific interface from an IUnknown* or from another IlvAbstractCOMInterface. More...

#include <ilviews/windows/com.h>

Inheritance diagram for IlvCOMInterface< INTERFACE >:
IlvAbstractCOMInterface< INTERFACE >

List of all members.

Public Member Functions

 IlvCOMInterface (IlvAbstractCOMInterface< INTERFACE > *inter, REFIID rIID)
 Constructor from an IUnknown*.
 IlvCOMInterface (IUnknown *iUnknown, REFIID rIID)
 Constructor from an IUnknown*.
 IlvCOMInterface (INTERFACE *interf)
 Constructor used to encapsulate a pointer to an INTERFACE.
 IlvCOMInterface (IlvCOMInterface const &)
 Copy constructor.
 IlvCOMInterface ()
 Default constructor.
virtual ~IlvCOMInterface ()
 The destructor.

Detailed Description

template<class INTERFACE>
class IlvCOMInterface< INTERFACE >

This class queries for a specific interface from an IUnknown* or from another IlvAbstractCOMInterface.

Library: ilvcom


Constructor & Destructor Documentation

template<class INTERFACE >
IlvCOMInterface< INTERFACE >::IlvCOMInterface (  ) 

Default constructor.

This constructor initializes the internal data members. It also initializes the COM library if required.

template<class INTERFACE >
IlvCOMInterface< INTERFACE >::IlvCOMInterface ( IlvCOMInterface< INTERFACE > const &  interf  ) 

Copy constructor.

This constructor initializes the internal data members by copying the values of the object other.

template<class INTERFACE>
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.

Parameters:
interf A pointer to an INTERFACE (type of the template) to be encapsulated into this class.
See also:
IlvCOMInterface::IlvCOMInterface(IlvAbstractCOMInterface<INTERFACE>*, REFIID),
IlvCOMInterface::~IlvCOMInterface.
template<class INTERFACE>
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.

Parameters:
iUnknown A pointer to an IUnknown.
rIID A REFIID that describes the interface to query for.
See also:
IlvCOMInterface::IlvCOMInterface(IlvAbstractCOMInterface<INTERFACE>*, REFIID),
IlvCOMInterface::~IlvCOMInterface.
template<class INTERFACE>
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.

Parameters:
inter A pointer to an IlvAbstractCOMInterface<INTERFACE>*.
rIID A REFIID that describes the interface to query for.
See also:
IlvCOMInterface::IlvCOMInterface(IUnknown*, REFIID),
IlvCOMInterface::~IlvCOMInterface.
template<class INTERFACE >
IlvCOMInterface< INTERFACE >::~IlvCOMInterface (  )  [virtual]
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

© Copyright 2012, 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.