| 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/messaging/Handle.h>
| Public Member Functions | |
| QPID_MESSAGING_INLINE_EXTERN bool | isValid () const | 
| QPID_MESSAGING_INLINE_EXTERN bool | isNull () const | 
| QPID_MESSAGING_INLINE_EXTERN | operator bool () const | 
| Conversion to bool supports idiom if (handle) { handle->... | |
| QPID_MESSAGING_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_MESSAGING_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::messaging::Handle::Impl  [protected] | 
| QPID_MESSAGING_INLINE_EXTERN qpid::messaging::Handle::Handle | ( | ) |  [inline, protected] | 
| qpid::messaging::Handle::Handle | ( | const Handle & | ) |  [protected] | 
| QPID_MESSAGING_INLINE_EXTERN bool qpid::messaging::Handle::isNull | ( | ) | const  [inline] | 
| QPID_MESSAGING_INLINE_EXTERN bool qpid::messaging::Handle::isValid | ( | ) | const  [inline] | 
| QPID_MESSAGING_INLINE_EXTERN qpid::messaging::Handle::operator bool | ( | ) | const  [inline] | 
| QPID_MESSAGING_INLINE_EXTERN bool qpid::messaging::Handle::operator! | ( | ) | const  [inline] | 
| void qpid::messaging::Handle::swap | ( | Handle< T > & | h | ) |  [inline] | 
| Impl* qpid::messaging::Handle::impl  [protected] | 
Definition at line 64 of file Handle.h.
Referenced by qpid::messaging::Handle< SessionImpl >::isValid(), qpid::messaging::Handle< SessionImpl >::isNull(), qpid::messaging::Handle< SessionImpl >::operator bool(), qpid::messaging::Handle< SessionImpl >::operator!(), and qpid::messaging::Handle< SessionImpl >::swap().
 1.7.5
 1.7.5