#include <cstddef>
#include <iostream>
#include <vector>
#include <algorithm>
#include <iterator>
#include <cstring>
#include "PDBDebug.h"
#include "TypeName.h"
#include "Handle.h"
#include "RefCountedObject.h"
Go to the source code of this file.
|
template<class ObjType , class ObjTypeTwo > |
auto | pdb::convert (ObjType *, ObjTypeTwo *) -> std::enable_if_t< std::is_base_of< ObjType, ObjTypeTwo >::value||(std::is_base_of< ObjType, Object >::value &&std::is_base_of< String, ObjTypeTwo >::value)||(std::is_base_of< ObjType, Object >::value &&std::is_base_of< HandleBase, ObjTypeTwo >::value), int > |
|
#define CHAR_PTR |
( |
|
c | ) |
((char*)c) |
#define DEC_OLD_REF_COUNT |
Value:if (oldTarget != nullptr) \
oldTarget->decRefCount(oldTypeInfo)
Definition at line 167 of file Handle.cc.
Value:RefCountedObject<ObjType>* oldTarget = nullptr; \
if (!isNullPtr()) \
oldTarget = getTarget(); \
PDBTemplateBase oldTypeInfo = typeInfo;
Definition at line 162 of file Handle.cc.