LSSTApplications  17.0+118,17.0+12,17.0+68,18.0.0+32,18.0.0+6,18.0.0+73,18.0.0-4-g68ffd23+2,18.1.0-1-g0001055+10,18.1.0-1-g03d53ef+3,18.1.0-1-g1349e88+48,18.1.0-1-g2505f39+38,18.1.0-1-g5315e5e+2,18.1.0-1-g5e4b7ea+12,18.1.0-1-g7e8fceb+2,18.1.0-1-g85f8cd4+41,18.1.0-1-g8ff0b9f+1,18.1.0-1-gd55f500+29,18.1.0-13-gfe4edf0b+4,18.1.0-14-g259bd21+13,18.1.0-16-gf53fc9f+2,18.1.0-2-g5f9922c+17,18.1.0-2-gd3b74e5+6,18.1.0-2-gfbf3545+25,18.1.0-2-gfefb8b5+37,18.1.0-24-gd64d31bc+2,18.1.0-24-ged780bc+2,18.1.0-27-g8f4a40ebd,18.1.0-3-g52aa583+20,18.1.0-3-g8ea57af+2,18.1.0-3-g8f4a2b1+35,18.1.0-3-gb69f684+34,18.1.0-5-g1dd662b,18.1.0-5-g6dbcb01+34,18.1.0-6-gae77429+1,18.1.0-7-g9d75d83+2,18.1.0-7-gae09a6d+22,18.1.0-8-gc69d46e+20,18.1.0-9-g1af92ce+2,18.1.0-9-gee19f03+6,w.2019.44
LSSTDataManagementBasePackage
Namespaces | Functions
Utils.cc File Reference
#include <cstdint>
#include <iostream>
#include <vector>
#include "boost/format.hpp"
#include "lsst/pex/exceptions.h"
#include "lsst/daf/base/PropertySet.h"
#include "lsst/daf/persistence/LogicalLocation.h"
#include "lsst/afw/formatters/Utils.h"

Go to the source code of this file.

Namespaces

 lsst
 A base class for image defects.
 
 lsst::afw
 
 lsst::afw::formatters
 

Functions

int lsst::afw::formatters::extractSliceId (std::shared_ptr< lsst::daf::base::PropertySet const > const &properties)
 
int lsst::afw::formatters::extractVisitId (std::shared_ptr< lsst::daf::base::PropertySet const > const &properties)
 
int64_t lsst::afw::formatters::extractFpaExposureId (std::shared_ptr< lsst::daf::base::PropertySet const > const &properties)
 
int lsst::afw::formatters::extractCcdId (std::shared_ptr< lsst::daf::base::PropertySet const > const &properties)
 
int lsst::afw::formatters::extractAmpId (std::shared_ptr< lsst::daf::base::PropertySet const > const &properties)
 
int64_t lsst::afw::formatters::extractCcdExposureId (std::shared_ptr< lsst::daf::base::PropertySet const > const &properties)
 
int64_t lsst::afw::formatters::extractAmpExposureId (std::shared_ptr< lsst::daf::base::PropertySet const > const &properties)
 
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. More...
 
bool lsst::afw::formatters::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...
 
int lsst::afw::formatters::countFitsHeaderCards (lsst::daf::base::PropertySet const &prop)
 
ndarray::Array< std::uint8_t, 1, 1 > lsst::afw::formatters::stringToBytes (std::string const &str)
 Encode a std::string as a vector of uint8. 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. More...