#include <Rep.h>

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