LSSTApplications  11.0-24-g0a022a1,14.0+54,14.0+76,14.0-1-g4b114ac+19,14.0-1-g6829aa7+15,14.0-1-g7257b6a+17,14.0-1-g8b7e855+69,14.0-1-ge6e5c2d+52,14.0-1-ge993229+64,14.0-1-gfce6a49+15,14.0-10-g2094653+13,14.0-10-gaad1ee2+1,14.0-11-g7664582+5,14.0-17-g2e0c876,14.0-18-g77a82f3,14.0-2-g14e9bfd,14.0-2-g519ff97+17,14.0-2-ga5af9b6+15,14.0-2-gb66b1ef+16,14.0-2-ge3897b5+16,14.0-20-gc5946167,14.0-21-gb9e430a+11,14.0-27-ga47eb89+2,14.0-28-gd4c92d7+3,14.0-3-g388e494+12,14.0-3-gda7b0c7+16,14.0-4-g3609236+11,14.0-4-gae1598d+1,14.0-54-gb4e84373+2,14.0-58-g91bfccb15,14.0-6-ge2c9487+58,14.0-6-gf4f1c34,14.0-7-g0d69b06+17,14.0-8-g56b2ea8+3,14.0-9-g6668b0b,6.0b0-hsc-21-g096812d+2,master-gb963a833dc+27,master-gcb87133ace+6,master-gf2f569af73+2
LSSTDataManagementBasePackage
Namespaces | Functions
Utils.h File Reference
#include <cstdint>
#include <set>
#include <string>
#include <vector>
#include "ndarray.h"
#include "lsst/base.h"
#include "lsst/daf/base.h"

Go to the source code of this file.

Namespaces

 lsst
 A base class for image defects.
 
 lsst::daf
 
 lsst::daf::base
 
 lsst::daf::persistence
 
 lsst::pex
 
 lsst::pex::policy
 
 lsst::afw
 
 lsst::afw::formatters
 

Functions

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...
 
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...
 
std::string const lsst::afw::formatters::getTableName (std::shared_ptr< lsst::pex::policy::Policy const > const &policy, std::shared_ptr< lsst::daf::base::PropertySet const > const &properties)
 Returns the name of the table that a single slice of a pipeline involved in the processing of a single visit should use for persistence of a particular output. More...
 
std::vector< std::stringlsst::afw::formatters::getAllSliceTableNames (std::shared_ptr< lsst::pex::policy::Policy const > const &policy, std::shared_ptr< lsst::daf::base::PropertySet const > const &properties)
 Stores the name of the table that each slice of a pipeline involved in processing a visit used for persistence of its outputs. More...
 
int lsst::afw::formatters::extractSliceId (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)
 
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)
 
int lsst::afw::formatters::extractVisitId (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)
 
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...