Go to the documentation of this file.
2 #include <boost/python.hpp>
10 template <
typename... Args>
12 void formatHelper(std::ostream& os,
const std::string& s,
const Args&... Args_) {
20 template <
typename T,
typename... Args>
22 void formatHelper(std::ostream& os,
const T& next,
const Args&... Args_) {
28 template <
typename T,
typename... Args>
30 void format(std::ostream& os,
const T& first,
const Args&... Args_) {
35 template <
typename... Args>
37 std::string
makeRepr(
const char* name,
const Args&... Args_) {
38 std::ostringstream os;
45 inline std::string
repr(
const boost::python::object& o) {
46 using namespace boost::python;
47 object repr =
import(
"builtins").attr(
"repr");
48 return call<std::string>(
repr.ptr(), o);
void format(std::ostream &os, const T &first, const Args &... Args_)
Optional< ConstLaneletOrArea > next
void formatHelper(std::ostream &os)
std::string repr(const boost::python::object &o)
std::string makeRepr(const char *name, const Args &... Args_)
lanelet2_python
Author(s): Fabian Poggenhans
autogenerated on Thu Mar 6 2025 03:26:14