![]() |
Rosetta Protocols
2014.16.56682
|
Non-owning access smart pointer. More...
#include <JobOutputterObserver.hh>
Public Types | |
| typedef T | Value |
| typedef T & | Reference |
| typedef T const & | ConstReference |
| typedef T * | Pointer |
| typedef T const * | ConstPointer |
| typedef T | value_type |
| typedef T | element_type |
| typedef T & | reference |
| typedef T const & | const_reference |
| typedef T * | pointer |
| typedef T const * | const_pointer |
Public Member Functions | |
| access_ptr () | |
| Default constructor. More... | |
| access_ptr (access_ptr const &a) | |
| Copy constructor (implicit) More... | |
| template<typename U > | |
| access_ptr (access_ptr< U > const &a) | |
| Assignable copy constructor (implicit) More... | |
| access_ptr (pointer object_p) | |
| Object pointer constructor (implicit) More... | |
| access_ptr (reference object) | |
| Object constructor. More... | |
| ~access_ptr () | |
| Destructor: Non-owning => doesn't delete object. More... | |
| access_ptr & | operator= (access_ptr const &a) |
| Copy assignment. More... | |
| template<typename U > | |
| access_ptr & | operator= (access_ptr< U > const &a) |
| Assignable copy assignment. More... | |
| access_ptr & | operator= (pointer object_p) |
| Object pointer assignment. More... | |
| access_ptr & | operator= (reference object) |
| Object assignment. More... | |
| operator bool () const | |
| bool conversion: points to something? More... | |
| reference | operator* () const |
| Dereference. More... | |
| pointer | operator-> () const |
| Indirection. More... | |
| pointer | operator() () const |
| Raw pointer. More... | |
| bool | operator! () const |
| Points to nothing? (some compilers need this) More... | |
| pointer | get () const |
| Raw pointer. More... | |
| void | reset_to_null () |
| Reset. More... | |
| void | swap (access_ptr &a) |
| Swap. More... | |
Private Attributes | |
| pointer | p_ |
| Pointer to object. More... | |
Friends | |
| template<typename > | |
| class | access_ptr |
Non-owning access smart pointer.
| typedef T const* protocols::jd2::utility::pointer::access_ptr< T >::const_pointer |
| typedef T const& protocols::jd2::utility::pointer::access_ptr< T >::const_reference |
| typedef T const* protocols::jd2::utility::pointer::access_ptr< T >::ConstPointer |
| typedef T const& protocols::jd2::utility::pointer::access_ptr< T >::ConstReference |
| typedef T protocols::jd2::utility::pointer::access_ptr< T >::element_type |
| typedef T* protocols::jd2::utility::pointer::access_ptr< T >::Pointer |
| typedef T* protocols::jd2::utility::pointer::access_ptr< T >::pointer |
| typedef T& protocols::jd2::utility::pointer::access_ptr< T >::Reference |
| typedef T& protocols::jd2::utility::pointer::access_ptr< T >::reference |
| typedef T protocols::jd2::utility::pointer::access_ptr< T >::Value |
| typedef T protocols::jd2::utility::pointer::access_ptr< T >::value_type |
|
inline |
Default constructor.
|
inline |
Copy constructor (implicit)
|
inline |
Assignable copy constructor (implicit)
|
inline |
Object pointer constructor (implicit)
|
inlineexplicit |
Object constructor.
|
inline |
Destructor: Non-owning => doesn't delete object.
|
inline |
Raw pointer.
|
inline |
bool conversion: points to something?
|
inline |
Points to nothing? (some compilers need this)
|
inline |
Raw pointer.
|
inline |
Dereference.
|
inline |
Indirection.
|
inline |
Copy assignment.
|
inline |
Assignable copy assignment.
|
inline |
Object pointer assignment.
|
inline |
Object assignment.
|
inline |
Reset.
|
inline |
Swap.
|
private |
Pointer to object.
1.8.7