indexing
description: "Contains the input filename used by `start_doc' in WEL_PRINTER_DC."
status: "See notice at end of class."
date: "$Date$"
revision: "$Revision$"
class interface
WEL_DOC_INFO
create
make (a_document_name: STRING)
document_name
ensure
document_name_set: document_name.is_equal (a_document_name)
feature
document_name: STRING
ensure
result_not_void: Result /= void
item: POINTER
WEL_ANY
output: STRING
require
default_output_not_set: not default_output_set
ensure
result_not_void: Result /= void
feature
structure_size: INTEGER
ensure WEL_STRUCTURE
positive_result: Result > 0
feature
default_output_set: BOOLEAN
exists: BOOLEAN
item
WEL_ANY
ensure WEL_ANY
Result = (item /= default_pointer)
shared: BOOLEAN
item
item
destroy_item
item
WEL_ANY
feature
set_shared
shared
WEL_ANY
ensure WEL_ANY
shared: shared
set_unshared
shared
WEL_ANY
ensure WEL_ANY
unshared: not shared
feature
set_default_output
ensure
default_output_set: default_output_set
set_document_name (a_document_name: STRING)
document_namea_document_name
require
a_document_name_not_void: a_document_name /= void
ensure
document_name_set: document_name.is_equal (a_document_name)
set_item (an_item: POINTER)
iteman_item
WEL_ANY
ensure WEL_ANY
item_set: item = an_item
set_output (an_output: STRING)
outputan_output
require
an_output_not_void: an_output /= void
ensure
output_set: output.is_equal (an_output)
feature
dispose
Current
Current
WEL_ANY
feature
to_integer: INTEGER
item
WEL_ANY
ensure WEL_ANY
Result = cwel_pointer_to_integer (item)
feature
initialize
WEL_STRUCTURE
require WEL_STRUCTURE
exists: exists
initialize_with_character (a_character: CHARACTER)
a_character
WEL_STRUCTURE
require WEL_STRUCTURE
exists: exists
memory_copy (source_pointer: POINTER; length: INTEGER)
lengthsource_pointeritem
WEL_STRUCTURE
require WEL_STRUCTURE
length_small_enough: length <= structure_size
length_large_enough: length > 0
exists: exists
feature
str_document_name: WEL_STRING
str_output: WEL_STRING
invariant
ANY
reflexive_equality: standard_is_equal (Current)
reflexive_conformance: conforms_to (Current)
end -- WEL_DOC_INFO