yast2-core
|
Common base class for counted 'const _Bt *' (constPtr) More...
#include <Rep.h>
Protected Member Functions | |
virtual const _Bt * | base () const =0 |
const _Bt * | getBase (const constPtrBase &rhs) const |
const _Bt * | getBase (const PtrBase< _Bt > &rhs) const |
![]() | |
virtual | ~RepPtrBase () |
virtual const Rep * | refbase () const =0 |
Additional Inherited Members | |
![]() | |
operator const void * () const | |
Common base class for counted 'const _Bt *' (constPtr)
See also PtrBase and RepPtrStore.
|
protectedpure virtual |
Derived class must provide the objects 'const _Bt *'. See RepPtrStore.
Implemented in constPtr< _Tp, _Bt >.
Referenced by constPtrBase< _Bt >::getBase().
|
inlineprotected |
Retrieve base() from another constPtrBase<_Bt> object.
References constPtrBase< _Bt >::base().
Referenced by constPtr< _Tp, _Bt >::constPtr(), and constPtr< _Tp, _Bt >::operator=().
|
inlineprotected |
Retrieve base() from a nonconst PtrBase<_Bt> object. Needed as it's ok to create a constPtr from a Ptr, but not vice versa.
References PtrBase< _Bt >::base().