BArchivable
is a protocol for archiving and unarchiving objects. When you
archive an object, you record its state into a
BMessage
that can be sent
to another application, flattened and saved as a file, cached in memory,
and so on. Unarchiving does the opposite: It takes a
BMessage
archive and turns it into a functioning object.
See "Archiving" for more information on the BeOS archival system.