| Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET | Apache Qpid Documentation | 
A handle is like a pointer: refers to an underlying implementation object. More...
#include <qpid/client/Handle.h>
| Public Member Functions | |
| QPID_CLIENT_INLINE_EXTERN bool | isValid () const | 
| QPID_CLIENT_INLINE_EXTERN bool | isNull () const | 
| QPID_CLIENT_INLINE_EXTERN | operator bool () const | 
| Conversion to bool supports idiom if (handle) { handle->... | |
| QPID_CLIENT_INLINE_EXTERN bool | operator! () const | 
| Operator ! supports idiom if (!handle) { do_if_handle_is_null(); }. | |
| void | swap (Handle< T > &h) | 
| Protected Types | |
| typedef T | Impl | 
| Protected Member Functions | |
| QPID_CLIENT_INLINE_EXTERN | Handle () | 
| Handle (const Handle &) | |
| Handle & | operator= (const Handle &) | 
| Protected Attributes | |
| Impl * | impl | 
A handle is like a pointer: refers to an underlying implementation object.
Copying the handle does not copy the object.
Handles can be null, like a 0 pointer. Use isValid(), isNull() or the conversion to bool to test for a null handle.
| typedef T qpid::client::Handle::Impl  [protected] | 
| QPID_CLIENT_INLINE_EXTERN qpid::client::Handle::Handle | ( | ) |  [inline, protected] | 
| qpid::client::Handle::Handle | ( | const Handle & | ) |  [protected] | 
| QPID_CLIENT_INLINE_EXTERN bool qpid::client::Handle::isNull | ( | ) | const  [inline] | 
| QPID_CLIENT_INLINE_EXTERN bool qpid::client::Handle::isValid | ( | ) | const  [inline] | 
| QPID_CLIENT_INLINE_EXTERN qpid::client::Handle::operator bool | ( | ) | const  [inline] | 
| QPID_CLIENT_INLINE_EXTERN bool qpid::client::Handle::operator! | ( | ) | const  [inline] | 
| Impl* qpid::client::Handle::impl  [protected] | 
Definition at line 64 of file Handle.h.
Referenced by qpid::client::Handle< SubscriptionImpl >::isValid(), qpid::client::Handle< SubscriptionImpl >::isNull(), qpid::client::Handle< SubscriptionImpl >::operator bool(), qpid::client::Handle< SubscriptionImpl >::operator!(), and qpid::client::Handle< SubscriptionImpl >::swap().
 1.7.5
 1.7.5