Loading...
Searching...
No Matches
partition.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_PARTITION_H_
4#define AWKWARDPY_PARTITION_H_
5
6#include <string>
7
8#include <pybind11/pybind11.h>
9
12
13namespace py = pybind11;
14namespace ak = awkward;
15
18py::class_<ak::PartitionedArray, std::shared_ptr<ak::PartitionedArray>>
19 make_PartitionedArray(const py::handle& m, const std::string& name);
20
24 std::shared_ptr<ak::IrregularlyPartitionedArray>,
26 make_IrregularlyPartitionedArray(const py::handle& m, const std::string& name);
27
28#endif // AWKWARDPY_PARTITION_H_
PartitionedArray of arbitrary length partitions.
Definition: IrregularlyPartitionedArray.h:12
Abstract superclass of all PartitionedArray node types. PartitionedArrays contain a list of Content,...
Definition: PartitionedArray.h:17
Definition: BitMaskedArray.h:15
py::class_< ak::IrregularlyPartitionedArray, std::shared_ptr< ak::IrregularlyPartitionedArray >, ak::PartitionedArray > make_IrregularlyPartitionedArray(const py::handle &m, const std::string &name)
Makes an IrregularlyPartitionedArray in Python that mirrors the one in C++.
py::class_< ak::PartitionedArray, std::shared_ptr< ak::PartitionedArray > > make_PartitionedArray(const py::handle &m, const std::string &name)
Makes an abstract PartitionedArray class in Python that mirrors the one in C++.