]>
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();
34 wxString
ReadString();
36 void Write32(unsigned long i
);
37 void Write16(unsigned short i
);
38 void Write8(unsigned char i
);
39 void WriteDouble(double d
);
40 void WriteLine(const wxString
& line
);
41 void WriteString(const wxString
& string
);