serialize
Overridden by subclasses to archive the receiver into the provided OSSerialize object.
Declaration
virtual bool serialize(
OSSerialize *serializer) const;Parameters
- serializer:
The OSSerialize object.
Return Value
true if serialization succeeds, false if not.
Overview
OSObject's implementation writes a string indicating that the class of the object receiving the function call is not serializable. Subclasses that can meaningfully encode themselves in I/O Kit-style property list XML can override this function to do so. See OSSerialize for more information.