#include <stlsoft/smartptr/proxy_ptr.hpp>
| T | The value type |
Public Types | |
| typedef T | value_type |
| The value type. | |
| typedef proxy_ptr< T > | class_type |
| The current parameterisation of the type. | |
| typedef value_type * | resource_type |
| typedef value_type const * | const_resource_type |
Public Member Functions | |
| proxy_ptr (value_type *t) | |
| Construct from a pointer to "borrow". | |
| proxy_ptr & | operator= (value_type *t) |
| Assignment from a new pointer. | |
| operator value_type * () | |
| Implicit conversion to pointer to the underlying pointer. | |
| operator value_type const * () const | |
| Implicit conversion to pointer-to-const to the underlying pointer. | |
| value_type & | operator* () |
| Indirection operator. | |
| value_type const & | operator* () const |
| Indirection operator. | |
| value_type * | operator-> () |
| Member-selection operator. | |
| value_type const * | operator-> () const |
| Member-selection operator. | |
| value_type * | get_ptr () const |
| Returns the underlying pointer value. | |
| value_type * | get () const |
| Returns the underlying pointer value. | |
| value_type * | GetPointer () const |
| Returns the underlying pointer value. | |
| void | clear () |
| Sets the underlying pointer value to null. | |
| typedef T value_type |
The value type.
| typedef proxy_ptr<T> class_type |
The current parameterisation of the type.
| proxy_ptr | ( | value_type * | t | ) | [inline, explicit] |
Construct from a pointer to "borrow".
| proxy_ptr& operator= | ( | value_type * | t | ) | [inline] |
Assignment from a new pointer.
| operator value_type * | ( | ) | [inline] |
Implicit conversion to pointer to the underlying pointer.
| operator value_type const * | ( | ) | const [inline] |
Implicit conversion to pointer-to-const to the underlying pointer.
| value_type& operator* | ( | ) | [inline] |
Indirection operator.
References STLSOFT_MESSAGE_ASSERT.
| value_type const& operator* | ( | ) | const [inline] |
Indirection operator.
References STLSOFT_MESSAGE_ASSERT.
| value_type* operator-> | ( | ) | [inline] |
Member-selection operator.
References STLSOFT_MESSAGE_ASSERT.
| value_type const* operator-> | ( | ) | const [inline] |
Member-selection operator.
References STLSOFT_MESSAGE_ASSERT.
| value_type* get_ptr | ( | ) | const [inline] |
Returns the underlying pointer value.
| value_type* get | ( | ) | const [inline] |
| value_type* GetPointer | ( | ) | const [inline] |
| void clear | ( | ) | [inline] |
Sets the underlying pointer value to null.
1.5.6