LSSTApplications  19.0.0-14-gb0260a2+72efe9b372,20.0.0+7927753e06,20.0.0+8829bf0056,20.0.0+995114c5d2,20.0.0+b6f4b2abd1,20.0.0+bddc4f4cbe,20.0.0-1-g253301a+8829bf0056,20.0.0-1-g2b7511a+0d71a2d77f,20.0.0-1-g5b95a8c+7461dd0434,20.0.0-12-g321c96ea+23efe4bbff,20.0.0-16-gfab17e72e+fdf35455f6,20.0.0-2-g0070d88+ba3ffc8f0b,20.0.0-2-g4dae9ad+ee58a624b3,20.0.0-2-g61b8584+5d3db074ba,20.0.0-2-gb780d76+d529cf1a41,20.0.0-2-ged6426c+226a441f5f,20.0.0-2-gf072044+8829bf0056,20.0.0-2-gf1f7952+ee58a624b3,20.0.0-20-geae50cf+e37fec0aee,20.0.0-25-g3dcad98+544a109665,20.0.0-25-g5eafb0f+ee58a624b3,20.0.0-27-g64178ef+f1f297b00a,20.0.0-3-g4cc78c6+e0676b0dc8,20.0.0-3-g8f21e14+4fd2c12c9a,20.0.0-3-gbd60e8c+187b78b4b8,20.0.0-3-gbecbe05+48431fa087,20.0.0-38-ge4adf513+a12e1f8e37,20.0.0-4-g97dc21a+544a109665,20.0.0-4-gb4befbc+087873070b,20.0.0-4-gf910f65+5d3db074ba,20.0.0-5-gdfe0fee+199202a608,20.0.0-5-gfbfe500+d529cf1a41,20.0.0-6-g64f541c+d529cf1a41,20.0.0-6-g9a5b7a1+a1cd37312e,20.0.0-68-ga3f3dda+5fca18c6a4,20.0.0-9-g4aef684+e18322736b,w.2020.45
LSSTDataManagementBasePackage
ArchiveIndexSchema.cc
Go to the documentation of this file.
1 // -*- lsst-c++ -*-
2 
4 
5 namespace lsst {
6 namespace afw {
7 namespace table {
8 namespace io {
9 
11 
12 constexpr int const ArchiveIndexSchema::NO_CATALOGS_SAVED;
13 
15  static ArchiveIndexSchema instance;
16  return instance;
17 }
18 
19 ArchiveIndexSchema::ArchiveIndexSchema()
20  : schema(),
21  id(schema.addField<int>(
22  "id",
23  "Archive ID of the persistable object that owns the records pointed at by this entry")),
24  catArchive(schema.addField<int>(
25  "cat.archive",
26  "index of the catalog this entry points to, from the perspective of the archive")),
27  catPersistable(schema.addField<int>(
28  "cat.persistable",
29  "index of the catalog this entry points to, from the perspective of the Persistable")),
30  row0(schema.addField<int>("row0", "first row used by the persistable object in this catalog")),
31  nRows(schema.addField<int>("nrows",
32  "number of rows used by the persistable object in this catalog")),
33  name(schema.addField<std::string>("name", "unique name for the persistable object's class",
34  MAX_NAME_LENGTH)),
35  module(schema.addField<std::string>(
36  "module", "Python module that should be imported to register the object's factory",
37  MAX_MODULE_LENGTH)) {}
38 } // namespace io
39 } // namespace table
40 } // namespace afw
41 } // namespace lsst
schema
table::Schema schema
Definition: Amplifier.cc:115
lsst::afw::table::io::ArchiveIndexSchema::NO_CATALOGS_SAVED
static constexpr int const NO_CATALOGS_SAVED
Special value used for catArchive, catPersistable, and row0 when an object with no state is saved.
Definition: ArchiveIndexSchema.h:52
ArchiveIndexSchema.h
lsst::afw
Definition: imageAlgorithm.dox:1
lsst::afw::table::io::ArchiveIndexSchema::get
static ArchiveIndexSchema const & get()
Return the singleton instance.
Definition: ArchiveIndexSchema.cc:14
lsst::afw::geom.transform.transformContinued.name
string name
Definition: transformContinued.py:32
lsst::afw::table::io::ArchiveIndexSchema::MAX_NAME_LENGTH
static int const MAX_NAME_LENGTH
Definition: ArchiveIndexSchema.h:45
id
table::Key< int > id
Definition: Detector.cc:162
lsst::afw::table::io::ArchiveIndexSchema
Schema for the index catalog that specifies where objects are stored in the data catalogs.
Definition: ArchiveIndexSchema.h:35
lsst
A base class for image defects.
Definition: imageAlgorithm.dox:1
std
STL namespace.
lsst::meas::modelfit.psf.psfContinued.module
module
Definition: psfContinued.py:42