constPtrBase< _Bt > Class Template Reference

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

#include <Rep.h>

Inheritance diagram for constPtrBase< _Bt >:

RepPtrBase

List of all members.

Protected Member Functions

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


Detailed Description

template<typename _Bt>
class constPtrBase< _Bt >

Common base class for counted 'const _Bt *' (constPtr).

See also PtrBase and RepPtrStore.


Member Function Documentation

template<typename _Bt>
virtual const _Bt* constPtrBase< _Bt >::base (  )  const [protected, pure virtual]

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

Implemented in constPtr< _Tp, _Bt >.

Referenced by constPtrBase< _Bt >::getBase().

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

Retrieve base() from a nonconst PtrBase<_Bt> object. Needed as it's ok to create a constPtr from a Ptr, but not vice versa.

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

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


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

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