#include "google/protobuf/message.h"#include <boost/python.hpp>#include "nrp_general_library/utils/nrp_exceptions.h"#include "nrp_protobuf/proto_python_bindings/proto_field_ops.h"Go to the source code of this file.
Classes | |
| class | RepeatedScalarFieldProxy |
| Proxy class implementing a list-like python wrapper for a protobuf repeated scalar field (ie. not of Message type) More... | |
| class | RepeatedScalarFieldIterProxy |
| Class implementing a python iterator for a RepeatedScalarFieldProxy. More... | |
Functions | |
| Py_ssize_t | ExtractIndices (PyObject *indices, Py_ssize_t &from, Py_ssize_t &to, Py_ssize_t &step, Py_ssize_t length) |
| Function which processes an index or slice object and sets from, to and step appropriately. More... | |
| Py_ssize_t ExtractIndices | ( | PyObject * | indices, |
| Py_ssize_t & | from, | ||
| Py_ssize_t & | to, | ||
| Py_ssize_t & | step, | ||
| Py_ssize_t | length | ||
| ) |
Function which processes an index or slice object and sets from, to and step appropriately.
Returns the size of the described range, -1 if 'indices' is not a valid slice