NAME | TYPE | VALUE |
GType | B_STRING_TYPE | "AGGREGATE" |
Subelements | B_MESSAGE_TYPE | {messages archiving substructures} |
class | B_STRING_TYPE | Universe |
static BArchive *Instantiate(BMessage *)
Takes a BMessage and returns the BArchivable-cast pointer to the new Universe. The calling procedure
now owns the Universe.
void Save(BFile *)
Archives the universe and saves it as a message-file, with the command code 'UNVS'.
static Universe *Open(BFile *)
Returns a pointer to the Universe created from the passeed file. If something goes wrong, a "null" is passed.
Note that the command code stored in the file must be 'UNVS'.