#include <Rep.h>

Public Member Functions | |
| Ptr (_Tp *ptr=0) | |
| Ptr (const Ptr &rhs) | |
| Ptr (const PtrBase< _Bt > &rhs) | |
| Ptr & | operator= (_Tp *ptr) |
| Ptr & | operator= (const Ptr &rhs) |
| Ptr & | operator= (const PtrBase< _Bt > &rhs) |
| _Tp * | operator-> () const |
| _Tp & | operator * () const |
Static Public Member Functions | |
| static Ptr | cast_away_const (constPtr< _Tp, _Bt > rhs) |
Protected Member Functions | |
| virtual const Rep * | refbase () const |
| virtual _Bt * | base () const |
Private Attributes | |
| RepPtrStore< _Tp, _Bt > | _ptr |
Constructor. From '_Tp *'. Defaults to NULL.
| Ptr< _Tp, _Bt >::Ptr | ( | const Ptr< _Tp, _Bt > & | rhs | ) | [inline] |
CopyConstructor. From Ptr<_Tp,_Bt>.
| Ptr< _Tp, _Bt >::Ptr | ( | const PtrBase< _Bt > & | rhs | ) | [inline] |
Constructor. From Ptr<..,_Bt>, i.e. pointer to an object that inherits _Bt.
| virtual const Rep* Ptr< _Tp, _Bt >::refbase | ( | ) | const [inline, protected, virtual] |
Required by inherited RepPtrBase.
Implements RepPtrBase.
| virtual _Bt* Ptr< _Tp, _Bt >::base | ( | ) | const [inline, protected, virtual] |
Required by inherited PtrBase.
Implements PtrBase< _Bt >.
Assign from '_Tp *'.
| Ptr& Ptr< _Tp, _Bt >::operator= | ( | const Ptr< _Tp, _Bt > & | rhs | ) | [inline] |
Assign from Ptr<_Tp,_Bt>.
| Ptr& Ptr< _Tp, _Bt >::operator= | ( | const PtrBase< _Bt > & | rhs | ) | [inline] |
Assign from Ptr<..,_Bt>, i.e. pointer to an object that inherits _Bt.
| _Tp* Ptr< _Tp, _Bt >::operator-> | ( | ) | const [inline] |
Access forwarded to the _Tp object (or SEGV if _ptr is NULL)
| _Tp& Ptr< _Tp, _Bt >::operator * | ( | ) | const [inline] |
Access the _Tp object (or SEGV if _ptr is NULL)
RepPtrStore<_Tp,_Bt> Ptr< _Tp, _Bt >::_ptr [private] |
The '_Tp*'.
1.5.3