LSST Applications  21.0.0+75b29a8a7f,21.0.0+e70536a077,21.0.0-1-ga51b5d4+62c747d40b,21.0.0-10-gbfb87ad6+b1151fad91,21.0.0-13-g512c41855+47cba9fc36,21.0.0-2-g103fe59+db51183382,21.0.0-2-g1367e85+334a178978,21.0.0-2-g45278ab+e70536a077,21.0.0-2-g5242d73+334a178978,21.0.0-2-g7f82c8f+f8d28e73dc,21.0.0-2-g8dde007+da1ae21509,21.0.0-2-g8f08a60+9402881886,21.0.0-2-ga326454+f8d28e73dc,21.0.0-2-ga63a54e+cbef8c8470,21.0.0-2-gde069b7+26c92b3210,21.0.0-2-gecfae73+0f4fe58c87,21.0.0-2-gfc62afb+334a178978,21.0.0-24-g1074344+7a8564be62,21.0.0-27-ge76f9a25+e233089f27,21.0.0-3-g18107f7+fc1c489293,21.0.0-3-g21c7a62+d70d64e48d,21.0.0-3-g357aad2+9aa2ee2fd4,21.0.0-3-g4be5c26+334a178978,21.0.0-3-g65f322c+e57c6f6e53,21.0.0-3-g7d9da8d+75b29a8a7f,21.0.0-3-gaa929c8+96330b2d83,21.0.0-3-ge02ed75+d8732f459f,21.0.0-4-g3300ddd+e70536a077,21.0.0-4-g591bb35+d8732f459f,21.0.0-4-gc004bbf+0395f86425,21.0.0-4-gccdca77+f94adcd104,21.0.0-5-gb155db7+479949666a,21.0.0-5-gdf36809+637e4641ee,21.0.0-5-gf422365+5491227770,21.0.0-6-g4e60332+d8732f459f,21.0.0-7-gc8ca178+78b0be7ae2,21.0.0-8-gfbe0b4b+96330b2d83,21.0.0-9-g2fd488a+730f8481f8,w.2021.05
LSST Data Management Base Package
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...