Classes | Namespaces | Typedefs | Functions
local_bindings.h File Reference
#include "pybind11_tests.h"
Include dependency graph for local_bindings.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  LocalBase< int >
 Simple class used to test py::local: More...
 
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_< Tbind_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)
 

Typedef Documentation

Registered with py::module_local only in the secondary module:

Definition at line 25 of file local_bindings.h.

Definition at line 26 of file local_bindings.h.

Tests within-module, different-compilation-unit local definition conflict:

Definition at line 18 of file local_bindings.h.

using LocalMap = std::unordered_map<std::string, LocalType>

Definition at line 30 of file local_bindings.h.

using LocalType = LocalBase<0>

Registered with py::module_local in both main and secondary modules:

Definition at line 12 of file local_bindings.h.

using LocalVec = std::vector<LocalType>

Definition at line 28 of file local_bindings.h.

using LocalVec2 = std::vector<NonLocal2>

Definition at line 29 of file local_bindings.h.

Mixed: global first, then local.

Definition at line 22 of file local_bindings.h.

Mixed: registered local first, then global.

Definition at line 20 of file local_bindings.h.

using NonLocal2 = LocalBase<2>

A second non-local type (for stl_bind tests):

Definition at line 16 of file local_bindings.h.

using NonLocalMap = std::unordered_map<std::string, NonLocalType>

Definition at line 33 of file local_bindings.h.

using NonLocalMap2 = std::unordered_map<std::string, uint8_t>

Definition at line 34 of file local_bindings.h.

using NonLocalType = LocalBase<1>

Registered without py::module_local in both modules:

Definition at line 14 of file local_bindings.h.

using NonLocalVec = std::vector<NonLocalType>

Definition at line 31 of file local_bindings.h.

using NonLocalVec2 = std::vector<NonLocal2>

Definition at line 32 of file local_bindings.h.

Function Documentation

template<typename T , int Adjust = 0, typename... Args>
py::class_<T> bind_local ( Args &&...  args)

Definition at line 47 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  )


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:31