LSSTApplications  17.0+15,17.0+2,17.0+23,17.0+24,17.0+25,17.0+3,17.0+4,17.0+5,17.0-1-g377950a+14,17.0.1-1-g4d4fbc4+9,17.0.1-1-g55520dc+9,17.0.1-1-g5f4ed7e+11,17.0.1-1-g703d48b+8,17.0.1-1-g8de6c91+2,17.0.1-1-g9deacb5+17,17.0.1-1-gf4e0155+18,17.0.1-1-gfc65f5f+17,17.0.1-1-gfc6fb1f+7,17.0.1-14-g9e4a0a429,17.0.1-2-g29d9b29+6,17.0.1-2-g3bdf598+2,17.0.1-2-g3e5d191+11,17.0.1-3-g7e86b59+6,17.0.1-3-g9730928+5,17.0.1-3-gd08d533+6,17.0.1-5-g09f63bc+1,17.0.1-5-gb3f5c0c+8,17.0.1-6-ga5f3de7+10,17.0.1-7-ga01e3e3+3,17.0.1-8-g1ec47d7+3,17.0.1-8-g40ca8d54+10,17.0.1-8-gd60f3cda+8,17.0.1-9-g2557255+4,17.0.1-9-g77829d8+10,w.2019.15
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...