LSSTApplications  20.0.0
LSSTDataManagementBasePackage
_table.cc
Go to the documentation of this file.
1 /*
2  * This file is part of afw.
3  *
4  * Developed for the LSST Data Management System.
5  * This product includes software developed by the LSST Project
6  * (https://www.lsst.org).
7  * See the COPYRIGHT file at the top-level directory of this distribution
8  * for details of code ownership.
9  *
10  * This program is free software: you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation, either version 3 of the License, or
13  * (at your option) any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with this program. If not, see <https://www.gnu.org/licenses/>.
22  */
23 
24 #include "pybind11/pybind11.h"
25 
26 #include "lsst/utils/python.h"
27 
28 namespace py = pybind11;
29 using namespace pybind11::literals;
30 
31 namespace lsst {
32 namespace afw {
33 namespace table {
34 
35 using utils::python::WrapperCollection;
36 
37 void wrapAggregates(WrapperCollection&);
38 void wrapAliasMap(WrapperCollection&);
39 void wrapArrays(WrapperCollection&);
40 void wrapBase(WrapperCollection&);
41 void wrapBaseColumnView(WrapperCollection&);
42 void wrapExposure(WrapperCollection&);
43 void wrapIdFactory(WrapperCollection&);
44 void wrapMatch(WrapperCollection&);
45 void wrapSchema(WrapperCollection&);
46 void wrapSchemaMapper(WrapperCollection&);
47 void wrapSimple(WrapperCollection&);
48 void wrapSlots(WrapperCollection&);
49 void wrapSource(WrapperCollection&);
50 void wrapWcsUtils(WrapperCollection&);
51 
52 PYBIND11_MODULE(_table, mod) {
53  WrapperCollection wrappers(mod, "lsst.afw.table");
54  wrapAliasMap(wrappers);
55  wrapSchema(wrappers);
56  wrapSchemaMapper(wrappers);
57  wrapBaseColumnView(wrappers);
58  wrapBase(wrappers);
59  wrapIdFactory(wrappers);
60  wrapArrays(wrappers);
61  wrapAggregates(wrappers);
62  wrapSlots(wrappers);
63  wrapSimple(wrappers);
64  wrapSource(wrappers);
65  wrapExposure(wrappers);
66  wrapMatch(wrappers);
67  wrapWcsUtils(wrappers);
68  wrappers.finish();
69 }
70 
71 } // namespace table
72 } // namespace afw
73 } // namespace lsst
lsst::afw::table::wrapSlots
void wrapSlots(WrapperCollection &wrappers)
Definition: _slots.cc:70
lsst::afw::table::wrapBaseColumnView
void wrapBaseColumnView(WrapperCollection &wrappers)
Definition: _baseColumnView.cc:128
lsst::afw::table::wrapAliasMap
void wrapAliasMap(utils::python::WrapperCollection &wrappers)
Definition: _aliasMap.cc:39
lsst::afw
Definition: imageAlgorithm.dox:1
lsst::utils::python::WrapperCollection::finish
void finish()
Invoke all deferred wrapper-declaring callables.
Definition: python.h:435
lsst::afw::table::wrapExposure
void wrapExposure(WrapperCollection &wrappers)
Definition: _exposure.cc:175
lsst::afw::table::wrapSchema
void wrapSchema(WrapperCollection &wrappers)
Definition: _schema.cc:539
lsst::afw::table::wrapIdFactory
void wrapIdFactory(utils::python::WrapperCollection &wrappers)
Definition: _idFactory.cc:38
lsst::afw::table::wrapBase
void wrapBase(WrapperCollection &wrappers)
Definition: _base.cc:174
lsst::utils::python::WrapperCollection
A helper class for subdividing pybind11 module across multiple translation units (i....
Definition: python.h:242
lsst::afw::table::wrapSchemaMapper
void wrapSchemaMapper(WrapperCollection &wrappers)
Definition: _schemaMapper.cc:55
lsst
A base class for image defects.
Definition: imageAlgorithm.dox:1
python.h
lsst::afw::table::wrapSource
void wrapSource(WrapperCollection &wrappers)
Definition: _source.cc:192
lsst::afw::table::wrapArrays
void wrapArrays(WrapperCollection &wrappers)
Definition: _arrays.cc:101
lsst::afw::table::wrapMatch
void wrapMatch(WrapperCollection &wrappers)
Definition: _match.cc:89
pybind11
Definition: _GenericMap.cc:40
lsst::afw::table::wrapAggregates
void wrapAggregates(WrapperCollection &wrappers)
Definition: _aggregates.cc:201
lsst::afw::table::wrapSimple
void wrapSimple(WrapperCollection &wrappers)
Definition: _simple.cc:92
lsst::afw::table::wrapWcsUtils
void wrapWcsUtils(WrapperCollection &)
Definition: _wcsUtils.cc:64
lsst::afw::table::PYBIND11_MODULE
PYBIND11_MODULE(_table, mod)
Definition: _table.cc:52