43 #if !defined _MSC_VER // public -> protected changes mangled names there
53 template <
class reference_type>
58 reference_type * m_pBody;
82 : m_pBody (handle.m_pBody)
101 SAL_CALL
set (reference_type * pBody)
105 reference_type *
const pOld = m_pBody;
119 return set( handle.m_pBody );
141 reference_type *
const pOld = m_pBody;
153 inline reference_type * SAL_CALL
get()
const
163 OSL_PRECOND(m_pBody,
"Reference::operator->() : null body");
172 OSL_PRECOND(m_pBody,
"Reference::operator*() : null body");
181 return (m_pBody != 0);
189 return (m_pBody == pBody);
198 return (m_pBody == handle.m_pBody);
207 return (m_pBody != handle.m_pBody);
214 SAL_CALL operator< (const Reference<reference_type> & handle)
const
216 return (m_pBody < handle.m_pBody);
225 return (m_pBody > handle.m_pBody);
232 template <
typename T>