LSSTApplications
20.0.0
LSSTDataManagementBasePackage
stack
1a1d771
Linux64
daf_persistence
20.0.0
python
lsst
daf
persistence
logicalLocation.cc
Go to the documentation of this file.
1
#include "pybind11/pybind11.h"
2
#include "pybind11/stl.h"
3
4
#include "
lsst/daf/base/PropertySet.h
"
5
#include "
lsst/daf/persistence/LogicalLocation.h
"
6
7
namespace
py
=
pybind11
;
8
9
namespace
lsst
{
10
namespace
daf {
11
namespace
persistence {
12
13
PYBIND11_MODULE
(logicalLocation, mod) {
14
py::class_<LogicalLocation>
cls
(mod,
"LogicalLocation"
);
15
16
cls
.def(py::init<std::string const&>());
17
cls
.def(
py::init
<
std::string
const
&,
CONST_PTR
(
dafBase::PropertySet
)>());
18
cls
.def(
"locString"
, &
LogicalLocation::locString
);
19
cls
.def_static(
"setLocationMap"
,
LogicalLocation::setLocationMap
);
20
}
21
22
}
// persistence
23
}
// daf
24
}
// lsst
CONST_PTR
#define CONST_PTR(...)
A shared pointer to a const object.
Definition:
base.h:47
std::string
STL class.
lsst::daf::persistence::PYBIND11_MODULE
PYBIND11_MODULE(dbAuth, mod)
Definition:
dbAuth.cc:11
lsst::daf::persistence::LogicalLocation::locString
std::string const & locString(void) const
Accessor.
Definition:
LogicalLocation.cc:119
lsst::afw::geom.transform.transformContinued.cls
cls
Definition:
transformContinued.py:33
PropertySet.h
lsst
A base class for image defects.
Definition:
imageAlgorithm.dox:1
LogicalLocation.h
Interface for LogicalLocation class.
lsst::daf::persistence::LogicalLocation::setLocationMap
static void setLocationMap(boost::shared_ptr< dafBase::PropertySet > map)
Set the logical-to-less-logical map.
Definition:
LogicalLocation.cc:123
lsst::daf::base::PropertySet
Class for storing generic metadata.
Definition:
PropertySet.h:67
pybind11
Definition:
_GenericMap.cc:40
lsst::utils.tests.init
def init()
Definition:
tests.py:58
Generated on Wed Jun 24 2020 18:10:06 for LSSTApplications by
1.8.18