LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
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.