19 ArchiveIndexSchema::ArchiveIndexSchema()
23 "Archive ID of the persistable object that owns the records pointed at by this entry")),
26 "index of the catalog this entry points to, from the perspective of the archive")),
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")),
32 "number of rows used by the persistable object in this catalog")),
36 "module",
"Python module that should be imported to register the object's factory",
daf::base::Citizen & getCitizen()
Get the Citizen corresponding to this Schema (SchemaImpl is what inherits from Citizen).
Schema for the index catalog that specifies where objects are stored in the data catalogs.
Key< std::string > module
Key< int > catPersistable
static int const MAX_NAME_LENGTH
void markPersistent(void)
Mark a Citizen as persistent and not destroyed until process end.
static constexpr int const NO_CATALOGS_SAVED
Special value used for catArchive, catPersistable, and row0 when an object with no state is saved...
A base class for image defects.
static int const MAX_MODULE_LENGTH
static ArchiveIndexSchema const & get()
Return the singleton instance.
Key< T > addField(Field< T > const &field, bool doReplace=false)
Add a new field to the Schema, and return the associated Key.