INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES

indexing

title: "The class to store objects in the file", "Simplifies the work with class STORABLE"
project: "Visual Eiffel Library"
revision: "$Revision: 1.1 $"
copyright: "Copyright (C) 1996-2005 Object Tools Group"
license: "http://visual-eiffel.com/license"
cluster: pool
class PERSISTENCY [G -> STORABLE]
inherit

STORABLE
export
{NONE}
all
undefine
copy
end

FILE
end
creation

make_create_read_write,
make_open_read,
make_open_read_write
feature -- Access to persistent data

item: G
-- Retrieved object structure, from external
-- representation previously stored in the file

put (data: G)
-- Produce on the file an external representation of the
-- entire object structure reachable from current object
-- Retrievable within current system only
require
non_void_data: data /= void

general_put (data: G)
-- Produce on the file an external representation of the
-- entire object structure reachable from current object
-- Retrievable from other systems for same platform
-- (machine architecture)
require
non_void_data: data /= void
end -- class PERSISTENCY

INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES