LSSTApplications  17.0+11,17.0+36,17.0+64,17.0+65,17.0+67,17.0+7,17.0-1-g377950a+36,17.0.1-1-g114240f+2,17.0.1-1-g4d4fbc4+31,17.0.1-1-g5f4ed7e+65,17.0.1-1-g6dd7d69+26,17.0.1-1-g8de6c91+11,17.0.1-1-gb9095d2+7,17.0.1-1-ge9fec5e+5,17.0.1-1-gf4e0155+69,17.0.1-1-gfc65f5f+61,17.0.1-1-gfc6fb1f+20,17.0.1-10-g87f9f3f+15,17.0.1-10-gd2c662c+4,17.0.1-12-g112a4bc+9,17.0.1-17-gdae4c4a+23,17.0.1-19-ga0476e3a+4,17.0.1-2-g26618f5+40,17.0.1-2-g54f2ebc+9,17.0.1-2-g57d9af3+3,17.0.1-2-gf403422+1,17.0.1-21-ga02730c,17.0.1-24-g44c3907+1,17.0.1-27-g9f381ddd+4,17.0.1-3-g7e86b59+50,17.0.1-3-gb5ca14a,17.0.1-32-gd980f9f48,17.0.1-4-g27bbc53+3,17.0.1-4-g59d126d+15,17.0.1-5-g3877d06+7,17.0.1-7-g35889ee+12,17.0.1-7-gc7c8782+22,17.0.1-9-gb4677f3+2,w.2019.26
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...