Classes | Namespaces | Typedefs | Functions
local_bindings.h File Reference
#include "pybind11_tests.h"
#include <utility>
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...
 
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_< Tbind_local (Args &&...args)
 
 PYBIND11_MAKE_OPAQUE (LocalMap)
 
 PYBIND11_MAKE_OPAQUE (LocalVec)
 
 PYBIND11_MAKE_OPAQUE (LocalVec2)
 
 PYBIND11_MAKE_OPAQUE (NonLocalMap)
 
 PYBIND11_MAKE_OPAQUE (NonLocalMap2)
 
 PYBIND11_MAKE_OPAQUE (NonLocalVec)
 

Typedef Documentation

◆ ExternalType1

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

Definition at line 28 of file local_bindings.h.

◆ ExternalType2

Definition at line 29 of file local_bindings.h.

◆ LocalExternal

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

Definition at line 21 of file local_bindings.h.

◆ LocalMap

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

Definition at line 33 of file local_bindings.h.

◆ LocalType

using LocalType = LocalBase<0>

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

Definition at line 15 of file local_bindings.h.

◆ LocalVec

using LocalVec = std::vector<LocalType>

Definition at line 31 of file local_bindings.h.

◆ LocalVec2

using LocalVec2 = std::vector<NonLocal2>

Definition at line 32 of file local_bindings.h.

◆ MixedGlobalLocal

Mixed: global first, then local.

Definition at line 25 of file local_bindings.h.

◆ MixedLocalGlobal

Mixed: registered local first, then global.

Definition at line 23 of file local_bindings.h.

◆ NonLocal2

using NonLocal2 = LocalBase<2>

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

Definition at line 19 of file local_bindings.h.

◆ NonLocalMap

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

Definition at line 36 of file local_bindings.h.

◆ NonLocalMap2

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

Definition at line 37 of file local_bindings.h.

◆ NonLocalType

using NonLocalType = LocalBase<1>

Registered without py::module_local in both modules:

Definition at line 17 of file local_bindings.h.

◆ NonLocalVec

using NonLocalVec = std::vector<NonLocalType>

Definition at line 34 of file local_bindings.h.

◆ NonLocalVec2

using NonLocalVec2 = std::vector<NonLocal2>

Definition at line 35 of file local_bindings.h.

Function Documentation

◆ bind_local()

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

Definition at line 69 of file local_bindings.h.

◆ PYBIND11_MAKE_OPAQUE() [1/6]

PYBIND11_MAKE_OPAQUE ( LocalMap  )

◆ PYBIND11_MAKE_OPAQUE() [2/6]

PYBIND11_MAKE_OPAQUE ( LocalVec  )

◆ PYBIND11_MAKE_OPAQUE() [3/6]

PYBIND11_MAKE_OPAQUE ( LocalVec2  )

◆ PYBIND11_MAKE_OPAQUE() [4/6]

PYBIND11_MAKE_OPAQUE ( NonLocalMap  )

◆ PYBIND11_MAKE_OPAQUE() [5/6]

PYBIND11_MAKE_OPAQUE ( NonLocalMap2  )

◆ PYBIND11_MAKE_OPAQUE() [6/6]

PYBIND11_MAKE_OPAQUE ( NonLocalVec  )


gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:18:30