diff options
author | Mike Buland <eichlan@xagasoft.com> | 2012-11-05 22:41:51 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2012-11-05 22:41:51 +0000 |
commit | ec05778d5718a7912e506764d443a78d6a6179e3 (patch) | |
tree | 78a9a01532180030c095acefc45763f07c14edb8 /src/stable/stdstream.h | |
parent | b20414ac1fe80a71a90601f4cd1767fa7014a9ba (diff) | |
download | libbu++-ec05778d5718a7912e506764d443a78d6a6179e3.tar.gz libbu++-ec05778d5718a7912e506764d443a78d6a6179e3.tar.bz2 libbu++-ec05778d5718a7912e506764d443a78d6a6179e3.tar.xz libbu++-ec05778d5718a7912e506764d443a78d6a6179e3.zip |
Converted tabs to spaces with tabconv.
Diffstat (limited to 'src/stable/stdstream.h')
-rw-r--r-- | src/stable/stdstream.h | 78 |
1 files changed, 39 insertions, 39 deletions
diff --git a/src/stable/stdstream.h b/src/stable/stdstream.h index d71d95d..80c0fab 100644 --- a/src/stable/stdstream.h +++ b/src/stable/stdstream.h | |||
@@ -13,46 +13,46 @@ | |||
13 | 13 | ||
14 | namespace Bu | 14 | namespace Bu |
15 | { | 15 | { |
16 | /** | 16 | /** |
17 | *@ingroup Streams | 17 | *@ingroup Streams |
18 | */ | 18 | */ |
19 | class StdStream : public Stream | 19 | class StdStream : public Stream |
20 | { | 20 | { |
21 | public: | 21 | public: |
22 | enum OutMode | 22 | enum OutMode |
23 | { | 23 | { |
24 | StdOut, | 24 | StdOut, |
25 | StdError | 25 | StdError |
26 | }; | 26 | }; |
27 | StdStream( OutMode eOut=StdOut ); | 27 | StdStream( OutMode eOut=StdOut ); |
28 | virtual ~StdStream(); | 28 | virtual ~StdStream(); |
29 | 29 | ||
30 | virtual void close(); | 30 | virtual void close(); |
31 | virtual size read( void *pBuf, size nBytes ); | 31 | virtual size read( void *pBuf, size nBytes ); |
32 | virtual size write( const void *pBuf, size nBytes ); | 32 | virtual size write( const void *pBuf, size nBytes ); |
33 | using Stream::write; | 33 | using Stream::write; |
34 | virtual size tell(); | 34 | virtual size tell(); |
35 | virtual void seek( size offset ); | 35 | virtual void seek( size offset ); |
36 | virtual void setPos( size pos ); | 36 | virtual void setPos( size pos ); |
37 | virtual void setPosEnd( size pos ); | 37 | virtual void setPosEnd( size pos ); |
38 | virtual bool isEos(); | 38 | virtual bool isEos(); |
39 | virtual bool isOpen(); | 39 | virtual bool isOpen(); |
40 | virtual void flush(); | 40 | virtual void flush(); |
41 | virtual bool canRead(); | 41 | virtual bool canRead(); |
42 | virtual bool canWrite(); | 42 | virtual bool canWrite(); |
43 | virtual bool isReadable(); | 43 | virtual bool isReadable(); |
44 | virtual bool isWritable(); | 44 | virtual bool isWritable(); |
45 | virtual bool isSeekable(); | 45 | virtual bool isSeekable(); |
46 | virtual bool isBlocking(); | 46 | virtual bool isBlocking(); |
47 | virtual void setBlocking( bool bBlocking=true ); | 47 | virtual void setBlocking( bool bBlocking=true ); |
48 | virtual void setSize( size iSize ); | 48 | virtual void setSize( size iSize ); |
49 | virtual size getSize() const; | 49 | virtual size getSize() const; |
50 | virtual size getBlockSize() const; | 50 | virtual size getBlockSize() const; |
51 | virtual Bu::String getLocation() const; | 51 | virtual Bu::String getLocation() const; |
52 | 52 | ||
53 | private: | 53 | private: |
54 | OutMode eOut; | 54 | OutMode eOut; |
55 | }; | 55 | }; |
56 | } | 56 | } |
57 | 57 | ||
58 | #endif | 58 | #endif |