Go to the documentation of this file.
33 using LocalMap = std::unordered_map<std::string, LocalType>;
36 using NonLocalMap = std::unordered_map<std::string, NonLocalType>;
43 const char *
what() const noexcept
override {
return message.c_str(); }
53 const char *
what() const noexcept
override {
return message.c_str(); }
68 template <
typename T,
int Adjust = 0,
typename... Args>
70 return py::class_<T>(std::forward<Args>(
args)...).def(py::init<int>()).def(
"get", [](
T &
i) {
PYBIND11_MAKE_OPAQUE(LocalVec)
LocalSimpleException(const char *m)
const std::string & name() const
Annotation for function names.
std::vector< NonLocal2 > NonLocalVec2
Eigen::Triplet< double > T
LocalException(const char *m)
std::vector< NonLocalType > NonLocalVec
std::unordered_map< std::string, NonLocalType > NonLocalMap
std::unordered_map< std::string, uint8_t > NonLocalMap2
std::vector< NonLocal2 > LocalVec2
const char * what() const noexcept override
std::unordered_map< std::string, LocalType > LocalMap
Simple class used to test py::local:
std::vector< LocalType > LocalVec
py::class_< T > bind_local(Args &&...args)
detail::enable_if_t<!detail::move_never< T >::value, T > move(object &&obj)
const char * what() const noexcept override
gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:33:08