15 #include "nodeCachedReferenceCount.h" 17 TypeHandle NodeCachedReferenceCount::_type_handle;
25 bool NodeCachedReferenceCount::
26 do_test_ref_count_integrity()
const {
27 nassertr(
this != NULL,
false);
36 nassertr(_node_ref_count != -100,
false);
41 nassertr(_node_ref_count >= 0,
false);
43 return CachedTypedWritableReferenceCount::do_test_ref_count_integrity();
TypeHandle is the identifier used to differentiate C++ class types.