summaryrefslogtreecommitdiff
path: root/rhtvision/include/tv/ofpstrm.h
blob: 981ae350c72ea4d76756593aee106672fd30d2dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
 *      Turbo Vision - Version 2.0
 *
 *      Copyright (c) 1994 by Borland International
 *      All Rights Reserved.
 *

Modified by Robert H”hne to be used for RHIDE.
Modified to compile with gcc v3.x by Salvador E. Tropea, with the help of
Andris Pavenis and Christoph Bauer.

 *
 *
 */

/* ------------------------------------------------------------------------*/
/*                                                                         */
/*   class ofpstream                                                       */
/*                                                                         */
/*   Base class for writing streamable objects to file streams             */
/*                                                                         */
/* ------------------------------------------------------------------------*/

#if defined( Uses_ofpstream ) && !defined( __ofpstream )
#define __ofpstream

class CLY_EXPORT ofpstream : public fpbase, public opstream
{
public:
 ofpstream();
 ofpstream(const char *,
           CLY_OpenModeT = CLY_IOSOut,
           int = CLY_FBOpenProtDef);
 ofpstream(int);
 ofpstream(int, char *, int);
 ~ofpstream();

 CLY_filebuf *rdbuf();
 void open(const char *,
           CLY_OpenModeT = CLY_IOSOut,
           int = CLY_FBOpenProtDef);
};

#endif  // Uses_ofpstream