Previous: LObject Example, Up: LObject


7.3.3 LObject Reference

— Class: LObject

Base class for objects which know how to stream themselves.

— Function: char* LObject::self_name

Return name of this class. Not used for anything yet.

— Function: void LObject::self_pack LO_Packer& p

Use p to write contents. Do not write things like position of iterators, or preferred sort order.

— Function: LObject::self_unpack LO_Packer& p

Use p to read contents. If p reads a stream of all zeros, must initialize to the object's equivalent of the empty state.

— Function: LObject::LObject LO_Packer& p

Construct using p to set initial data.