Go to the source code of this file.
Classes | |
class | LocalBase< int > |
Simple class used to test py::local: More... | |
class | LocalException |
class | LocalSimpleException |
struct | MixGL |
struct | MixGL2 |
class | pets::Pet |
Namespaces | |
pets | |
Typedefs | |
using | ExternalType1 = LocalBase< 6 > |
Registered with py::module_local only in the secondary module: More... | |
using | ExternalType2 = LocalBase< 7 > |
using | LocalExternal = LocalBase< 3 > |
Tests within-module, different-compilation-unit local definition conflict: More... | |
using | LocalMap = std::unordered_map< std::string, LocalType > |
using | LocalType = LocalBase< 0 > |
Registered with py::module_local in both main and secondary modules: More... | |
using | LocalVec = std::vector< LocalType > |
using | LocalVec2 = std::vector< NonLocal2 > |
using | MixedGlobalLocal = LocalBase< 5 > |
Mixed: global first, then local. More... | |
using | MixedLocalGlobal = LocalBase< 4 > |
Mixed: registered local first, then global. More... | |
using | NonLocal2 = LocalBase< 2 > |
A second non-local type (for stl_bind tests): More... | |
using | NonLocalMap = std::unordered_map< std::string, NonLocalType > |
using | NonLocalMap2 = std::unordered_map< std::string, uint8_t > |
using | NonLocalType = LocalBase< 1 > |
Registered without py::module_local in both modules: More... | |
using | NonLocalVec = std::vector< NonLocalType > |
using | NonLocalVec2 = std::vector< NonLocal2 > |
Functions | |
template<typename T , int Adjust = 0, typename... Args> | |
py::class_< T > | bind_local (Args &&...args) |
PYBIND11_MAKE_OPAQUE (LocalVec) | |
PYBIND11_MAKE_OPAQUE (LocalVec2) | |
PYBIND11_MAKE_OPAQUE (LocalMap) | |
PYBIND11_MAKE_OPAQUE (NonLocalVec) | |
PYBIND11_MAKE_OPAQUE (NonLocalMap) | |
PYBIND11_MAKE_OPAQUE (NonLocalMap2) | |
using ExternalType1 = LocalBase<6> |
Registered with py::module_local only in the secondary module:
Definition at line 28 of file local_bindings.h.
using ExternalType2 = LocalBase<7> |
Definition at line 29 of file local_bindings.h.
using LocalExternal = LocalBase<3> |
Tests within-module, different-compilation-unit local definition conflict:
Definition at line 21 of file local_bindings.h.
Definition at line 33 of file local_bindings.h.
Registered with py::module_local in both main and secondary modules:
Definition at line 15 of file local_bindings.h.
Definition at line 31 of file local_bindings.h.
Definition at line 32 of file local_bindings.h.
using MixedGlobalLocal = LocalBase<5> |
Mixed: global first, then local.
Definition at line 25 of file local_bindings.h.
using MixedLocalGlobal = LocalBase<4> |
Mixed: registered local first, then global.
Definition at line 23 of file local_bindings.h.
A second non-local type (for stl_bind tests):
Definition at line 19 of file local_bindings.h.
using NonLocalMap = std::unordered_map<std::string, NonLocalType> |
Definition at line 36 of file local_bindings.h.
using NonLocalMap2 = std::unordered_map<std::string, uint8_t> |
Definition at line 37 of file local_bindings.h.
using NonLocalType = LocalBase<1> |
Registered without py::module_local in both modules:
Definition at line 17 of file local_bindings.h.
using NonLocalVec = std::vector<NonLocalType> |
Definition at line 34 of file local_bindings.h.
using NonLocalVec2 = std::vector<NonLocal2> |
Definition at line 35 of file local_bindings.h.
py::class_<T> bind_local | ( | Args &&... | args | ) |
Definition at line 69 of file local_bindings.h.
PYBIND11_MAKE_OPAQUE | ( | LocalVec | ) |
PYBIND11_MAKE_OPAQUE | ( | LocalVec2 | ) |
PYBIND11_MAKE_OPAQUE | ( | LocalMap | ) |
PYBIND11_MAKE_OPAQUE | ( | NonLocalVec | ) |
PYBIND11_MAKE_OPAQUE | ( | NonLocalMap | ) |
PYBIND11_MAKE_OPAQUE | ( | NonLocalMap2 | ) |