Automatic generation produced by ISE Eiffel
note description: "Serialize and deserialize multiple objects into one file." legal: "See notice at end of class." status: "See notice at end of class." date: "$Date: 2013-05-20 16:15:17 -0700 (Mon, 20 May 2013) $" revision: "$Revision: 92557 $" class interface SED_MULTI_OBJECT_SERIALIZATION create default_create feature -- Access deserialized_object: detachable ANY -- Last deserialized object last_file_position: INTEGER_32 -- Position after last serialization error_message: STRING_32 -- Reason for failure feature -- Status report successful: BOOLEAN -- Was last retrieval successful? feature -- Basic Operations deserialize (path: READABLE_STRING_GENERAL; a_pos: INTEGER_32) -- Deserialize object previously serialized in `path' at position `a_pos'. require non_void_path: path /= Void valid_path: (create {RAW_FILE}.make_with_name (path)).exists ensure deserialized_object_set_if_no_error: successful implies deserialized_object /= Void feature -- Basic Operations serialize (a: ANY; path: READABLE_STRING_GENERAL; is_appending: BOOLEAN) -- Serialize object `a' at the end of file `path' if `is_appending', otherwise -- reset content of `path'. -- Set last_file_position after storing. require non_void_object: a /= Void non_void_path: path /= Void note library: "EiffelBase: Library of reusable components for Eiffel." copyright: "Copyright (c) 1984-2012, Eiffel Software and others" license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" source: "[ Eiffel Software 5949 Hollister Ave., Goleta, CA 93117 USA Telephone 805-685-1006, Fax 805-685-6869 Website http://www.eiffel.com Customer support http://support.eiffel.com ]" end -- class SED_MULTI_OBJECT_SERIALIZATION -- Generated by ISE Eiffel --
For more details: www.eiffel.com