Template Function lsst::afw::table::python::declareCatalog¶
Function Documentation¶
-
template<typename
Record
>
PyCatalog<Record>lsst::afw::table::python
::
declareCatalog
(utils::python::WrapperCollection &wrappers, std::string const &name, bool isBase = false)¶ Wrap an instantiation of lsst::afw::table::CatalogT<Record>.
In addition to calling this method you must call addCatalogMethods on the class object in Python.
- Template Parameters
Record
: Record type, e.g. BaseRecord or SimpleRecord.
- Parameters
[in] wrappers
: Package manager class will be added to.[in] name
: Name prefix of the record type, e.g. “Base” or “Simple”.[in] isBase
: Whether this instantiation is only being used as a base class (used to set the class name).