18 #include "dtoolbase.h" 20 #include "typeHandle.h" 21 #include "register_type.h" 22 #include "memoryBase.h" 101 INLINE TypedObject(
const TypedObject ©);
102 INLINE
void operator = (
const TypedObject ©);
106 virtual ~TypedObject();
112 INLINE
int get_type_index()
const;
113 INLINE
bool is_of_type(
TypeHandle handle)
const;
114 INLINE
bool is_exact_type(
TypeHandle handle)
const;
117 INLINE
int get_best_parent_from_Set(
const std::set<int> &)
const;
130 INLINE TypedObject *as_typed_object();
131 INLINE
const TypedObject *as_typed_object()
const;
137 static void init_type();
143 #include "typedObject.I" This is an abstract class that all classes which use TypeHandle, and also provide virtual functions t...
This class is intended to be the base class of all objects in Panda that might be allocated and delet...
TypeHandle is the identifier used to differentiate C++ class types.