Last change
on this file since 840 was
840,
checked in by pooh, 18 years ago
|
- Implemented missing StdIO::Print* and StdIO::Write* functions.
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
711 bytes
|
Line | |
---|
1 | #ifndef __rf_channel_hh__ |
---|
2 | #define __rf_channel_hh__ |
---|
3 | |
---|
4 | #include "rf_types.hh" |
---|
5 | #include "rf_object.hh" |
---|
6 | #include <stdio.h> |
---|
7 | |
---|
8 | namespace rftype |
---|
9 | { |
---|
10 | |
---|
11 | using namespace rfrt ; |
---|
12 | |
---|
13 | class Channel : |
---|
14 | public Object |
---|
15 | { |
---|
16 | |
---|
17 | private: |
---|
18 | |
---|
19 | FILE* fp ; |
---|
20 | |
---|
21 | static ObjectRegister reg ; |
---|
22 | |
---|
23 | public: |
---|
24 | |
---|
25 | inline Channel (FILE* _fp = null) ; |
---|
26 | inline Channel (Channel const& _channel) ; |
---|
27 | inline ~Channel () ; |
---|
28 | inline Channel& operator = (Channel const& _channel) ; |
---|
29 | |
---|
30 | inline unsigned get_type () const ; |
---|
31 | inline uint32_t hash () const ; |
---|
32 | |
---|
33 | inline bool operator == (Object const& _obj) const ; |
---|
34 | |
---|
35 | inline bool open (char const* _fname, char const* _mode) ; |
---|
36 | inline void close () ; |
---|
37 | inline FILE* get_fp () const ; |
---|
38 | |
---|
39 | }; |
---|
40 | |
---|
41 | } |
---|
42 | |
---|
43 | #endif // __rf_channel_hh__ |
---|
Note: See
TracBrowser
for help on using the repository browser.