21 id(schema.addField<int>(
23 "Archive ID of the persistable object that owns the records pointed at by this entry")),
24 catArchive(schema.addField<int>(
26 "index of the catalog this entry points to, from the perspective of the archive")),
27 catPersistable(schema.addField<int>(
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",
35 module(schema.addField<
std::string>(
36 "module",
"Python module that should be imported to register the object's factory",
37 MAX_MODULE_LENGTH)) {}
static int const MAX_NAME_LENGTH
ArchiveIndexSchema(const ArchiveIndexSchema &)=delete
static constexpr int const NO_CATALOGS_SAVED
Special value used for catArchive, catPersistable, and row0 when an object with no state is saved.
static ArchiveIndexSchema const & get()
Return the singleton instance.