diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2010-08-21 04:39:47 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2010-08-21 04:39:47 +0000 |
| commit | 7f17eeb7fccd52b7049f9f598121130dfd1b55ae (patch) | |
| tree | 8afca1e4459f0bc719941514009f046cd77f88ed /src/streamstack.cpp | |
| parent | a83e9babede7ab5bc8e1ac6c7ee3784b91bd8452 (diff) | |
| download | libbu++-7f17eeb7fccd52b7049f9f598121130dfd1b55ae.tar.gz libbu++-7f17eeb7fccd52b7049f9f598121130dfd1b55ae.tar.bz2 libbu++-7f17eeb7fccd52b7049f9f598121130dfd1b55ae.tar.xz libbu++-7f17eeb7fccd52b7049f9f598121130dfd1b55ae.zip | |
Client now inherits from stream. This could be cool, it could really mess\nthings up. We shall see. In other news, I'm adding a Bu::StreamStack class\nthat will let you easily manage dynamic stream/filter sets.
Diffstat (limited to 'src/streamstack.cpp')
| -rw-r--r-- | src/streamstack.cpp | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/src/streamstack.cpp b/src/streamstack.cpp new file mode 100644 index 0000000..9e45cc4 --- /dev/null +++ b/src/streamstack.cpp | |||
| @@ -0,0 +1,86 @@ | |||
| 1 | #include "bu/streamstack.h" | ||
| 2 | |||
| 3 | Bu::StreamStack::StreamStack() | ||
| 4 | { | ||
| 5 | } | ||
| 6 | |||
| 7 | Bu::StreamStack::~StreamStack() | ||
| 8 | { | ||
| 9 | } | ||
| 10 | |||
| 11 | void Bu::StreamStack::close() | ||
| 12 | { | ||
| 13 | } | ||
| 14 | |||
| 15 | size_t Bu::StreamStack::read( void *pBuf, size_t nBytes ) | ||
| 16 | { | ||
| 17 | } | ||
| 18 | |||
| 19 | size_t Bu::StreamStack::write( const void *pBuf, size_t nBytes ) | ||
| 20 | { | ||
| 21 | } | ||
| 22 | |||
| 23 | size_t Bu::StreamStack::write( const Bu::FString &sBuf ) | ||
| 24 | { | ||
| 25 | } | ||
| 26 | |||
| 27 | long Bu::StreamStack::tell() | ||
| 28 | { | ||
| 29 | } | ||
| 30 | |||
| 31 | void Bu::StreamStack::seek( long offset ) | ||
| 32 | { | ||
| 33 | } | ||
| 34 | |||
| 35 | void Bu::StreamStack::setPos( long pos ) | ||
| 36 | { | ||
| 37 | } | ||
| 38 | |||
| 39 | void Bu::StreamStack::setPosEnd( long pos ) | ||
| 40 | { | ||
| 41 | } | ||
| 42 | |||
| 43 | bool Bu::StreamStack::isEos() | ||
| 44 | { | ||
| 45 | } | ||
| 46 | |||
| 47 | bool Bu::StreamStack::isOpen() | ||
| 48 | { | ||
| 49 | } | ||
| 50 | |||
| 51 | void Bu::StreamStack::flush() | ||
| 52 | { | ||
| 53 | } | ||
| 54 | |||
| 55 | bool Bu::StreamStack::canRead() | ||
| 56 | { | ||
| 57 | } | ||
| 58 | |||
| 59 | bool Bu::StreamStack::canWrite() | ||
| 60 | { | ||
| 61 | } | ||
| 62 | |||
| 63 | bool Bu::StreamStack::isReadable() | ||
| 64 | { | ||
| 65 | } | ||
| 66 | |||
| 67 | bool Bu::StreamStack::isWritable() | ||
| 68 | { | ||
| 69 | } | ||
| 70 | |||
| 71 | bool Bu::StreamStack::isSeekable() | ||
| 72 | { | ||
| 73 | } | ||
| 74 | |||
| 75 | bool Bu::StreamStack::isBlocking() | ||
| 76 | { | ||
| 77 | } | ||
| 78 | |||
| 79 | void Bu::StreamStack::setBlocking( bool bBlocking ) | ||
| 80 | { | ||
| 81 | } | ||
| 82 | |||
| 83 | void Bu::StreamStack::setSize( long iSize ) | ||
| 84 | { | ||
| 85 | } | ||
| 86 | |||
