aboutsummaryrefslogtreecommitdiff
path: root/src/stable/myriadstream.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2012-11-05 22:41:51 +0000
committerMike Buland <eichlan@xagasoft.com>2012-11-05 22:41:51 +0000
commitec05778d5718a7912e506764d443a78d6a6179e3 (patch)
tree78a9a01532180030c095acefc45763f07c14edb8 /src/stable/myriadstream.h
parentb20414ac1fe80a71a90601f4cd1767fa7014a9ba (diff)
downloadlibbu++-ec05778d5718a7912e506764d443a78d6a6179e3.tar.gz
libbu++-ec05778d5718a7912e506764d443a78d6a6179e3.tar.bz2
libbu++-ec05778d5718a7912e506764d443a78d6a6179e3.tar.xz
libbu++-ec05778d5718a7912e506764d443a78d6a6179e3.zip
Converted tabs to spaces with tabconv.
Diffstat (limited to '')
-rw-r--r--src/stable/myriadstream.h86
1 files changed, 43 insertions, 43 deletions
diff --git a/src/stable/myriadstream.h b/src/stable/myriadstream.h
index 7cc2fc0..fe7453f 100644
--- a/src/stable/myriadstream.h
+++ b/src/stable/myriadstream.h
@@ -13,49 +13,49 @@
13 13
14namespace Bu 14namespace Bu
15{ 15{
16 class MyriadStream : public Bu::Stream 16 class MyriadStream : public Bu::Stream
17 { 17 {
18 friend class Myriad; 18 friend class Myriad;
19 private: 19 private:
20 /** 20 /**
21 * These can only be created by the Myriad class. 21 * These can only be created by the Myriad class.
22 */ 22 */
23 MyriadStream( Myriad &rMyriad, Myriad::Stream *pStream ); 23 MyriadStream( Myriad &rMyriad, Myriad::Stream *pStream );
24 24
25 public: 25 public:
26 virtual ~MyriadStream(); 26 virtual ~MyriadStream();
27 27
28 virtual void close(); 28 virtual void close();
29 virtual Bu::size read( void *pBuf, Bu::size nBytes ); 29 virtual Bu::size read( void *pBuf, Bu::size nBytes );
30 virtual Bu::size write( const void *pBuf, Bu::size nBytes ); 30 virtual Bu::size write( const void *pBuf, Bu::size nBytes );
31 using Stream::write; 31 using Stream::write;
32 virtual Bu::size tell(); 32 virtual Bu::size tell();
33 virtual void seek( Bu::size offset ); 33 virtual void seek( Bu::size offset );
34 virtual void setPos( Bu::size pos ); 34 virtual void setPos( Bu::size pos );
35 virtual void setPosEnd( Bu::size pos ); 35 virtual void setPosEnd( Bu::size pos );
36 virtual bool isEos(); 36 virtual bool isEos();
37 virtual bool isOpen(); 37 virtual bool isOpen();
38 virtual void flush(); 38 virtual void flush();
39 virtual bool canRead(); 39 virtual bool canRead();
40 virtual bool canWrite(); 40 virtual bool canWrite();
41 virtual bool isReadable(); 41 virtual bool isReadable();
42 virtual bool isWritable(); 42 virtual bool isWritable();
43 virtual bool isSeekable(); 43 virtual bool isSeekable();
44 virtual bool isBlocking(); 44 virtual bool isBlocking();
45 virtual void setBlocking( bool bBlocking=true ); 45 virtual void setBlocking( bool bBlocking=true );
46 virtual void setSize( Bu::size iSize ); 46 virtual void setSize( Bu::size iSize );
47 47
48 virtual size getSize() const; 48 virtual size getSize() const;
49 virtual size getBlockSize() const; 49 virtual size getBlockSize() const;
50 virtual Bu::String getLocation() const; 50 virtual Bu::String getLocation() const;
51 51
52 private: 52 private:
53 Myriad &rMyriad; 53 Myriad &rMyriad;
54 Myriad::Stream *pStream; 54 Myriad::Stream *pStream;
55 Myriad::Block *pCurBlock; 55 Myriad::Block *pCurBlock;
56 int iBlockSize; 56 int iBlockSize;
57 int iPos; 57 int iPos;
58 }; 58 };
59}; 59};
60 60
61#endif 61#endif