Public Member Functions | Public Attributes | List of all members
internals Struct Reference

#include <internals.h>

Public Member Functions

 internals ()=default
 
 internals (const internals &other)=delete
 
internalsoperator= (const internals &other)=delete
 
 ~internals ()
 

Public Attributes

PyTypeObject * default_metaclass
 
type_map< std::vector< bool(*)(PyObject *, void *&)> > direct_conversions
 
std::unordered_set< std::pair< const PyObject *, const char * >, override_hashinactive_override_cache
 
PyObject * instance_base
 
PyInterpreterState * istate = nullptr
 
std::unordered_map< const PyObject *, std::vector< PyObject * > > patients
 
std::forward_list< ExceptionTranslatorregistered_exception_translators
 
instance_map registered_instances
 
type_map< type_info * > registered_types_cpp
 
std::unordered_map< PyTypeObject *, std::vector< type_info * > > registered_types_py
 
std::unordered_map< std::string, void * > shared_data
 
PyTypeObject * static_property_type
 
std::forward_list< std::string > static_strings
 
std::vector< PyObject * > unused_loader_patient_stack_remove_at_v5
 

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 162 of file internals.h.

Constructor & Destructor Documentation

◆ internals() [1/2]

internals::internals ( )
default

◆ internals() [2/2]

internals::internals ( const internals other)
delete

◆ ~internals()

internals::~internals ( )
inline

Definition at line 208 of file internals.h.

Member Function Documentation

◆ operator=()

internals& internals::operator= ( const internals other)
delete

Member Data Documentation

◆ default_metaclass

PyTypeObject* internals::default_metaclass

Definition at line 189 of file internals.h.

◆ direct_conversions

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

Definition at line 178 of file internals.h.

◆ inactive_override_cache

std::unordered_set<std::pair<const PyObject *, const char *>, override_hash> internals::inactive_override_cache

Definition at line 177 of file internals.h.

◆ instance_base

PyObject* internals::instance_base

Definition at line 190 of file internals.h.

◆ istate

PyInterpreterState* internals::istate = nullptr

Definition at line 197 of file internals.h.

◆ patients

std::unordered_map<const PyObject *, std::vector<PyObject *> > internals::patients

Definition at line 179 of file internals.h.

◆ registered_exception_translators

std::forward_list<ExceptionTranslator> internals::registered_exception_translators

Definition at line 180 of file internals.h.

◆ registered_instances

instance_map internals::registered_instances

Definition at line 174 of file internals.h.

◆ registered_types_cpp

type_map<type_info *> internals::registered_types_cpp

Definition at line 167 of file internals.h.

◆ registered_types_py

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

Definition at line 169 of file internals.h.

◆ shared_data

std::unordered_map<std::string, void *> internals::shared_data

Definition at line 181 of file internals.h.

◆ static_property_type

PyTypeObject* internals::static_property_type

Definition at line 188 of file internals.h.

◆ static_strings

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

Definition at line 186 of file internals.h.

◆ unused_loader_patient_stack_remove_at_v5

std::vector<PyObject *> internals::unused_loader_patient_stack_remove_at_v5

Definition at line 184 of file internals.h.


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


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:10:01