diff options
Diffstat (limited to 'src/stream.h')
-rw-r--r-- | src/stream.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/stream.h b/src/stream.h index ae94234..e640959 100644 --- a/src/stream.h +++ b/src/stream.h | |||
@@ -6,6 +6,16 @@ | |||
6 | 6 | ||
7 | namespace Bu | 7 | namespace Bu |
8 | { | 8 | { |
9 | /** | ||
10 | * The basis for a completely general data transport mechanism. Anything | ||
11 | * that inherits from this should provide at least the basic read and/or | ||
12 | * write functions, and very probably the close function. Any functions | ||
13 | * that aren't supported should throw an exception if called. | ||
14 | * | ||
15 | * The constructor of a child class should pretty much universally be used | ||
16 | * to open the stream. I can't think of anything that should require an | ||
17 | * exception. | ||
18 | */ | ||
9 | class Stream | 19 | class Stream |
10 | { | 20 | { |
11 | public: | 21 | public: |