+
Point of view
All features
class STRING_WEAK_ARRAY
Summary
Overview
creation features
features
Maximum:
Minimum:
Bits:
Garbage collector information and tuning:
  • collecting: BOOLEAN
    Is garbage collection enabled?
  • collection_off
    Disable garbage collection.
  • collection_on
    Enable garbage collection.
  • full_collect
    Force a full collection cycle if garbage collection is enabled (i.e. collecting is True); do nothing otherwise.
  • collector_counter: INTEGER_32
    The number of collections actually performed or -1 when the system is not using the SmartEiffel garbage collector (i.e. when the system is compiled using the -no_gc flag).
SmartEiffel Garbage collector information and tuning:
new: STRING
effective function
A brand new STRING with a small default capacity.
best_fit (capacity: INTEGER_32): STRING
effective function
A STRING with a capacity at least as great as the given capacity.
new_twin (string: STRING): STRING
effective function
A copy of the given string.
recycle (string: STRING)
effective procedure
Recycles the string.
once function
The recycled strings
strings_with_capacity (capacity: INTEGER_32): WEAK_ARRAY[STRING]
effective function
Some reyccled strings with a capacity of the same order of magnitude as the requested capacity.
make
effective procedure
Maximum_character_code: INTEGER_16
Largest supported code for CHARACTER values.
Maximum_integer_8: INTEGER_8
constant attribute
Largest supported value of type INTEGER_8.
Maximum_integer_16: INTEGER_16
constant attribute
Largest supported value of type INTEGER_16.
Maximum_integer: INTEGER_32
constant attribute
Largest supported value of type INTEGER/INTEGER_32.
Maximum_integer_32: INTEGER_32
constant attribute
Largest supported value of type INTEGER/INTEGER_32.
Maximum_integer_64: INTEGER_64
constant attribute
Largest supported value of type INTEGER_64.
Maximum_real_32: REAL_32
constant attribute
Largest non-special (no NaNs nor infinity) supported value of type REAL_32.
Maximum_real: REAL_64
Largest non-special (no NaNs nor infinity) supported value of type REAL.
Maximum_real_64: REAL_64
Largest non-special (no NaNs nor infinity) supported value of type REAL.
Maximum_real_80: REAL_EXTENDED
Largest supported value of type REAL_80.
Minimum_character_code: INTEGER_16
Smallest supported code for CHARACTER values.
Minimum_integer_8: INTEGER_8
constant attribute
Smallest supported value of type INTEGER_8.
Minimum_integer_16: INTEGER_16
constant attribute
Smallest supported value of type INTEGER_16.
Minimum_integer: INTEGER_32
constant attribute
Smallest supported value of type INTEGER/INTEGER_32.
Minimum_integer_32: INTEGER_32
constant attribute
Smallest supported value of type INTEGER/INTEGER_32.
Minimum_integer_64: INTEGER_64
constant attribute
Smallest supported value of type INTEGER_64.
Minimum_real_32: REAL_32
constant attribute
Smallest non-special (no NaNs nor infinity) supported value of type REAL_32.
Minimum_real: REAL_64
Smallest non-special (no NaNs nor infinity) supported value of type REAL.
Minimum_real_64: REAL_64
Smallest non-special (no NaNs nor infinity) supported value of type REAL.
Minimum_real_80: REAL_64
Smallest supported value of type REAL_80.
Boolean_bits: INTEGER_32
Number of bits in a value of type BOOLEAN.
Character_bits: INTEGER_32
Number of bits in a value of type CHARACTER.
Integer_bits: INTEGER_32
Number of bits in a value of type INTEGER.
Real_bits: INTEGER_32
constant attribute
Number of bits in a value of type REAL.
Pointer_bits: INTEGER_32
Number of bits in a value of type POINTER.
collecting: BOOLEAN
frozen
Is garbage collection enabled?
collection_off
frozen
Disable garbage collection.
collection_on
frozen
Enable garbage collection.
full_collect
frozen
Force a full collection cycle if garbage collection is enabled (i.e. collecting is True); do nothing otherwise.
collector_counter: INTEGER_32
frozen
The number of collections actually performed or -1 when the system is not using the SmartEiffel garbage collector (i.e. when the system is compiled using the -no_gc flag).
smart_eiffel_collector: BOOLEAN
frozen
effective function
Is the SmartEiffel garbage collector really used?
low_memory_strategy: BOOLEAN
frozen
effective function
Is the low memory strategy in use?
set_low_memory_strategy
frozen
effective procedure
high_memory_strategy: BOOLEAN
frozen
effective function
Is the high memory strategy in use?
set_high_memory_strategy
frozen
effective procedure
default_memory_strategy: BOOLEAN
frozen
effective function
Is the default memory strategy in use?
set_default_memory_strategy
frozen
effective procedure
allocated_bytes: INTEGER_32
frozen
effective function
Total number of allocated bytes of memory in the heap.