Lines Matching full:res
47 CachedResourceHandleBase(CachedResource* res) { m_resource = res; if (m_resource) m_resource->registerHandle(this); }
63 CachedResourceHandle(R* res);
69 CachedResourceHandle& operator=(R* res) { setResource(res); return *this; }
82 CachedResourceHandle<R>::CachedResourceHandle(R* res) : CachedResourceHandleBase(res)
86 template <class R, class RR> bool operator==(const CachedResourceHandle<R>& h, const RR* res)
88 return h.get() == res;
90 template <class R, class RR> bool operator==(const RR* res, const CachedResourceHandle<R>& h)
92 return h.get() == res;
94 template <class R, class RR> bool operator!=(const CachedResourceHandle<R>& h, const RR* res)
96 return h.get() != res;
98 template <class R, class RR> bool operator!=(const RR* res, const CachedResourceHandle<R>& h)
100 return h.get() != res;