Lines Matching refs:BaseName
17 template <class ClassName, class BaseName, class StructName>
18 class CefCToCppRefCounted : public BaseName {
25 static CefRefPtr<BaseName> Wrap(StructName* s);
29 static StructName* Unwrap(CefRefPtr<BaseName> c);
58 static WrapperStruct* GetWrapperStruct(const BaseName* obj);
61 static StructName* UnwrapDerived(CefWrapperType type, BaseName* c);
104 template <class ClassName, class BaseName, class StructName>
105 struct CefCToCppRefCounted<ClassName, BaseName, StructName>::WrapperStruct {
111 template <class ClassName, class BaseName, class StructName>
112 CefRefPtr<BaseName> CefCToCppRefCounted<ClassName, BaseName, StructName>::Wrap(
123 CefRefPtr<BaseName> wrapperPtr(&wrapperStruct->wrapper_);
131 template <class ClassName, class BaseName, class StructName>
132 StructName* CefCToCppRefCounted<ClassName, BaseName, StructName>::Unwrap(
133 CefRefPtr<BaseName> c) {
151 template <class ClassName, class BaseName, class StructName>
152 bool CefCToCppRefCounted<ClassName, BaseName, StructName>::Release() const {
164 template <class ClassName, class BaseName, class StructName>
165 typename CefCToCppRefCounted<ClassName, BaseName, StructName>::WrapperStruct*
166 CefCToCppRefCounted<ClassName, BaseName, StructName>::GetWrapperStruct(
167 const BaseName* obj) {
171 reinterpret_cast<char*>(const_cast<BaseName*>(obj)) -