class BIN_CURSOR < $CURSOR{OCTET,BINSTR}


Ancestors
$CURSOR{_,_}



Public


Readable Attributes
attr buffer : STP ; .. Included as buffer
attr error : CURSOR_ERRORS ; .. Included as error
attr index : CARD ; .. Included as index
attr is_done : BOOL ; .. Included as is_done
attr skip_val : ELT ; .. Included as skip_val

Constants
const Double_Length : CARD := FLTD::Num_Bits / OCTET::Octet_Bits ;
const Max_Card : CARD := CARD::maxval ;
const Num_Max : CARD := CARD::Num_Bits / OCTET::Octet_Bits ;
const Single_Length : CARD := FLT::Num_Bits / OCTET::Octet_Bits ;

Features
advance .. Included as advance
advance : SAME .. Included as advance
bool : BOOL .. Included as bool
card : CARD .. Included as card
clear .. Included as clear
clear_error .. Included as clear_error
create(str : STP) : SAME .. Included as create
field : FIELD .. Included as field
flt : FLT .. Included as flt
fltd : FLTD .. Included as fltd
get_block( begin_delimiter, finish_delimiter : ELT ) : STP .. Included as get_block
get_item : ELT .. Included as get_item
get_remainder : STP .. Included as get_remainder
get_rest_upto( elem : ELT) : STP .. Included as get_rest_upto
get_sized : BINSTR .. Included as get_sized
get_upto(count : CARD) : STP .. Included as get_upto
get_upto( elem : ELT) : STP .. Included as get_upto
get_upto : STP .. Included as get_upto
has_error : BOOL .. Included as has_error
****
__This_predicate_returns_true_if_and_only_if_the_cursor_has_encountered
___an_error_which_has_not_been_cleared._Note_-_this_implementation_is_a_hack
___because_of_compiler_'confusion'_between_zero_and_void_for_immutable_types.
int : INT .. Included as int
is_bool : BOOL
is_card : BOOL .. Included as is_card
is_field : BOOL .. Included as is_field
is_flt : BOOL .. Included as is_flt
is_fltd : BOOL .. Included as is_fltd
is_int : BOOL .. Included as is_int
is_value( val : ELT) : BOOL .. Included as is_value
**** This predicate returns true if and only if the current string element
___has_the_value_val,_otherwise_false.
item : ELT .. Included as item
reassign(str : STP) .. Included as reassign
remaining : CARD .. Included as remaining
**** This routine returns the number of items yet to be scanned in
___the_buffer.
retract .. Included as retract
retract : SAME .. Included as retract
set_index( new_posn : CARD) .. Included as set_index
set_skip(val : ELT) .. Included as set_skip
set_skip(val : ELT) : SAME .. Included as set_skip
skip_block(start_delimiter, finish_delimiter : ELT) .. Included as skip_block
skip_over .. Included as skip_over
skip_over( val : ELT) .. Included as skip_over
skip_over( val : ELT) : SAME .. Included as skip_over
skip_over : SAME .. Included as skip_over
skip_to .. Included as skip_to
skip_to(elem : ELT) .. Included as skip_to
skip_to( elem : ELT) : SAME .. Included as skip_to
skip_to : SAME .. Included as skip_to


Private

attr buffer : STP ; .. Included as buffer
attr error : CURSOR_ERRORS ; .. Included as error
attr index : CARD ; .. Included as index
attr is_done : BOOL ; .. Included as is_done
attr skip_val : ELT ; .. Included as skip_val

The Sather Home Page