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

Loading...
Searching...
No Matches
forms.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_FORMS_H_
4#define AWKWARDPY_FORMS_H_
5
6#include <pybind11/pybind11.h>
7
8#include "awkward/Content.h"
9#include "awkward/array/BitMaskedArray.h"
10#include "awkward/array/ByteMaskedArray.h"
11#include "awkward/array/EmptyArray.h"
12#include "awkward/array/IndexedArray.h"
13#include "awkward/array/ListArray.h"
14#include "awkward/array/ListOffsetArray.h"
15#include "awkward/array/NumpyArray.h"
16#include "awkward/array/RecordArray.h"
17#include "awkward/array/RegularArray.h"
18#include "awkward/array/UnionArray.h"
19#include "awkward/array/UnmaskedArray.h"
20#include "awkward/array/VirtualArray.h"
21
22namespace py = pybind11;
23namespace ak = awkward;
24
25py::class_<ak::Form, std::shared_ptr<ak::Form>>
26make_Form(const py::handle& m, const std::string& name);
27
28py::class_<ak::BitMaskedForm, std::shared_ptr<ak::BitMaskedForm>, ak::Form>
29make_BitMaskedForm(const py::handle& m, const std::string& name);
30
31py::class_<ak::ByteMaskedForm, std::shared_ptr<ak::ByteMaskedForm>, ak::Form>
32make_ByteMaskedForm(const py::handle& m, const std::string& name);
33
34py::class_<ak::EmptyForm, std::shared_ptr<ak::EmptyForm>, ak::Form>
35make_EmptyForm(const py::handle& m, const std::string& name);
36
37py::class_<ak::IndexedForm, std::shared_ptr<ak::IndexedForm>, ak::Form>
38make_IndexedForm(const py::handle& m, const std::string& name);
39
40py::class_<ak::IndexedOptionForm, std::shared_ptr<ak::IndexedOptionForm>, ak::Form>
41make_IndexedOptionForm(const py::handle& m, const std::string& name);
42
43py::class_<ak::ListForm, std::shared_ptr<ak::ListForm>, ak::Form>
44make_ListForm(const py::handle& m, const std::string& name);
45
46py::class_<ak::ListOffsetForm, std::shared_ptr<ak::ListOffsetForm>, ak::Form>
47make_ListOffsetForm(const py::handle& m, const std::string& name);
48
49py::class_<ak::NumpyForm, std::shared_ptr<ak::NumpyForm>, ak::Form>
50make_NumpyForm(const py::handle& m, const std::string& name);
51
52py::class_<ak::RecordForm, std::shared_ptr<ak::RecordForm>, ak::Form>
53make_RecordForm(const py::handle& m, const std::string& name);
54
55py::class_<ak::RegularForm, std::shared_ptr<ak::RegularForm>, ak::Form>
56make_RegularForm(const py::handle& m, const std::string& name);
57
58py::class_<ak::UnionForm, std::shared_ptr<ak::UnionForm>, ak::Form>
59make_UnionForm(const py::handle& m, const std::string& name);
60
61py::class_<ak::UnmaskedForm, std::shared_ptr<ak::UnmaskedForm>, ak::Form>
62make_UnmaskedForm(const py::handle& m, const std::string& name);
63
64py::class_<ak::VirtualForm, std::shared_ptr<ak::VirtualForm>, ak::Form>
65make_VirtualForm(const py::handle& m, const std::string& name);
66
67#endif // AWKWARDPY_FORMS_H_
BitMaskedArray.h
ByteMaskedArray.h
Content.h
EmptyArray.h
IndexedArray.h
ListArray.h
ListOffsetArray.h
NumpyArray.h
RecordArray.h
RegularArray.h
UnionArray.h
UnmaskedArray.h
VirtualArray.h
awkward::Form
Abstract superclass of all array node forms, which expresses the nesting structure without any large ...
Definition: Content.h:39
make_UnmaskedForm
py::class_< ak::UnmaskedForm, std::shared_ptr< ak::UnmaskedForm >, ak::Form > make_UnmaskedForm(const py::handle &m, const std::string &name)
make_IndexedOptionForm
py::class_< ak::IndexedOptionForm, std::shared_ptr< ak::IndexedOptionForm >, ak::Form > make_IndexedOptionForm(const py::handle &m, const std::string &name)
make_ByteMaskedForm
py::class_< ak::ByteMaskedForm, std::shared_ptr< ak::ByteMaskedForm >, ak::Form > make_ByteMaskedForm(const py::handle &m, const std::string &name)
make_UnionForm
py::class_< ak::UnionForm, std::shared_ptr< ak::UnionForm >, ak::Form > make_UnionForm(const py::handle &m, const std::string &name)
make_RecordForm
py::class_< ak::RecordForm, std::shared_ptr< ak::RecordForm >, ak::Form > make_RecordForm(const py::handle &m, const std::string &name)
make_IndexedForm
py::class_< ak::IndexedForm, std::shared_ptr< ak::IndexedForm >, ak::Form > make_IndexedForm(const py::handle &m, const std::string &name)
make_Form
py::class_< ak::Form, std::shared_ptr< ak::Form > > make_Form(const py::handle &m, const std::string &name)
make_RegularForm
py::class_< ak::RegularForm, std::shared_ptr< ak::RegularForm >, ak::Form > make_RegularForm(const py::handle &m, const std::string &name)
make_VirtualForm
py::class_< ak::VirtualForm, std::shared_ptr< ak::VirtualForm >, ak::Form > make_VirtualForm(const py::handle &m, const std::string &name)
make_EmptyForm
py::class_< ak::EmptyForm, std::shared_ptr< ak::EmptyForm >, ak::Form > make_EmptyForm(const py::handle &m, const std::string &name)
make_ListForm
py::class_< ak::ListForm, std::shared_ptr< ak::ListForm >, ak::Form > make_ListForm(const py::handle &m, const std::string &name)
make_ListOffsetForm
py::class_< ak::ListOffsetForm, std::shared_ptr< ak::ListOffsetForm >, ak::Form > make_ListOffsetForm(const py::handle &m, const std::string &name)
make_BitMaskedForm
py::class_< ak::BitMaskedForm, std::shared_ptr< ak::BitMaskedForm >, ak::Form > make_BitMaskedForm(const py::handle &m, const std::string &name)
make_NumpyForm
py::class_< ak::NumpyForm, std::shared_ptr< ak::NumpyForm >, ak::Form > make_NumpyForm(const py::handle &m, const std::string &name)
awkward
Definition: BitMaskedArray.h:15