lsst.afw  13.0-101-g894215678
ArchiveIndexSchema.h
Go to the documentation of this file.
1 // -*- lsst-c++ -*-
2 #ifndef AFW_TABLE_IO_ArchiveInputSchema_h_INCLUDED
3 #define AFW_TABLE_IO_ArchiveInputSchema_h_INCLUDED
4 
5 /*
6  * Private singleton shared by the two archive classes; should only be included in their definition
7  * source files.
8  */
9 
10 #include "lsst/base.h"
11 #include "lsst/afw/table/Schema.h"
12 
13 namespace lsst {
14 namespace afw {
15 namespace table {
16 namespace io {
17 
38  Key<int> catArchive; // 'cat.archive' in schema
39  Key<int> catPersistable; // 'cat.persistable' in schema
41  Key<int> nRows; // 'nrows' in schema
44 
45  static int const MAX_NAME_LENGTH = 64;
46  static int const MAX_MODULE_LENGTH = 64;
47 
49  static ArchiveIndexSchema const& get();
50 
51  // No copying
52  ArchiveIndexSchema(const ArchiveIndexSchema&) = delete;
54 
55  // No moving
58 
59 private:
61 };
62 }
63 }
64 }
65 } // namespace lsst::afw::table::io
66 
67 #endif // !AFW_TABLE_IO_ArchiveInputSchema_h_INCLUDED
Defines the fields and offsets for a table.
Definition: Schema.h:46
Schema for the index catalog that specifies where objects are stored in the data catalogs.
ArchiveIndexSchema & operator=(const ArchiveIndexSchema &)=delete
A base class for image defects.
Definition: cameraGeom.dox:3