LSSTApplications  18.0.0+60,19.0.0+2,19.0.0+29,19.0.0+31,19.0.0+33,19.0.0+38,19.0.0+6,19.0.0-1-g20d9b18+16,19.0.0-1-g49a97f9,19.0.0-1-g5549ca4+1,19.0.0-1-g6fe20d0+5,19.0.0-1-g8c57eb9+16,19.0.0-1-ga72da6b,19.0.0-1-gbfe0924+15,19.0.0-1-ge272bc4+16,19.0.0-1-gefe1d0d+10,19.0.0-12-g03a29998f+1,19.0.0-2-g0d9f9cd+30,19.0.0-2-g260436e+14,19.0.0-2-g69513cf,19.0.0-2-g9675b69,19.0.0-2-g9b11441+18,19.0.0-2-gde8e5e3,19.0.0-2-gff6972b,19.0.0-20-g6de566f+6,19.0.0-24-g74640d5c,19.0.0-3-g6513920+15,19.0.0-3-gce3f959+2,19.0.0-4-g98b4a13,19.0.0-5-g0745e3f+15,19.0.0-5-gf4bae50+11,19.0.0-6-gb5bb71e+6,19.0.0-7-g2584c99+1,19.0.0-7-g686a884+1,19.0.0-7-ga57c4689+5,19.0.0-9-g8509940+5,w.2020.06
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...