|
ddt
0.1
|
#include "ddt/ddtDataBroker.hpp"#include "pybind11/pybind11.h"#include "pybind11/stl.h"#include <cstring>Functions | |
| bool | init_helper (DdtDataBroker &self, std::vector< std::string > &arguments) |
| Helper method for calling DdtDataBroker::Init(int argc, char** argv). More... | |
| PYBIND11_MODULE (DdtDataBroker, m) | |
| Construct a new pybind11 module object. More... | |
| bool init_helper | ( | DdtDataBroker & | self, |
| std::vector< std::string > & | arguments | ||
| ) |
Helper method for calling DdtDataBroker::Init(int argc, char** argv).
This method casts the entries of arguments of type std::string to char arrays and stores them in another array. This is important for having a '\0' at the end of each entry.
| self | The DdtDataBroker class which implements the Init method. |
| arguments | The arguments with which the broker is to be started. |
| PYBIND11_MODULE | ( | DdtDataBroker | , |
| m | |||
| ) |
Construct a new pybind11 module object.