ByteReadResource.hpp
Go to the documentation of this file.
1 // @formatter:off
2 //
3 // Balau core C++ library
4 //
5 // Copyright (C) 2008 Bora Software (contact@borasoftware.com)
6 //
7 // Licensed under the Boost Software License - Version 1.0 - August 17th, 2003.
8 // See the LICENSE file for the full license text.
9 //
10 
16 
17 #ifndef COM_BORA_SOFTWARE__BALAU_RESOURCE__BYTE_READ_RESOURCE
18 #define COM_BORA_SOFTWARE__BALAU_RESOURCE__BYTE_READ_RESOURCE
19 
21 
22 #include <istream>
23 
24 namespace Balau::Resource {
25 
29 class ByteReadResource : public Resource {
33  public: virtual std::istream & readStream() = 0;
34 };
35 
36 } // namespace Balau::Resource
37 
38 #endif // COM_BORA_SOFTWARE__BALAU_RESOURCE__BYTE_READ_RESOURCE
A read-only resource which is read as bytes.
Definition: ByteReadResource.hpp:29
Abstract base class of resource classes.
Definition: Resource.hpp:30
The unified resource class hierarchy.
Definition: ByteReadResource.hpp:24
Abstract base class of resource classes.
virtual std::istream & readStream()=0
Get the input stream of the byte read resource.