+
Point of view
All features
expanded class BOOLEAN
Summary
Note: An Eiffel BOOLEAN is mapped as a C char or as a Java byte.
Direct parents
Insert list: ANY
Overview
Features
{ANY}
Object Printing:
{ANY}
infix "and" (other: BOOLEAN): BOOLEAN
effective function
{ANY}
and of Current with other.
Note: when evaluation of other has no side effects, it may be better to use "and then" to avoid execution-time overhead.
infix "and then" (other: BOOLEAN): BOOLEAN
{ANY}
Semi-strict and of Current with other.
infix "implies" (other: BOOLEAN): BOOLEAN
{ANY}
Does Current imply other.
infix "or" (other: BOOLEAN): BOOLEAN
effective function
{ANY}
or of Current with other
Note: when evaluation of other has no side effects, it may be better to use "or else" to avoid execution-time overhead.
infix "or else" (other: BOOLEAN): BOOLEAN
{ANY}
Semi-strict or of Current with other
infix "xor" (other: BOOLEAN): BOOLEAN
effective function
{ANY}
xor of Current with other
prefix "not": BOOLEAN
effective function
{ANY}
not of Current.
to_string: STRING
effective function
{ANY}
ensure
  • "True".is_equal(Result) implies Current
  • "False".is_equal(Result) implies not Current
to_integer: INTEGER_32
effective function
{ANY}
ensure
to_character: CHARACTER
effective function
{ANY}
ensure
append_in (str: STRING)
effective procedure
{ANY}
out_in_tagged_out_memory
effective procedure
{ANY}
Append terse printable representation of current object in tagged_out_memory.
require
  • locked: tagged_out_locked
ensure
  • still_locked: tagged_out_locked
  • not_cleared: tagged_out_memory.count >= old tagged_out_memory.count
  • append_only: old tagged_out_memory.twin.is_equal(tagged_out_memory.substring(1, old tagged_out_memory.count))
fill_tagged_out_memory
effective procedure
{ANY}
Append a viewable information in tagged_out_memory in order to affect the behavior of out, tagged_out, etc.
require
  • locked: tagged_out_locked
ensure
  • still_locked: tagged_out_locked