indexing
	description: "Encapsulation of STATSTG structure"
	status: "See notice at end of class"
	date: "$Date$"
	revision: "$Revision$"
class interface
	ECOM_STATSTG
create 
	make_from_pointer (a_pointer: POINTER)
			
			 ECOM_WRAPPER
		require  ECOM_WRAPPER
			valid_pointer: a_pointer /= default_pointer
		ensure  ECOM_WRAPPER
			wrapper_exist: initializer /= default_pointer and then exists
			valid_item: item = a_pointer
feature 
	make_from_pointer (a_pointer: POINTER)
			
			 ECOM_WRAPPER
		require  ECOM_WRAPPER
			valid_pointer: a_pointer /= default_pointer
		ensure  ECOM_WRAPPER
			wrapper_exist: initializer /= default_pointer and then exists
			valid_item: item = a_pointer
	
feature 
	access_time: WEL_FILE_TIME
			
		ensure
			Result /= void
	clsid: POINTER
			
			
			
	creation_time: WEL_FILE_TIME
			
		ensure
			Result /= void
	exists: BOOLEAN
			
			 ECOM_WRAPPER
	is_same_name (other_name: STRING): BOOLEAN
		require
			valid_other_name: other_name /= void
	item: POINTER
			
			 ECOM_WRAPPER
	locks_supported: INTEGER
			
			
			
			
	mode: INTEGER
			
			
		ensure
			valid_mode: is_valid_stgm (Result)
	modification_time: WEL_FILE_TIME
			
		ensure
			Result /= void
	name: STRING
			
	size: ECOM_ULARGE_INTEGER
			
		ensure
			Result /= void and Result.item /= default_pointer
	type: INTEGER
			
			
			ECOM_STGTY
		ensure
			valid_type: is_valid_stgty (Result)
	
invariant
		 ANY
	reflexive_equality: standard_is_equal (Current)
	reflexive_conformance: conforms_to (Current)
		 ECOM_WRAPPER
	wrapper_invariant: initializer /= default_pointer and then exists
end -- ECOM_STATSTG