diff options
Diffstat (limited to 'src/filter.cpp')
-rw-r--r-- | src/filter.cpp | 113 |
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 | |||
10 | Bu::Filter::Filter( Bu::Stream &rNext ) : | ||
11 | rNext( rNext ) | ||
12 | { | ||
13 | } | ||
14 | |||
15 | Bu::Filter::~Filter() | ||
16 | { | ||
17 | } | ||
18 | |||
19 | void Bu::Filter::close() | ||
20 | { | ||
21 | stop(); | ||
22 | rNext.close(); | ||
23 | } | ||
24 | |||
25 | Bu::size Bu::Filter::tell() | ||
26 | { | ||
27 | return rNext.tell(); | ||
28 | } | ||
29 | |||
30 | void Bu::Filter::seek( Bu::size offset ) | ||
31 | { | ||
32 | rNext.seek( offset ); | ||
33 | } | ||
34 | |||
35 | void Bu::Filter::setPos( Bu::size pos ) | ||
36 | { | ||
37 | rNext.setPos( pos ); | ||
38 | } | ||
39 | |||
40 | void Bu::Filter::setPosEnd( Bu::size pos ) | ||
41 | { | ||
42 | rNext.setPosEnd( pos ); | ||
43 | } | ||
44 | |||
45 | bool Bu::Filter::isEos() | ||
46 | { | ||
47 | return rNext.isEos(); | ||
48 | } | ||
49 | |||
50 | bool Bu::Filter::isOpen() | ||
51 | { | ||
52 | return rNext.isOpen(); | ||
53 | } | ||
54 | |||
55 | bool Bu::Filter::canRead() | ||
56 | { | ||
57 | return rNext.canRead(); | ||
58 | } | ||
59 | |||
60 | bool Bu::Filter::canWrite() | ||
61 | { | ||
62 | return rNext.canWrite(); | ||
63 | } | ||
64 | |||
65 | bool Bu::Filter::isReadable() | ||
66 | { | ||
67 | return rNext.isReadable(); | ||
68 | } | ||
69 | |||
70 | bool Bu::Filter::isWritable() | ||
71 | { | ||
72 | return rNext.isWritable(); | ||
73 | } | ||
74 | |||
75 | bool Bu::Filter::isSeekable() | ||
76 | { | ||
77 | return rNext.isSeekable(); | ||
78 | } | ||
79 | |||
80 | bool Bu::Filter::isBlocking() | ||
81 | { | ||
82 | return rNext.isBlocking(); | ||
83 | } | ||
84 | |||
85 | void Bu::Filter::setBlocking( bool bBlocking ) | ||
86 | { | ||
87 | rNext.setBlocking( bBlocking ); | ||
88 | } | ||
89 | |||
90 | void Bu::Filter::setSize( Bu::size ) | ||
91 | { | ||
92 | } | ||
93 | |||
94 | void Bu::Filter::flush() | ||
95 | { | ||
96 | rNext.flush(); | ||
97 | } | ||
98 | |||
99 | Bu::size Bu::Filter::getSize() const | ||
100 | { | ||
101 | return rNext.getSize(); | ||
102 | } | ||
103 | |||
104 | Bu::size Bu::Filter::getBlockSize() const | ||
105 | { | ||
106 | return rNext.getBlockSize(); | ||
107 | } | ||
108 | |||
109 | Bu::String Bu::Filter::getLocation() const | ||
110 | { | ||
111 | return rNext.getLocation(); | ||
112 | } | ||
113 | |||