Template reference class for reference type derived from IReference.
More...
#include <ref.hxx>
template<class reference_type>
class rtl::Reference< reference_type >
Template reference class for reference type derived from IReference.
template<class reference_type>
template<class reference_type>
template<class reference_type>
template<class reference_type>
template<class reference_type>
Unbind the body from this handle.
Note that for a handle representing a large body, "handle.clear().set(new body());" might perform a little bit better than "handle.set(new body());", since in the second case two large objects exist in memory (the old body and the new body).
template<class reference_type>
Get the body.
Can be used instead of operator->(). I.e. handle->someBodyOp() and handle.get()->someBodyOp() are the same.
template<class reference_type>
Returns True if the handle does point to a valid body.
template<class reference_type>
Needed to place References into STL collection.
template<class reference_type>
Allows (*handle).someBodyOp().
template<class reference_type>
reference_type* rtl::Reference< reference_type >::operator-> |
( |
| ) |
const |
|
inline |
Probably most common used: handle->someBodyOp().
template<class reference_type>
Needed to place References into STL collection.
template<class reference_type>
Assignment.
Unbinds this instance from its body (if bound) and bind it to the body represented by the handle.
template<class reference_type>
template<class reference_type>
bool rtl::Reference< reference_type >::operator== |
( |
const reference_type * |
pBody | ) |
const |
|
inline |
Returns True if this points to pBody.
template<class reference_type>
Returns True if handle points to the same body.
template<class reference_type>
Needed to place References into STL collection.
template<class reference_type>
Set...
Similar to assignment.
The documentation for this class was generated from the following file: