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