OSSerialize
OSSerialize coordinates serialization of Libkern C++ objects into an XML stream.
Declaration
class OSSerialize : OSObjectOverview
This class is for the most part internal to the OSContainer classes, used for transferring property tables between the kernel and user space. It should not be used directly. Classes that participate in serialization override the OSObject::serialize . function.
Use Restrictions
With very few exceptions in the I/O Kit, all Libkern-based C++ classes, functions, and macros are unsafe to use in a primary interrupt context. Consult the I/O Kit documentation related to primary interrupts for more information.
OSSerialize provides no concurrency protection; it's up to the usage context to provide any protection necessary. Some portions of the I/O Kit, such as IORegistryEntry, handle synchronization via defined member functions for serializing properties.
Topics
Miscellaneous
Instance Methods
addBinaryaddBinaryObjectaddCharaddStringaddXMLEndTagaddXMLStartTagbinarySerializebinarySerializeInternalclearTextendBinaryCollectionensureCapacityfreegetCapacitygetCapacityIncrementgetLengthgetMetaClassinitWithCapacitypreviouslySerializedsetCapacityIncrementsetIndexedtext