qpid::client::Handle< T > Class Template Reference
A handle is like a pointer: refers to an underlying implementation object.
More...
#include <qpid/client/Handle.h>
List of all members.
Detailed Description
template<class T>
class qpid::client::Handle< T >
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.
Definition at line 39 of file Handle.h.
Member Typedef Documentation
Constructor & Destructor Documentation
Member Function Documentation
- Returns:
- true if handle is null. It is an error to call any function on a null handle.
Definition at line 46 of file Handle.h.
- Returns:
- true if handle is valid, i.e. not null.
Definition at line 43 of file Handle.h.
Conversion to bool supports idiom if (handle) { handle->.
.. }
Definition at line 49 of file Handle.h.
Operator ! supports idiom if (!handle) { do_if_handle_is_null(); }.
Definition at line 52 of file Handle.h.
Member Data Documentation
The documentation for this class was generated from the following file: