home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 3 / AACD03.BIN / AACD / Programming / sofa / archive / exml.lha / exml / main / c_string_helper_abs.e next >
Text File  |  1999-04-13  |  1KB  |  38 lines

  1. indexing
  2.     description:    "abstract definition of C-type string helper features."
  3.     note:                "the implementation may be different on different%
  4.                         %Eiffel-compilers"
  5.  
  6. class
  7.     C_STRING_HELPER_ABS
  8. feature
  9.     create_copy_of_string_from_zstring (c_string_ptr: POINTER) is
  10.             -- creates a Eiffel STRING object from a zero terminated C-string
  11.             -- the data will be copied so 'c_string_ptr' needs only to be valid
  12.             -- during the execution of this feature.
  13.             --
  14.             -- The Eiffel-STRING object will be stored in 'last_string'
  15.         require
  16.             c_string_ptr /= default_pointer
  17.         deferred
  18.         ensure
  19.             last_string /= Void
  20.         end
  21.  
  22.     last_string: STRING
  23.     
  24. end -- class C_STRING_HELPER_ABS
  25. --|-------------------------------------------------------------------------
  26. --| eXML, Eiffel XML Parser Toolkit
  27. --| Copyright (C) 1999  Andreas Leitner
  28. --| See the file forum.txt included in this package for licensing info.
  29. --|
  30. --| Comments, Questions, Additions to this library? please contact:
  31. --|
  32. --| Andreas Leitner
  33. --| Arndtgasse 1/3/5
  34. --| 8010 Graz
  35. --| Austria
  36. --| email: andreas.leitner@teleweb.at
  37. --| web: http://exml.dhs.org
  38. --|-------------------------------------------------------------------------