μHAL (v2.8.17)
Part of the IPbus software repository
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Attributes | List of all members
internals Struct Reference

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_hashinactive_override_cache
 
type_map< std::vector< bool(*)(PyObject *, void *&)> > direct_conversions
 
std::unordered_map< const PyObject *, std::vector< PyObject * > > patients
 
std::forward_list< ExceptionTranslatorregistered_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
 

Detailed Description

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.

Member Data Documentation

◆ default_metaclass

PyTypeObject * internals::default_metaclass

Definition at line 169 of file internals.h.

Referenced by make_new_python_type().

◆ direct_conversions

type_map< std::vector< bool(*)(PyObject *, void *&)> > internals::direct_conversions

◆ inactive_override_cache

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().

◆ instance_base

PyObject * internals::instance_base

Definition at line 170 of file internals.h.

Referenced by make_new_python_type(), and pybind11_object_dealloc().

◆ patients

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().

◆ registered_exception_translators

std::forward_list< ExceptionTranslator > internals::registered_exception_translators

Definition at line 160 of file internals.h.

Referenced by cpp_function::dispatcher(), and get_internals().

◆ registered_instances

std::unordered_multimap< const void *, instance * > internals::registered_instances

◆ registered_types_cpp

type_map< type_info * > internals::registered_types_cpp

◆ registered_types_py

std::unordered_map< PyTypeObject *, std::vector< type_info * > > internals::registered_types_py

◆ shared_data

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().

◆ static_property_type

PyTypeObject * internals::static_property_type

Definition at line 168 of file internals.h.

Referenced by pybind11_meta_setattro().

◆ static_strings

std::forward_list< std::string > internals::static_strings

Definition at line 166 of file internals.h.

Referenced by c_str().


The documentation for this struct was generated from the following files: