You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.3 KiB

7 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. /*
  2. * Turbo Vision - Version 2.0
  3. *
  4. * Copyright (c) 1994 by Borland International
  5. * All Rights Reserved.
  6. *
  7. Modified by Robert H�hne to be used for RHIDE.
  8. Modified to compile with gcc v3.x by Salvador E. Tropea, with the help of
  9. Andris Pavenis and Christoph Bauer.
  10. *
  11. *
  12. */
  13. /* ------------------------------------------------------------------------*/
  14. /* */
  15. /* class ofpstream */
  16. /* */
  17. /* Base class for writing streamable objects to file streams */
  18. /* */
  19. /* ------------------------------------------------------------------------*/
  20. #if defined( Uses_ofpstream ) && !defined( __ofpstream )
  21. #define __ofpstream
  22. class ofpstream : public fpbase, public opstream
  23. {
  24. public:
  25. ofpstream();
  26. ofpstream(const char *,
  27. CLY_OpenModeT = CLY_IOSOut,
  28. int = CLY_FBOpenProtDef);
  29. ofpstream(int);
  30. ofpstream(int, char *, int);
  31. ~ofpstream();
  32. CLY_filebuf *rdbuf();
  33. void open(const char *,
  34. CLY_OpenModeT = CLY_IOSOut,
  35. int = CLY_FBOpenProtDef);
  36. };
  37. #endif // Uses_ofpstream