yast2-core
Protected Member Functions | Friends | List of all members
PtrBase< _Bt > Class Template Referenceabstract

Common base class for counted '_Bt *' (Ptr) More...

#include <Rep.h>

Inheritance diagram for PtrBase< _Bt >:
RepPtrBase Ptr< _Tp, _Bt >

Protected Member Functions

virtual _Bt * base () const =0
 
_Bt * getBase (const PtrBase &rhs) const
 
- Protected Member Functions inherited from RepPtrBase
virtual ~RepPtrBase ()
 
virtual const Reprefbase () const =0
 

Friends

class constPtrBase< _Bt >
 

Additional Inherited Members

- Public Member Functions inherited from RepPtrBase
 operator const void * () const
 

Detailed Description

template<typename _Bt>
class PtrBase< _Bt >

Common base class for counted '_Bt *' (Ptr)

See also constPtrBase and RepPtrStore.

Member Function Documentation

template<typename _Bt>
virtual _Bt* PtrBase< _Bt >::base ( ) const
protectedpure virtual

Derived class must provide the objects '_Bt *'. See RepPtrStore.

Implemented in Ptr< _Tp, _Bt >.

Referenced by PtrBase< _Bt >::getBase(), and constPtrBase< _Bt >::getBase().

template<typename _Bt>
_Bt* PtrBase< _Bt >::getBase ( const PtrBase< _Bt > &  rhs) const
inlineprotected

Retrieve base() from another PtrBase<_Bt> object.

References PtrBase< _Bt >::base().

Referenced by Ptr< _Tp, _Bt >::operator=(), and Ptr< _Tp, _Bt >::Ptr().

Friends And Related Function Documentation

template<typename _Bt>
friend class constPtrBase< _Bt >
friend

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

Generated on a sunny day for yast2-core by doxygen 1.8.8