PtrBase< _Bt > Class Template Reference

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

#include <Rep.h>

Inheritance diagram for PtrBase< _Bt >:

RepPtrBase

List of all members.

Protected Member Functions

virtual _Bt * base () const =0
_Bt * getBase (const PtrBase &rhs) const

Friends

class constPtrBase< _Bt >


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 [protected, pure virtual]

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

Implemented in Ptr< _Tp, _Bt >.

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

template<typename _Bt>
_Bt* PtrBase< _Bt >::getBase ( const PtrBase< _Bt > &  rhs  )  const [inline, protected]

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


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.5.9