Logo Search packages:      
Sourcecode: virtualbox-ose version File versions  Download package

ComPtrBase< C > Class Template Reference

#include <ptr.h>

Inheritance diagram for ComPtrBase< C >:

ComObjPtr< C >

List of all members.


Detailed Description

template<class C>
class ComPtrBase< C >

Base template for smart COM pointers. Not intended to be used directly.

Definition at line 138 of file ptr.h.


Public Member Functions

C ** asOutParam ()
C ** asOutParam ()
template<class OC>
bool equalsTo (const ComPtrBase< OC > &oc) const
template<class I>
bool equalsTo (I *aThat) const
template<class OC>
bool equalsTo (const ComPtrBase< OC > &oc) const
template<class I>
bool equalsTo (I *aThat) const
bool isNotNull () const
bool isNull () const
bool isNull () const
 operator C * () const
 operator C * () const
bool operator! () const
bool operator! () const
NoAddRefRelease< C > * operator-> () const
NoAddRefRelease< C > * operator-> () const
bool operator< (C *that_p) const
bool operator< (C *that_p) const
bool operator== (C *that_p) const
bool operator== (C *that_p) const
template<class I>
HRESULT queryInterfaceTo (I **pp) const
template<class I>
HRESULT queryInterfaceTo (I **pp) const
void setNull ()
void setNull ()

Protected Member Functions

 ComPtrBase (C *that_p)
 ComPtrBase (const ComPtrBase &that)
 ComPtrBase (C *that_p)
 ComPtrBase (const ComPtrBase &that)
ComPtrBaseoperator= (C *that_p)
ComPtrBaseoperator= (const ComPtrBase &that)
ComPtrBaseoperator= (C *that_p)
ComPtrBaseoperator= (const ComPtrBase &that)

Private Member Functions

void addref ()
void addref ()
void release ()
void release ()
void safe_assign (C *that_p)
void safe_assign (C *that_p)

Private Attributes

C * p

Classes

class  NoAddRefRelease

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index