LSSTApplications  10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
LSSTDataManagementBasePackage
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 
12 #include "boost/noncopyable.hpp"
13 
14 #include "lsst/base.h"
15 #include "lsst/afw/table/Schema.h"
16 
17 namespace lsst { namespace afw { namespace table { namespace io {
18 
36 struct ArchiveIndexSchema : private boost::noncopyable {
39  Key<int> catArchive; // 'cat.archive' in schema
40  Key<int> catPersistable; // 'cat.persistable' in schema
42  Key<int> nRows; // 'nrows' in schema
45 
46  static int const MAX_NAME_LENGTH = 64;
47  static int const MAX_MODULE_LENGTH = 64;
48 
50  static ArchiveIndexSchema const & get();
51 
52 private:
54 };
55 
56 }}}} // namespace lsst::afw::table::io
57 
58 #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.