]>
Commit | Line | Data |
---|---|---|
e6056257 RD |
1 | # This file was created automatically by SWIG. |
2 | import streamsc | |
3 | import wx | |
e6056257 RD |
4 | class wxInputStreamPtr : |
5 | def __init__(self,this): | |
6 | self.this = this | |
7 | self.thisown = 0 | |
8 | def close(self, *_args, **_kwargs): | |
d84a9306 | 9 | val = streamsc.wxInputStream_close(self, *_args, **_kwargs) |
e6056257 RD |
10 | return val |
11 | def flush(self, *_args, **_kwargs): | |
d84a9306 | 12 | val = streamsc.wxInputStream_flush(self, *_args, **_kwargs) |
e6056257 RD |
13 | return val |
14 | def eof(self, *_args, **_kwargs): | |
d84a9306 | 15 | val = streamsc.wxInputStream_eof(self, *_args, **_kwargs) |
e6056257 RD |
16 | return val |
17 | def read(self, *_args, **_kwargs): | |
d84a9306 | 18 | val = streamsc.wxInputStream_read(self, *_args, **_kwargs) |
e6056257 RD |
19 | return val |
20 | def readline(self, *_args, **_kwargs): | |
d84a9306 | 21 | val = streamsc.wxInputStream_readline(self, *_args, **_kwargs) |
e6056257 RD |
22 | return val |
23 | def readlines(self, *_args, **_kwargs): | |
d84a9306 | 24 | val = streamsc.wxInputStream_readlines(self, *_args, **_kwargs) |
e6056257 RD |
25 | return val |
26 | def seek(self, *_args, **_kwargs): | |
d84a9306 | 27 | val = streamsc.wxInputStream_seek(self, *_args, **_kwargs) |
e6056257 RD |
28 | return val |
29 | def tell(self, *_args, **_kwargs): | |
d84a9306 | 30 | val = streamsc.wxInputStream_tell(self, *_args, **_kwargs) |
e6056257 | 31 | return val |
7108497a | 32 | def Peek(self, *_args, **_kwargs): |
d84a9306 | 33 | val = streamsc.wxInputStream_Peek(self, *_args, **_kwargs) |
7108497a RD |
34 | return val |
35 | def GetC(self, *_args, **_kwargs): | |
d84a9306 | 36 | val = streamsc.wxInputStream_GetC(self, *_args, **_kwargs) |
7108497a RD |
37 | return val |
38 | def LastRead(self, *_args, **_kwargs): | |
d84a9306 | 39 | val = streamsc.wxInputStream_LastRead(self, *_args, **_kwargs) |
7108497a RD |
40 | return val |
41 | def CanRead(self, *_args, **_kwargs): | |
d84a9306 | 42 | val = streamsc.wxInputStream_CanRead(self, *_args, **_kwargs) |
7108497a RD |
43 | return val |
44 | def Eof(self, *_args, **_kwargs): | |
d84a9306 | 45 | val = streamsc.wxInputStream_Eof(self, *_args, **_kwargs) |
7108497a RD |
46 | return val |
47 | def Ungetch(self, *_args, **_kwargs): | |
d84a9306 | 48 | val = streamsc.wxInputStream_Ungetch(self, *_args, **_kwargs) |
7108497a RD |
49 | return val |
50 | def SeekI(self, *_args, **_kwargs): | |
d84a9306 | 51 | val = streamsc.wxInputStream_SeekI(self, *_args, **_kwargs) |
7108497a RD |
52 | return val |
53 | def TellI(self, *_args, **_kwargs): | |
d84a9306 | 54 | val = streamsc.wxInputStream_TellI(self, *_args, **_kwargs) |
7108497a | 55 | return val |
e6056257 | 56 | def __repr__(self): |
d84a9306 | 57 | return "<%s.%s instance; proxy of C++ wxInputStream instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
e6056257 RD |
58 | class wxInputStream(wxInputStreamPtr): |
59 | def __init__(self,*_args,**_kwargs): | |
d84a9306 | 60 | self.this = streamsc.new_wxInputStream(*_args,**_kwargs) |
e6056257 RD |
61 | self.thisown = 1 |
62 | ||
63 | ||
64 | ||
65 | ||
66 | class wxOutputStreamPtr : | |
67 | def __init__(self,this): | |
68 | self.this = this | |
69 | self.thisown = 0 | |
70 | def write(self, *_args, **_kwargs): | |
d84a9306 | 71 | val = streamsc.wxOutputStream_write(self, *_args, **_kwargs) |
e6056257 RD |
72 | return val |
73 | def __repr__(self): | |
d84a9306 | 74 | return "<%s.%s instance; proxy of C++ wxOutputStream instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
e6056257 RD |
75 | class wxOutputStream(wxOutputStreamPtr): |
76 | def __init__(self,this): | |
77 | self.this = this | |
78 | ||
79 | ||
80 | ||
81 | ||
82 | ||
83 | ||
84 | #-------------- FUNCTION WRAPPERS ------------------ | |
85 | ||
86 | ||
87 | ||
88 | #-------------- VARIABLE WRAPPERS ------------------ | |
89 | ||
7108497a RD |
90 | wxFromStart = streamsc.wxFromStart |
91 | wxFromCurrent = streamsc.wxFromCurrent | |
92 | wxFromEnd = streamsc.wxFromEnd |