#include <SmartIF.h>
Inheritance diagram for SmartIFBase:

Public Methods | |
| bool | isValid () const |
| Allow for check if smart pointer is valid. More... | |
| operator TYPE * () | |
| Automatic conversion to constined interface type. More... | |
| operator const TYPE * () const | |
| Automatic conversion to constined interface type (CONST). More... | |
| bool | operator! () const |
| Allow for check if smart pointer is valid. More... | |
| operator bool () const | |
| Allow for check if smart pointer is valid. More... | |
| bool | operator!= (const TYPE* test) const |
| Check for non-equality. More... | |
| bool | operator== (const TYPE* test) const |
| Check for equality. More... | |
| TYPE* | operator-> () |
| Dereference operator. More... | |
| const TYPE* | operator-> () const |
| Dereference operator(CONST). More... | |
| void** | operator & () |
| Allow for use as void pointer. More... | |
Protected Methods | |
| void | releaseInterface () |
| Release interface. More... | |
| SmartIFBase (const IID& iid) | |
| Standard constructor. More... | |
| virtual | ~SmartIFBase () |
| Standard Destructor. More... | |
Protected Attributes | |
| const IID | m_iid |
| TYPE* | m_interface |
Description: A small class to easy the use of Gaudi interfaces. This class acts as a base class for the specific instances SmartIF<TYPE>. The base class only defines operations on the valid smart pointer.
Dependencies:
History :
+---------+----------------------------------------------+--------+
| Date | Comment | Who |
+---------+----------------------------------------------+--------+
| 30/10/99| Initial version. | MF |
+---------+----------------------------------------------+--------+
Author: M.Frank Version: 1.0
Definition at line 47 of file SmartIF.h.
|
||||
|
Standard constructor.
|
|
||||
|
Standard Destructor.
|
|
||||
|
Allow for check if smart pointer is valid.
|
|
||||
|
Allow for use as void pointer.
|
|
||||
|
Automatic conversion to constined interface type.
|
|
||||
|
Allow for check if smart pointer is valid.
|
|
||||
|
Automatic conversion to constined interface type (CONST).
|
|
||||
|
Allow for check if smart pointer is valid.
|
|
||||
|
Check for non-equality.
|
|
||||
|
Dereference operator(CONST).
|
|
||||
|
Dereference operator.
|
|
||||
|
Check for equality.
|
|
||||
|
Release interface.
Definition at line 52 of file SmartIF.h. Referenced by SmartIF< IInterface >::operator=(), SmartIF::operator=(), and ~SmartIFBase(). |
|
|||
|
|
|
|||
|
|
1.2.3 written by Dimitri van Heesch,
© 1997-2000