1#if !defined(RESIP_HANDLE_HXX)
2#define RESIP_HANDLE_HXX
43 throw HandleException(
"Reference to unitialized handle.", __FILE__, __LINE__);
53 throw HandleException(
"Reference to unitialized handle.", __FILE__, __LINE__);
92 return (mHam == other.mHam) && (
mId == other.
mId);
97 return (mHam != other.mHam) || (
mId != other.
mId);
#define resip_assert(x)
This file needs to work for both C and C++ code.
bool isValidHandle(Handled::Id) const
Handled * getHandled(Handled::Id) const
const T & operator*() const
bool operator!=(const Handle< T > &other)
static Handle< T > NotValid()
const T * operator->() const
bool operator==(const Handle< T > &other)
bool operator<(const Handle< T > &other) const
Handle(HandleManager &ham, Handled::Id id)
Handled::Id getId() const
dcm! – add UnusedChecking(_enum) below;