IPtr< I > Class Template Reference
[Basic Interfaces]

IPtr - Smart pointer template class. More...

#include <funknown.h>

Inheritance diagram for IPtr< I >:
Inheritance graph
[legend]

Public Member Functions

 IPtr (I *ptr, bool addRef=true)
 IPtr (const IPtr &)
 IPtr ()
 ~IPtr ()
I * operator= (I *ptr)
IPtroperator= (const IPtr &)
 operator I * () const
I * operator-> () const

Protected Attributes

I * ptr

Detailed Description

template<class I>
class Steinberg::IPtr< I >

IPtr - Smart pointer template class.


Constructor & Destructor Documentation

IPtr ( I *  ptr,
bool  addRef = true 
) [inline]
IPtr ( const IPtr< I > &  other  )  [inline]
IPtr (  )  [inline]
~IPtr (  )  [inline]

Member Function Documentation

I * operator= ( I *  ptr  )  [inline]

Reimplemented in OPtr< I >.

IPtr< I > & operator= ( const IPtr< I > &  ptr  )  [inline]

Reimplemented in FUnknownPtr< I >.

operator I * (  )  const [inline]
I* operator-> (  )  const [inline]

Field Documentation

I* ptr [protected]
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Empty

Copyright ©2013 Steinberg Media Technologies GmbH. All Rights Reserved.