Internal data structure used to track registered instances and types. More...
#include </builds/ipbus/ipbus-software/uhal/python/pybind11-python2/include/pybind11/detail/internals.h>
Public Attributes | |
type_map< type_info * > | registered_types_cpp |
std::unordered_map< PyTypeObject *, std::vector< type_info * > > | registered_types_py |
std::unordered_multimap< const void *, instance * > | registered_instances |
std::unordered_set< std::pair< const PyObject *, const char * >, override_hash > | inactive_override_cache |
type_map< std::vector< bool(*)(PyObject *, void *&)> > | direct_conversions |
std::unordered_map< const PyObject *, std::vector< PyObject * > > | patients |
std::forward_list< ExceptionTranslator > | registered_exception_translators |
std::unordered_map< std::string, void * > | shared_data |
std::forward_list< std::string > | static_strings |
PyTypeObject * | static_property_type |
PyTypeObject * | default_metaclass |
PyObject * | instance_base |
Internal data structure used to track registered instances and types.
Whenever binary incompatible changes are made to this structure, PYBIND11_INTERNALS_VERSION
must be incremented.
Definition at line 150 of file internals.h.
PyTypeObject * internals::default_metaclass |
Definition at line 169 of file internals.h.
Referenced by make_new_python_type().
type_map< std::vector< bool(*)(PyObject *, void *&)> > internals::direct_conversions |
Definition at line 158 of file internals.h.
Referenced by generic_type::initialize(), pybind11_meta_dealloc(), and register_structured_dtype().
std::unordered_set< std::pair< const PyObject *, const char * >, override_hash > internals::inactive_override_cache |
Definition at line 157 of file internals.h.
Referenced by all_type_info_get_cache(), get_type_override(), and pybind11_meta_dealloc().
PyObject * internals::instance_base |
Definition at line 170 of file internals.h.
Referenced by make_new_python_type(), and pybind11_object_dealloc().
std::unordered_map< const PyObject *, std::vector< PyObject * > > internals::patients |
Definition at line 159 of file internals.h.
Referenced by add_patient(), and clear_patients().
std::forward_list< ExceptionTranslator > internals::registered_exception_translators |
Definition at line 160 of file internals.h.
Referenced by cpp_function::dispatcher(), and get_internals().
std::unordered_multimap< const void *, instance * > internals::registered_instances |
Definition at line 155 of file internals.h.
Referenced by deregister_instance_impl(), find_registered_python_instance(), get_object_handle(), and register_instance_impl().
Definition at line 152 of file internals.h.
Referenced by class_< type_, options >::class_(), ConstructorStats::get(), get_global_type_info(), generic_type::initialize(), and pybind11_meta_dealloc().
std::unordered_map< PyTypeObject *, std::vector< type_info * > > internals::registered_types_py |
Definition at line 154 of file internals.h.
Referenced by all_type_info_get_cache(), all_type_info_populate(), ConstructorStats::get(), generic_type::initialize(), and pybind11_meta_dealloc().
std::unordered_map< std::string, void * > internals::shared_data |
Definition at line 161 of file internals.h.
Referenced by get_or_create_shared_data(), and get_shared_data().
PyTypeObject * internals::static_property_type |
Definition at line 168 of file internals.h.
Referenced by pybind11_meta_setattro().
std::forward_list< std::string > internals::static_strings |
Definition at line 166 of file internals.h.
Referenced by c_str().