LSSTApplications  16.0-10-g9d3e444,16.0-10-gb7df26b,16.0-11-g09ed895+3,16.0-11-g12e47bd+6,16.0-12-g5c924a4+15,16.0-12-g71e5ef5+4,16.0-15-g7af1f30,16.0-15-gdd5ca33+2,16.0-16-gf0259e2+1,16.0-17-g5cf0468+8,16.0-18-ga4d4bcb+9,16.0-18-gcf94535+7,16.0-18-geff7d6b+4,16.0-19-g9d290d5+7,16.0-2-g0febb12+22,16.0-2-g9d5294e+73,16.0-2-ga8830df+7,16.0-21-gdae7b8c+1,16.0-23-g11577836+1,16.0-28-gfc9ea6c+14,16.0-29-ge8801f9+6,16.0-30-g6787e8a,16.0-4-g18f3627+17,16.0-4-g5f3a788+21,16.0-4-ga3eb747+11,16.0-4-gabf74b7+37,16.0-4-gb13d127+7,16.0-5-g27fb78a+15,16.0-5-g6a53317+42,16.0-5-gb3f8a4b+95,16.0-56-g24625975,16.0-6-g9321be7+5,16.0-6-gcbc7b31+52,16.0-6-gf49912c+38,16.0-75-gbf7a9a820,16.0-8-g21fd5fe+39,16.0-8-g3a9f023+24,16.0-8-gc11f1cf+5,16.0-9-gf3bc169+4,master-gc237143d49+1,w.2019.03
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...