|
LSSTApplications
11.0-13-gbb96280,12.1+18,12.1+7,12.1-1-g14f38d3+72,12.1-1-g16c0db7+5,12.1-1-g5961e7a+84,12.1-1-ge22e12b+23,12.1-11-g06625e2+4,12.1-11-g0d7f63b+4,12.1-19-gd507bfc,12.1-2-g7dda0ab+38,12.1-2-gc0bc6ab+81,12.1-21-g6ffe579+2,12.1-21-gbdb6c2a+4,12.1-24-g941c398+5,12.1-3-g57f6835+7,12.1-3-gf0736f3,12.1-37-g3ddd237,12.1-4-gf46015e+5,12.1-5-g06c326c+20,12.1-5-g648ee80+3,12.1-5-gc2189d7+4,12.1-6-ga608fc0+1,12.1-7-g3349e2a+5,12.1-7-gfd75620+9,12.1-9-g577b946+5,12.1-9-gc4df26a+10
LSSTDataManagementBasePackage
|
Classes | |
| class | DecoratedImageFormatterTraits |
| class | ImageFormatterTraits |
| class | MaskedImageFormatterTraits |
| class | MaskFormatterTraits |
| class | DecoratedImageFormatter |
| Class implementing persistence and retrieval for DecoratedImages. More... | |
| class | ExposureFormatter |
| Class implementing persistence and retrieval for Exposures. More... | |
| class | ImageFormatter |
| Class implementing persistence and retrieval for Images. More... | |
| class | KernelFormatter |
| class | MaskedImageFormatter |
| Class implementing persistence and retrieval for MaskedImages. More... | |
| class | MaskFormatter |
| Class implementing persistence and retrieval for Masks. More... | |
| class | TanWcsFormatter |
| Class implementing persistence and retrieval for TanWcs objects. More... | |
| class | WcsFormatter |
| Class implementing persistence and retrieval for Wcs objects. More... | |
Functions | |
| int | extractSliceId (boost::shared_ptr< PropertySet const > const &properties) |
| int | extractVisitId (boost::shared_ptr< PropertySet const > const &properties) |
| int64_t | extractFpaExposureId (boost::shared_ptr< PropertySet const > const &properties) |
| int | extractCcdId (boost::shared_ptr< PropertySet const > const &properties) |
| int | extractAmpId (boost::shared_ptr< PropertySet const > const &properties) |
| int64_t | extractCcdExposureId (boost::shared_ptr< PropertySet const > const &properties) |
| int64_t | extractAmpExposureId (boost::shared_ptr< PropertySet const > const &properties) |
| std::string const | getItemName (boost::shared_ptr< PropertySet const > const &properties) |
Extracts and returns the string-valued "itemName" property from the given data property object. More... | |
| bool | extractOptionalFlag (boost::shared_ptr< 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 | getTableName (boost::shared_ptr< Policy const > const &policy, boost::shared_ptr< 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::string > | getAllSliceTableNames (boost::shared_ptr< Policy const > const &policy, boost::shared_ptr< 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... | |
| void | createTable (lsst::daf::persistence::LogicalLocation const &location, boost::shared_ptr< lsst::pex::policy::Policy const > const &policy, boost::shared_ptr< PropertySet const > const &properties) |
| Creates the table identified by calling getTableName() with the given policy and properties. More... | |
| void | dropAllSliceTables (lsst::daf::persistence::LogicalLocation const &location, boost::shared_ptr< lsst::pex::policy::Policy const > const &policy, boost::shared_ptr< PropertySet const > const &properties) |
| Drops the database table(s) identified by getAllSliceTables(). More... | |
| std::string | formatFitsProperties (boost::shared_ptr< lsst::daf::base::PropertySet const > const &prop) |
| int | countFitsHeaderCards (boost::shared_ptr< lsst::daf::base::PropertySet const > const &prop) |
| bool | extractOptionalFlag (boost::shared_ptr< lsst::daf::base::PropertySet const > const &properties, std::string const &name) |
| std::string const | getItemName (boost::shared_ptr< lsst::daf::base::PropertySet const > const &properties) |
| std::string const | getTableName (boost::shared_ptr< lsst::pex::policy::Policy const > const &policy, boost::shared_ptr< lsst::daf::base::PropertySet const > const &properties) |
| std::vector< std::string > | getAllSliceTableNames (boost::shared_ptr< lsst::pex::policy::Policy const > const &policy, boost::shared_ptr< lsst::daf::base::PropertySet const > const &properties) |
| void | createTable (lsst::daf::persistence::LogicalLocation const &location, boost::shared_ptr< lsst::pex::policy::Policy const > const &policy, boost::shared_ptr< lsst::daf::base::PropertySet const > const &properties) |
| void | dropAllSliceTables (lsst::daf::persistence::LogicalLocation const &location, boost::shared_ptr< lsst::pex::policy::Policy const > const &policy, boost::shared_ptr< lsst::daf::base::PropertySet const > const &properties) |
| int | extractSliceId (boost::shared_ptr< lsst::daf::base::PropertySet const > const &properties) |
| int64_t | extractFpaExposureId (boost::shared_ptr< lsst::daf::base::PropertySet const > const &properties) |
| int64_t | extractCcdExposureId (boost::shared_ptr< lsst::daf::base::PropertySet const > const &properties) |
| int64_t | extractAmpExposureId (boost::shared_ptr< lsst::daf::base::PropertySet const > const &properties) |
| int | extractVisitId (boost::shared_ptr< lsst::daf::base::PropertySet const > const &properties) |
| int | extractCcdId (boost::shared_ptr< lsst::daf::base::PropertySet const > const &properties) |
| int | extractAmpId (boost::shared_ptr< lsst::daf::base::PropertySet const > const &properties) |
| std::string | formatFitsProperties (boost::shared_ptr< lsst::daf::base::PropertySet const > const &prop) |
| int | countFitsHeaderCards (boost::shared_ptr< lsst::daf::base::PropertySet const > const &prop) |
| int lsst::afw::formatters::countFitsHeaderCards | ( | boost::shared_ptr< lsst::daf::base::PropertySet const > const & | prop | ) |
| int lsst::afw::formatters::countFitsHeaderCards | ( | boost::shared_ptr< lsst::daf::base::PropertySet const > const & | prop | ) |
| void lsst::afw::formatters::createTable | ( | lsst::daf::persistence::LogicalLocation const & | location, |
| boost::shared_ptr< lsst::pex::policy::Policy const > const & | policy, | ||
| boost::shared_ptr< lsst::daf::base::PropertySet const > const & | properties | ||
| ) |
| void lsst::afw::formatters::createTable | ( | lsst::daf::persistence::LogicalLocation const & | location, |
| boost::shared_ptr< lsst::pex::policy::Policy const > const & | policy, | ||
| boost::shared_ptr< PropertySet const > const & | properties | ||
| ) |
Creates the table identified by calling getTableName() with the given policy and properties.
A key named "${itemName}.templateTableName" (where ${itemName} refers to the value of a property named "itemName" extracted from properties) must be available and set to the name of the template table to use for creation.
Note that the template table must exist in the database identified by location, and that if the desired table already exists, an exception is thrown.
Definition at line 258 of file Utils.cc.
| void lsst::afw::formatters::dropAllSliceTables | ( | lsst::daf::persistence::LogicalLocation const & | location, |
| boost::shared_ptr< lsst::pex::policy::Policy const > const & | policy, | ||
| boost::shared_ptr< lsst::daf::base::PropertySet const > const & | properties | ||
| ) |
| void lsst::afw::formatters::dropAllSliceTables | ( | lsst::daf::persistence::LogicalLocation const & | location, |
| boost::shared_ptr< lsst::pex::policy::Policy const > const & | policy, | ||
| boost::shared_ptr< PropertySet const > const & | properties | ||
| ) |
Drops the database table(s) identified by getAllSliceTables().
Definition at line 274 of file Utils.cc.
| int64_t lsst::afw::formatters::extractAmpExposureId | ( | boost::shared_ptr< lsst::daf::base::PropertySet const > const & | properties | ) |
| int64_t lsst::afw::formatters::extractAmpExposureId | ( | boost::shared_ptr< PropertySet const > const & | properties | ) |
Definition at line 134 of file Utils.cc.
| int lsst::afw::formatters::extractAmpId | ( | boost::shared_ptr< lsst::daf::base::PropertySet const > const & | properties | ) |
| int lsst::afw::formatters::extractAmpId | ( | boost::shared_ptr< PropertySet const > const & | properties | ) |
Definition at line 109 of file Utils.cc.
| int64_t lsst::afw::formatters::extractCcdExposureId | ( | boost::shared_ptr< lsst::daf::base::PropertySet const > const & | properties | ) |
| int64_t lsst::afw::formatters::extractCcdExposureId | ( | boost::shared_ptr< PropertySet const > const & | properties | ) |
Definition at line 123 of file Utils.cc.
| int lsst::afw::formatters::extractCcdId | ( | boost::shared_ptr< lsst::daf::base::PropertySet const > const & | properties | ) |
| int lsst::afw::formatters::extractCcdId | ( | boost::shared_ptr< PropertySet const > const & | properties | ) |
Definition at line 95 of file Utils.cc.
| int64_t lsst::afw::formatters::extractFpaExposureId | ( | boost::shared_ptr< PropertySet const > const & | properties | ) |
Definition at line 81 of file Utils.cc.
| int64_t lsst::afw::formatters::extractFpaExposureId | ( | boost::shared_ptr< lsst::daf::base::PropertySet const > const & | properties | ) |
| bool lsst::afw::formatters::extractOptionalFlag | ( | boost::shared_ptr< lsst::daf::base::PropertySet const > const & | properties, |
| std::string const & | name | ||
| ) |
| bool lsst::afw::formatters::extractOptionalFlag | ( | boost::shared_ptr< PropertySet const > const & | properties, |
| std::string const & | name | ||
| ) |
| int lsst::afw::formatters::extractSliceId | ( | boost::shared_ptr< PropertySet const > const & | properties | ) |
Definition at line 53 of file Utils.cc.
| int lsst::afw::formatters::extractSliceId | ( | boost::shared_ptr< lsst::daf::base::PropertySet const > const & | properties | ) |
| int lsst::afw::formatters::extractVisitId | ( | boost::shared_ptr< PropertySet const > const & | properties | ) |
Definition at line 70 of file Utils.cc.
| int lsst::afw::formatters::extractVisitId | ( | boost::shared_ptr< lsst::daf::base::PropertySet const > const & | properties | ) |
| std::string lsst::afw::formatters::formatFitsProperties | ( | boost::shared_ptr< lsst::daf::base::PropertySet const > const & | prop | ) |
| std::string lsst::afw::formatters::formatFitsProperties | ( | boost::shared_ptr< lsst::daf::base::PropertySet const > const & | prop | ) |
| std::vector<std::string> lsst::afw::formatters::getAllSliceTableNames | ( | boost::shared_ptr< lsst::pex::policy::Policy const > const & | policy, |
| boost::shared_ptr< lsst::daf::base::PropertySet const > const & | properties | ||
| ) |
| std::vector<std::string> lsst::afw::formatters::getAllSliceTableNames | ( | boost::shared_ptr< Policy const > const & | policy, |
| boost::shared_ptr< 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.
If slices were configured to all use the same (per-visit) table name, a single name is stored.
| [in] | policy | The Policy containing the table name pattern ("${itemName}.tableNamePattern", where ${itemName} is looked up in properties using the "itemName" key) from which the the actual table name is derived. This pattern may contain a set of parameters in %(key) format - these are interpolated by looking up "key" in the properties PropertySet. |
| [in] | properties | The runtime specific properties necessary to construct the table names. |
string. The "visitId" property must also be present, and shall be a non-negative integer of type int64_t uniquely identifying the current LSST visit. If the "${itemName}.isPerSliceTable" property is present, is of type bool and is set to true, then it is assumed that "${itemName}.numSlices" (a positive integer of type int) output tables exist and are to be read in.
Definition at line 224 of file Utils.cc.
| std::string const lsst::afw::formatters::getItemName | ( | boost::shared_ptr< lsst::daf::base::PropertySet const > const & | properties | ) |
| std::string const lsst::afw::formatters::getItemName | ( | boost::shared_ptr< PropertySet const > const & | properties | ) |
Extracts and returns the string-valued "itemName" property from the given data property object.
| lsst::pex::exceptions::InvalidParameterError | If the given pointer is null, or the PropertySet pointed to does not contain a unique property named "itemName". |
Definition at line 152 of file Utils.cc.
| std::string const lsst::afw::formatters::getTableName | ( | boost::shared_ptr< lsst::pex::policy::Policy const > const & | policy, |
| boost::shared_ptr< lsst::daf::base::PropertySet const > const & | properties | ||
| ) |
| std::string const lsst::afw::formatters::getTableName | ( | boost::shared_ptr< Policy const > const & | policy, |
| boost::shared_ptr< 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.
All slices can be configured to use the same (per-visit) table name using policy parameters.
| [in] | policy | The Policy containing the table name pattern ("${itemName}.tableNamePattern", where ${itemName} is looked up in properties using the "itemName" key) from which the the actual table name is derived. This pattern may contain a set of parameters in %(key) format - these are interpolated by looking up "key" in the properties PropertySet. |
| [in] | properties | Provides runtime specific properties necessary to construct the output table name. |
Definition at line 193 of file Utils.cc.
1.8.5