indexing
description: "Process creation startup information."
status: "See notice at end of class."
date: "$Date$"
revision: "$Revision$"
class interface
WEL_STARTUP_INFO
create
make
item
WEL_STRUCTURE
ensure WEL_STRUCTURE
not_shared: not shared
feature
background_blue: INTEGER
WEL_FILL_ATTRIBUTES_CONSTANTS
background_green: INTEGER
WEL_FILL_ATTRIBUTES_CONSTANTS
background_intensity: INTEGER
WEL_FILL_ATTRIBUTES_CONSTANTS
background_red: INTEGER
WEL_FILL_ATTRIBUTES_CONSTANTS
fill_attributes: INTEGER
require
flag_has_startf_use_fill_attributes: flag_set (flags, startf_use_fill_attributes)
flags: INTEGER
foreground_blue: INTEGER
WEL_FILL_ATTRIBUTES_CONSTANTS
foreground_green: INTEGER
WEL_FILL_ATTRIBUTES_CONSTANTS
foreground_intensity: INTEGER
WEL_FILL_ATTRIBUTES_CONSTANTS
foreground_red: INTEGER
WEL_FILL_ATTRIBUTES_CONSTANTS
height: INTEGER
require
flag_has_startf_use_size: flag_set (flags, startf_use_size)
is_valid_fill_attributes (an_integer: INTEGER): BOOLEAN
an_integer
WEL_FILL_ATTRIBUTES_CONSTANTS
is_valid_startup_flag (a_flag: INTEGER): BOOLEAN
a_flag
WEL_STARTUP_CONSTANTS
is_valid_startup_flags (a_flags: INTEGER): BOOLEAN
a_flags
WEL_STARTUP_CONSTANTS
item: POINTER
WEL_ANY
show_command: INTEGER
require
flag_has_startf_use_show_window: flag_set (flags, startf_use_show_window)
startf_force_off_feedback: INTEGER
WEL_STARTUP_CONSTANTS
startf_force_on_feedback: INTEGER
WEL_STARTUP_CONSTANTS
startf_use_count_chars: INTEGER
x_character_county_character_countWEL_STARTUP_INFO
WEL_STARTUP_CONSTANTS
startf_use_fill_attributes: INTEGER
fill_attributesWEL_STARTUP_INFO
WEL_STARTUP_CONSTANTS
startf_use_position: INTEGER
x_offsety_offsetWEL_STARTUP_INFO
WEL_STARTUP_CONSTANTS
startf_use_show_window: INTEGER
show_commandWEL_STARTUP_INFO
WEL_STARTUP_CONSTANTS
startf_use_size: INTEGER
widthheightWEL_STARTUP_INFO
WEL_STARTUP_CONSTANTS
startf_use_std_handles: INTEGER
std_inputstd_outputstd_errorWEL_STARTUP_INFO
WEL_STARTUP_CONSTANTS
std_error: INTEGER
require
flag_has_startf_use_std_handles: flag_set (flags, startf_use_std_handles)
std_input: INTEGER
require
flag_has_startf_use_std_handles: flag_set (flags, startf_use_std_handles)
std_output: INTEGER
require
flag_has_startf_use_std_handles: flag_set (flags, startf_use_std_handles)
title: STRING
width: INTEGER
require
flag_has_startf_use_size: flag_set (flags, startf_use_size)
x_character_count: INTEGER
require
flag_has_startf_use_count_chars: flag_set (flags, startf_use_count_chars)
x_offset: INTEGER
require
flag_has_startf_use_position: flag_set (flags, startf_use_position)
y_character_count: INTEGER
require
flag_has_startf_use_count_chars: flag_set (flags, startf_use_count_chars)
y_offset: INTEGER
require
flag_has_startf_use_position: flag_set (flags, startf_use_position)
feature
exists: BOOLEAN
item
WEL_ANY
ensure WEL_ANY
Result = (item /= default_pointer)
flag_set (flags, mask: INTEGER): BOOLEAN
maskflags
WEL_BIT_OPERATIONS
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_item (an_item: POINTER)
iteman_item
WEL_ANY
ensure WEL_ANY
item_set: item = an_item
feature
dispose
Current
Current
WEL_ANY
feature
to_integer: INTEGER
item
WEL_ANY
ensure WEL_ANY
Result = cwel_pointer_to_integer (item)
feature
clear_flag (flags, mask: INTEGER): INTEGER
maskflags
WEL_BIT_OPERATIONS
ensure WEL_BIT_OPERATIONS
flag_unset: not flag_set (Result, mask)
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
set_flag (flags, mask: INTEGER): INTEGER
maskflags
WEL_BIT_OPERATIONS
ensure WEL_BIT_OPERATIONS
flag_set: flag_set (Result, mask)
feature
add_flag (a_flag: INTEGER)
a_flagflags
a_flag
require
valid_flag: is_valid_startup_flag (a_flag)
ensure
flags_set: flag_set (flags, a_flag)
set_fill_attributes (a_fill_attributes: like fill_attributes)
fill_attributesa_fill_attributes
WEL_FILL_ATTRIBUTES_CONSTANTSa_fill_attributes
require
valid_fill_attributes: is_valid_fill_attributes (a_fill_attributes)
ensure
fill_attributes_set: fill_attributes = a_fill_attributes
set_flags (a_flags: INTEGER)
flagsa_flags
require
valid_flags: is_valid_startup_flags (a_flags)
ensure
flags_set: flags = a_flags
set_height (a_height: like height)
heighta_height
require
valid_height: a_height > 0
ensure
height_set: height = a_height
set_show_command (a_command: like show_command)
show_commanda_command
ensure
show_command_set: show_command = a_command
set_std_error (an_error_output: INTEGER)
std_erroran_error_output
ensure
error_output_set: std_error = an_error_output
set_std_input (an_input: INTEGER)
std_inputan_input
ensure
std_input_set: std_input = an_input
set_std_output (an_output: INTEGER)
std_outputan_output
ensure
std_output_set: std_output = an_output
set_title (a_title: like title)
titlea_title
require
non_void_title: a_title /= void
ensure
title_set: title.is_equal (a_title)
set_width (a_width: like width)
widtha_width
require
valid_width: a_width > 0
ensure
width_set: width = a_width
set_x_character_count (a_character_count: like x_character_count)
character_counta_character_count
require
valid_count: a_character_count > 0
ensure
character_count_set: x_character_count = a_character_count
set_x_offset (an_offset: like x_offset)
x_offsetan_offset
ensure
offset_set: x_offset = an_offset
set_y_character_count (a_character_count: like y_character_count)
character_counta_character_count
require
valid_count: a_character_count > 0
ensure
character_count_set: y_character_count = a_character_count
set_y_offset (an_offset: like y_offset)
y_offsetan_offset
ensure
offset_set: y_offset = an_offset
invariant
ANY
reflexive_equality: standard_is_equal (Current)
reflexive_conformance: conforms_to (Current)
end -- WEL_STARTUP_INFO