Up Top       Prev ITERATOR_ON_SET      Next ITERATOR_ON_TWO_WAY_LINKED_LIST



class interface ITERATOR_ON_STRING
   -- Please do not use this class directly. Look at ITERATOR.

creation
   make (s: STRING)
      require
         s /= Void
      ensure
         string = s

feature(s) from ITERATOR   start
      -- Positions the iterator to the first object in the
      -- aggregate to be traversed.


   is_off: BOOLEAN
      -- Returns true when there are no more objects in the
      -- sequence.


   item: CHARACTER
      -- Returns the object at the current position in the
      -- sequence.

      require
         not is_off

   next
      -- Positions the iterator to the next object in the
      -- sequence.

      require
         not is_off

feature(s) from ITERATOR_ON_STRING   make (s: STRING)
      require
         s /= Void
      ensure
         string = s



end of ITERATOR_ON_STRING




All classes inherit from ANY, ANY inherits from PLATFORM and PLATFORM inherits from GENERAL.



Generated by short -html_deb on 31 March 2005.