LSSTApplications  18.1.0
LSSTDataManagementBasePackage
logicalLocation.cc
Go to the documentation of this file.
1 #include "pybind11/pybind11.h"
2 #include "pybind11/stl.h"
3 
6 
7 namespace py = pybind11;
8 
9 namespace lsst {
10 namespace daf {
11 namespace persistence {
12 
14  py::class_<LogicalLocation> cls(mod, "LogicalLocation");
15 
16  cls.def(py::init<std::string const&>());
18  cls.def("locString", &LogicalLocation::locString);
19  cls.def_static("setLocationMap", LogicalLocation::setLocationMap);
20 }
21 
22 } // persistence
23 } // daf
24 } // lsst
def init()
Definition: tests.py:75
std::string const & locString(void) const
Accessor.
#define CONST_PTR(...)
A shared pointer to a const object.
Definition: base.h:47
STL class.
A base class for image defects.
static void setLocationMap(boost::shared_ptr< dafBase::PropertySet > map)
Set the logical-to-less-logical map.
Class for storing generic metadata.
Definition: PropertySet.h:68
PYBIND11_MODULE(dbAuth, mod)
Definition: dbAuth.cc:11
Interface for LogicalLocation class.