Awkward Array: include/awkward/python/index.h Source File

Loading...
Searching...
No Matches
index.h
Go to the documentation of this file.
1// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE
2
3#ifndef AWKWARDPY_INDEX_H_
4#define AWKWARDPY_INDEX_H_
5
6#include <string>
7
8#include <pybind11/pybind11.h>
9
10#include "awkward/Index.h"
11
12namespace py = pybind11;
13namespace ak = awkward;
14
17template <typename T>
18py::class_<ak::IndexOf<T>>
19 make_IndexOf(const py::handle& m, const std::string& name);
20
21#endif // AWKWARDPY_INDEX_H_
Index.h
make_IndexOf
py::class_< ak::IndexOf< T > > make_IndexOf(const py::handle &m, const std::string &name)
Makes Index32, IndexU32, Index64 classes in Python that mirror IndexOf in C++.
awkward
Definition: BitMaskedArray.h:15