aboutsummaryrefslogtreecommitdiff
path: root/src/filter.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2012-03-25 20:00:08 +0000
committerMike Buland <eichlan@xagasoft.com>2012-03-25 20:00:08 +0000
commit469bbcf0701e1eb8a6670c23145b0da87357e178 (patch)
treeb5b062a16e46a6c5d3410b4e574cd0cc09057211 /src/filter.cpp
parentee1b79396076edc4e30aefb285fada03bb45e80d (diff)
downloadlibbu++-469bbcf0701e1eb8a6670c23145b0da87357e178.tar.gz
libbu++-469bbcf0701e1eb8a6670c23145b0da87357e178.tar.bz2
libbu++-469bbcf0701e1eb8a6670c23145b0da87357e178.tar.xz
libbu++-469bbcf0701e1eb8a6670c23145b0da87357e178.zip
Code is all reorganized. We're about ready to release. I should write up a
little explenation of the arrangement.
Diffstat (limited to 'src/filter.cpp')
-rw-r--r--src/filter.cpp113
1 files changed, 0 insertions, 113 deletions
diff --git a/src/filter.cpp b/src/filter.cpp
deleted file mode 100644
index 3fe8f0e..0000000
--- a/src/filter.cpp
+++ /dev/null
@@ -1,113 +0,0 @@
1/*
2 * Copyright (C) 2007-2011 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libbu++ library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
8#include "bu/filter.h"
9
10Bu::Filter::Filter( Bu::Stream &rNext ) :
11 rNext( rNext )
12{
13}
14
15Bu::Filter::~Filter()
16{
17}
18
19void Bu::Filter::close()
20{
21 stop();
22 rNext.close();
23}
24
25Bu::size Bu::Filter::tell()
26{
27 return rNext.tell();
28}
29
30void Bu::Filter::seek( Bu::size offset )
31{
32 rNext.seek( offset );
33}
34
35void Bu::Filter::setPos( Bu::size pos )
36{
37 rNext.setPos( pos );
38}
39
40void Bu::Filter::setPosEnd( Bu::size pos )
41{
42 rNext.setPosEnd( pos );
43}
44
45bool Bu::Filter::isEos()
46{
47 return rNext.isEos();
48}
49
50bool Bu::Filter::isOpen()
51{
52 return rNext.isOpen();
53}
54
55bool Bu::Filter::canRead()
56{
57 return rNext.canRead();
58}
59
60bool Bu::Filter::canWrite()
61{
62 return rNext.canWrite();
63}
64
65bool Bu::Filter::isReadable()
66{
67 return rNext.isReadable();
68}
69
70bool Bu::Filter::isWritable()
71{
72 return rNext.isWritable();
73}
74
75bool Bu::Filter::isSeekable()
76{
77 return rNext.isSeekable();
78}
79
80bool Bu::Filter::isBlocking()
81{
82 return rNext.isBlocking();
83}
84
85void Bu::Filter::setBlocking( bool bBlocking )
86{
87 rNext.setBlocking( bBlocking );
88}
89
90void Bu::Filter::setSize( Bu::size )
91{
92}
93
94void Bu::Filter::flush()
95{
96 rNext.flush();
97}
98
99Bu::size Bu::Filter::getSize() const
100{
101 return rNext.getSize();
102}
103
104Bu::size Bu::Filter::getBlockSize() const
105{
106 return rNext.getBlockSize();
107}
108
109Bu::String Bu::Filter::getLocation() const
110{
111 return rNext.getLocation();
112}
113