21 #undef _POSIX_C_SOURCE 32 INLINE
void set_python_tag(
const std::string &key, PyObject *value);
33 INLINE PyObject *get_python_tag(
const std::string &key)
const;
34 INLINE
bool has_python_tag(
const std::string &key)
const;
35 INLINE
void clear_python_tag(
const std::string &key);
36 INLINE
bool has_python_tags()
const;
40 virtual void ls()
const = 0;
41 virtual void ls(std::ostream &out,
int indent_level=0)
const = 0;
54 ErrorType _error_type;
58 typedef phash_map<std::string, PyObject *, string_hash> PythonTagData;
59 PythonTagData _python_tag_data;
66 static void init_type() {
67 TypedReferenceCount::init_type();
69 TypedReferenceCount::get_class_type());
72 return get_class_type();
76 return get_class_type();
85 #endif // PHYSXOBJECT_H void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A base class for things which need to inherit from both TypedObject and from ReferenceCount.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.