3#ifndef AWKWARDPY_TYPES_H_
4#define AWKWARDPY_TYPES_H_
6#include <pybind11/pybind11.h>
19namespace py = pybind11;
22py::class_<ak::Type, std::shared_ptr<ak::Type>>
23make_Type(
const py::handle& m,
const std::string& name);
25py::class_<ak::ArrayType, std::shared_ptr<ak::ArrayType>,
ak::Type>
28py::class_<ak::ListType, std::shared_ptr<ak::ListType>,
ak::Type>
31py::class_<ak::OptionType, std::shared_ptr<ak::OptionType>,
ak::Type>
34py::class_<ak::PrimitiveType, std::shared_ptr<ak::PrimitiveType>,
ak::Type>
37py::class_<ak::RecordType, std::shared_ptr<ak::RecordType>,
ak::Type>
40py::class_<ak::RegularType, std::shared_ptr<ak::RegularType>,
ak::Type>
43py::class_<ak::UnionType, std::shared_ptr<ak::UnionType>,
ak::Type>
46py::class_<ak::UnknownType, std::shared_ptr<ak::UnknownType>,
ak::Type>
Abstract superclass of all high level types (flat hierarchy).
Definition: Type.h:23
Definition: BitMaskedArray.h:15
py::class_< ak::OptionType, std::shared_ptr< ak::OptionType >, ak::Type > make_OptionType(const py::handle &m, const std::string &name)
py::class_< ak::UnknownType, std::shared_ptr< ak::UnknownType >, ak::Type > make_UnknownType(const py::handle &m, const std::string &name)
py::class_< ak::PrimitiveType, std::shared_ptr< ak::PrimitiveType >, ak::Type > make_PrimitiveType(const py::handle &m, const std::string &name)
py::class_< ak::ArrayType, std::shared_ptr< ak::ArrayType >, ak::Type > make_ArrayType(const py::handle &m, const std::string &name)
py::class_< ak::ListType, std::shared_ptr< ak::ListType >, ak::Type > make_ListType(const py::handle &m, const std::string &name)
py::class_< ak::Type, std::shared_ptr< ak::Type > > make_Type(const py::handle &m, const std::string &name)
py::class_< ak::RecordType, std::shared_ptr< ak::RecordType >, ak::Type > make_RecordType(const py::handle &m, const std::string &name)
py::class_< ak::UnionType, std::shared_ptr< ak::UnionType >, ak::Type > make_UnionType(const py::handle &m, const std::string &name)
py::class_< ak::RegularType, std::shared_ptr< ak::RegularType >, ak::Type > make_RegularType(const py::handle &m, const std::string &name)