indexing description: "SToraGe TYpe flags" status: "See notice at end of class"; date: "$Date$"; revision: "$Revision$" class EOLE_STGTY feature -- Access Stgty_storage: INTEGER is -- Storage object external "C [macro ]" alias "STGTY_STORAGE" end Stgty_stream: INTEGER is -- Stream object external "C [macro ]" alias "STGTY_STREAM" end Stgty_lockbytes: INTEGER is -- Byte array object external "C [macro ]" alias "STGTY_LOCKBYTES" end is_valid_stgty (stgty: INTEGER): BOOLEAN is -- Is `stgty' a valid storage type flag? do Result := stgty = Stgty_storage or stgty = Stgty_stream or stgty = Stgty_lockbytes end end -- class EOLE_STGTY --|---------------------------------------------------------------- --| EiffelCOM: library of reusable components for ISE Eiffel. --| All rights reserved. Duplication and distribution prohibited. --| May be used only with ISE Eiffel, under terms of user license. --| Contact ISE for any other use. --| Based on WINE library, copyright (C) Object Tools, 1996-1998. --| Modifications and extensions: copyright (C) ISE, 1998. --| --| Interactive Software Engineering Inc. --| ISE Building, 2nd floor --| 270 Storke Road, Goleta, CA 93117 USA --| Telephone 805-685-1006, Fax 805-685-6869 --| Electronic mail --| Customer support e-mail --| For latest info see award-winning pages: http://www.eiffel.com --|----------------------------------------------------------------