Elm  2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
WinInStream.h
1 /*
2  * $Id$
3  *
4  * elm/io/InStream.h -- interface for InStream class.
5  */
6 #ifndef ELM_IO_UNIX_INSTREAM_H
7 #define ELM_IO_UNIX_INSTREAM_H
8 
9 #include <elm/string/CString.h>
10 #include <elm/io/InStream.h>
11 
12 namespace elm { namespace io {
13 
14 // WinInStream class
15 class WinInStream: public InStream {
16 protected:
17  void* _fd;
18 public:
19  WinInStream(void* fd);
20  inline void* fd(void) const { return _fd; };
21  virtual int read(void *buffer, int size);
22  virtual int read(void) { return InStream::read(); };
23  virtual CString lastErrorMessage(void);
24 };
25 
26 } } // elm::io
27 
28 #endif // ELM_IO_UNIX_INSTREAM_H
elm::CString
Definition: CString.h:17
elm::io::WinInStream::lastErrorMessage
virtual CString lastErrorMessage(void)
Definition: io_WinInStream.cpp:79
elm::io::WinInStream::read
virtual int read(void)
Definition: WinInStream.h:22
elm
Definition: adapter.h:26
elm::io::WinInStream
Definition: WinInStream.h:15
elm::t::size
uint64 size
Definition: arch.h:35
elm::io::WinInStream::_fd
void * _fd
Definition: WinInStream.h:17
elm::io::WinInStream::WinInStream
WinInStream(void *fd)
Definition: io_WinInStream.cpp:51
elm::io::WinInStream::fd
void * fd(void) const
Definition: WinInStream.h:20
elm::io::InStream::read
virtual int read(void)
Definition: io_InStream.cpp:63
elm::io::InStream
Definition: InStream.h:29