Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions
Archivable.h File Reference

Provides the BArchivable interface and declares the BArchiver and BUnarchiver classes. More...

Classes

class  BArchivable
 Interface for objects that can be archived into a BMessage. More...
 
class  BArchiver
 A class that simplifies the archiving of complicated BArchivable hierarchies. More...
 
class  BUnarchiver
 A class that simplifies the unarchiving of complicated BArchivable hierarchies. More...
 

Namespaces

namespace  BPrivate
 Internal or experimental API.
 

Typedefs

typedef BArchivable *(* instantiation_func) (BMessage *)
 Internal definition of a function that can instantiate objects that have been created with the BArchivable API.
 

Functions

instantiation_func find_instantiation_func (BMessage *archive)
 Internal function that searches for the instantiation func that works on the specified archive. Use instantiate_object() instead.
 
instantiation_func find_instantiation_func (const char *className)
 Internal function that searches for the instantiation func of a specific class. Use instantiate_object() instead.
 
instantiation_func find_instantiation_func (const char *className, const char *signature)
 Internal function that searches for the instantiation func with a specific signature. Use instantiate_object() instead.
 
BArchivableinstantiate_object (BMessage *from)
 Instantiate an archived object.
 
BArchivableinstantiate_object (BMessage *from, image_id *id)
 Instantiate an archived object with the object being defined in a different application or library.
 
bool validate_instantiation (BMessage *from, const char *className)
 Internal function that checks if the className is the same as the one stored in the from message.
 

Detailed Description

Provides the BArchivable interface and declares the BArchiver and BUnarchiver classes.