]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/datstrm.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Data stream classes
4 // Author: Guilhem Lavaux
8 // Copyright: (c) Guilhem Lavaux
9 // Licence: wxWindows license
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef __DATSTREAMH__
13 #define __DATSTREAMH__
16 #pragma interface "datstrm.h"
23 wxDataStream(iostream
& s
);
24 wxDataStream(istream
& s
);
25 wxDataStream(ostream
& s
);
27 virtual ~wxDataStream();
29 unsigned long Read32();
30 unsigned short Read16();
31 unsigned char Read8();
35 void Write32(unsigned long i
);
36 void Write16(unsigned short i
);
37 void Write8(unsigned char i
);
38 void WriteDouble(double d
);
39 void WriteLine(const wxString
& line
);