LSSTApplications
17.0+124,17.0+14,17.0+73,18.0.0+37,18.0.0+80,18.0.0-4-g68ffd23+4,18.1.0-1-g0001055+12,18.1.0-1-g03d53ef+5,18.1.0-1-g1349e88+55,18.1.0-1-g2505f39+44,18.1.0-1-g5315e5e+4,18.1.0-1-g5e4b7ea+14,18.1.0-1-g7e8fceb+4,18.1.0-1-g85f8cd4+48,18.1.0-1-g8ff0b9f+4,18.1.0-1-ga2c679d+1,18.1.0-1-gd55f500+35,18.1.0-10-gb58edde+2,18.1.0-11-g0997b02+4,18.1.0-13-gfe4edf0b+12,18.1.0-14-g259bd21+21,18.1.0-19-gdb69f3f+2,18.1.0-2-g5f9922c+24,18.1.0-2-gd3b74e5+11,18.1.0-2-gfbf3545+32,18.1.0-26-g728bddb4+5,18.1.0-27-g6ff7ca9+2,18.1.0-3-g52aa583+25,18.1.0-3-g8ea57af+9,18.1.0-3-gb69f684+42,18.1.0-3-gfcaddf3+6,18.1.0-32-gd8786685a,18.1.0-4-gf3f9b77+6,18.1.0-5-g1dd662b+2,18.1.0-5-g6dbcb01+41,18.1.0-6-gae77429+3,18.1.0-7-g9d75d83+9,18.1.0-7-gae09a6d+30,18.1.0-9-gc381ef5+4,w.2019.45
LSSTDataManagementBasePackage
|
Functions | |
bool | extractOptionalFlag (std::shared_ptr< lsst::daf::base::PropertySet const > const &properties, std::string const &name) |
Returns true if and only if properties is non-null and contains a unique property with the given name that has type bool and a value of true . More... | |
std::string const | getItemName (std::shared_ptr< lsst::daf::base::PropertySet const > const &properties) |
Extracts and returns the string-valued "itemName" property from the given data property object. More... | |
int | extractSliceId (std::shared_ptr< lsst::daf::base::PropertySet const > const &properties) |
int64_t | extractFpaExposureId (std::shared_ptr< lsst::daf::base::PropertySet const > const &properties) |
int64_t | extractCcdExposureId (std::shared_ptr< lsst::daf::base::PropertySet const > const &properties) |
int64_t | extractAmpExposureId (std::shared_ptr< lsst::daf::base::PropertySet const > const &properties) |
int | extractVisitId (std::shared_ptr< lsst::daf::base::PropertySet const > const &properties) |
int | extractCcdId (std::shared_ptr< lsst::daf::base::PropertySet const > const &properties) |
int | extractAmpId (std::shared_ptr< lsst::daf::base::PropertySet const > const &properties) |
int | countFitsHeaderCards (lsst::daf::base::PropertySet const &prop) |
ndarray::Array< std::uint8_t, 1, 1 > | stringToBytes (std::string const &str) |
Encode a std::string as a vector of uint8. More... | |
std::string | bytesToString (ndarray::Array< std::uint8_t const, 1, 1 > const &bytes) |
Decode a std::string from a vector of uint8 returned by stringToBytes. More... | |
std::string lsst::afw::formatters::bytesToString | ( | ndarray::Array< std::uint8_t const, 1, 1 > const & | bytes | ) |
Decode a std::string from a vector of uint8 returned by stringToBytes.
Definition at line 173 of file Utils.cc.
int lsst::afw::formatters::countFitsHeaderCards | ( | lsst::daf::base::PropertySet const & | prop | ) |
int64_t lsst::afw::formatters::extractAmpExposureId | ( | std::shared_ptr< lsst::daf::base::PropertySet const > const & | properties | ) |
Definition at line 132 of file Utils.cc.
int lsst::afw::formatters::extractAmpId | ( | std::shared_ptr< lsst::daf::base::PropertySet const > const & | properties | ) |
Definition at line 107 of file Utils.cc.
int64_t lsst::afw::formatters::extractCcdExposureId | ( | std::shared_ptr< lsst::daf::base::PropertySet const > const & | properties | ) |
Definition at line 121 of file Utils.cc.
int lsst::afw::formatters::extractCcdId | ( | std::shared_ptr< lsst::daf::base::PropertySet const > const & | properties | ) |
Definition at line 93 of file Utils.cc.
int64_t lsst::afw::formatters::extractFpaExposureId | ( | std::shared_ptr< lsst::daf::base::PropertySet const > const & | properties | ) |
Definition at line 79 of file Utils.cc.
bool lsst::afw::formatters::extractOptionalFlag | ( | std::shared_ptr< lsst::daf::base::PropertySet const > const & | properties, |
std::string const & | name | ||
) |
int lsst::afw::formatters::extractSliceId | ( | std::shared_ptr< lsst::daf::base::PropertySet const > const & | properties | ) |
Definition at line 51 of file Utils.cc.
int lsst::afw::formatters::extractVisitId | ( | std::shared_ptr< lsst::daf::base::PropertySet const > const & | properties | ) |
Definition at line 68 of file Utils.cc.
std::string const lsst::afw::formatters::getItemName | ( | std::shared_ptr< lsst::daf::base::PropertySet const > const & | properties | ) |
Extracts and returns the string-valued "itemName"
property from the given data property object.
lsst::pex::exceptions::InvalidParameterError | If the given pointer is null, or the PropertySet pointed to does not contain a unique property named "itemName" . |
Definition at line 143 of file Utils.cc.
ndarray::Array< std::uint8_t, 1, 1 > lsst::afw::formatters::stringToBytes | ( | std::string const & | str | ) |
Encode a std::string as a vector of uint8.