/src/tools/wrappers-generator/wrapper_feature.e

http://github.com/tybor/Liberty · Specman e · 29 lines · 13 code · 3 blank · 13 comment · 0 complexity · c0c0f006aaf86775fb7b857799284f49 MD5 · raw file

  1. deferred class WRAPPER_FEATURE
  2. -- A node of an XML file produced by gccxml that will be wrapped by a Liberty feature, part of wider wrapper class.
  3. inherit
  4. WRAPPABLE_NODE
  5. FILED_NODE
  6. feature {ANY}
  7. wrap_on (a_stream: OUTPUT_STREAM)
  8. -- Put the wrapper on `a_stream'
  9. require
  10. a_stream /= Void
  11. deferred
  12. ensure
  13. buffer.is_empty
  14. end
  15. end -- class WRAPPER_FEATURE
  16. -- Copyright (C) 2008-2017: ,2009,2010 Paolo Redaelli
  17. -- wrappers-generator is free software: you can redistribute it and/or modify it
  18. -- under the terms of the GNU General Public License as publhed by the Free
  19. -- Software Foundation, either version 2 of the License, or (at your option)
  20. -- any later version.
  21. -- wrappers-generator is distributed in the hope that it will be useful, but
  22. -- WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  23. -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  24. -- more details.
  25. -- You should have received a copy of the GNU General Public License along with
  26. -- th program. If not, see <http://www.gnu.org/licenses/>.