Google Custom Search

Archivable.h File Reference

Provides the BArchivable interface. More...


Classes

class  BArchivable
 Interface for objects that can be archived into a BMessage. More...

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.


The Haiku Book pre-R1 - Archivable.h File Reference
Generated on 14 Feb 2008