abstract class $BINARY
****

________This_abstract_class_specifies_three_routines_which_sub-classes_must
___provide_in_order_to_convert_the_value_into_a_form_suitable_for
___manipulation_as_a_sequence_of_storage_units_and_vice-versa.__Both
___transformations_must_satisfy_the_identity_--

________create(Value.binstr)_=_Value


Descendants
CODE_STR TOKEN CHAR_CODE CHAR_GROUP
MONEY_FMT CHAR_MAP TZ_RULE_ELEM BOX
PHONE_ACCESS TIMES REG_EXP CASH
NAME_FMT TZONE_RULE OFFSET VERSION
PHONE_FMT ANSWERS $CHAR{_} RUNE
CHAR ORDER_RULE ADDRESSING ELAPSED
$CODE_MAPPER CODE_MAPPER $TEXT_STRING{_,_,_} RUNES
STR HEX_STR ALT_DIGITS POINT
CHAR_TYPES $IMMUTABLE CASE_MAPLET BOOL
LENGTH $ENUM_SET $ENUM_SET{_,_} ACCESS_SET
$BIT_PATTERN{_} QUADBITS NUM_BITS OCTET
HEXTET BINSTR RECTANGLE UTF7
NUMBERS ANGLED ORDER_WEIGHT $STRING{_,_,_}
TIME_ZONE $DATES{_} ERA_DATES DATES
MAP_HEADER NAME_TITLE ANGLE NUMBER_FMT
NAMING DT_FMT PHONING $RANGE{_}
$NFE{_} MONEY $ARITHMETIC{_} $COMPLEX{_,_}
CPXD CPX $RATIONAL{_} RAT
$REAL{_} FLT FLTD $SIMPLE_NUM{_}
$WHOLE_NUM{_} INTI $CARDINAL{_} $INTEGER{_}
INT FIELD CARD $ENUMS{_}
VERSION_KEYS FILE_LOCS ERE_ERROR_KINDS FILE_MODES
ADDRESS_CODES CODE_KINDS ACCESS_CODES NUM_SIGNS
SYS_CHANS DATE_SUFFICES CHAR_CLASS CAL_DISPLAY_ORDERS
PERMISSIONS CURSOR_ERRORS UNITS FILE_KINDS
INFO_KINDS CONDITIONALS TIME_SUFFIX MON_SPACING
SYMBOLS WEEKDAYS FLUSH_CMDS SYS_EXCEPT
DT_CODES PATH_KINDS MAP_PARTS DATE_FORMS
DIRECTIONS CATEGORIES MONTHS ERE_LEX_TOKENS
MAP_MODES CONVERSION_RESULTS MONETARY_UNITS TRI_STATE
CHAR_MAPPINGS NAME_CODES SIGN_POSITIONS ADDRESS_KEYS
PHONE_CODES SCRIPTS CAT_STANDARDS UNIT_KINDS
SALUTATIONS



Public


Features
binstr : BINSTR ;
****
________This_returns_a_sequence_of_storage_units_which_is_suitable_for
___conversion_back_into_a_value_of_the_class_concerned..
build(cursor : BIN_CURSOR) : SAME ;
****
________Provided_that_there_are_at_least_the_number_of_storaqge_units
___required_to_produce_a_value_of_this_class_then_the_number_of_storage_units
___required_are_used_to_do_so_and_the_cursor_is_moved_to_the_next_position_on
___the_binary_string.
create(storage : BINSTR) : SAME ;
****
________Provided_that_the_size_of_the_storage_argument_is_exactly_the_amount
___of_storage_required_for_an_object_of_this_class_as_produced_by_the_binstr
___routine,_then_storage_is_converted_into_an_object_of_this_class_which_is
___returned.
read(cursor : BIN_CURSOR) : SAME ;
****
________This_routine_returns_the_next_object_in_the_file_providing_that_the
___next_item_in_the_file_is_the_boolean_value_for_true,_otherwise_it_returns
___void_having_moved_past_the_item_in_the_string.
write(fyle : BIN_FILE) ;
****
________This_routine_appends_self_to_the_given_binary_file.

The Sather Home Page