| Patrick Venture | 863b924 | 2018-03-08 08:29:23 -0800 | [diff] [blame^] | 1 | /* Interface that implements an exception throwing write method. */ |
| 2 | #pragma once | ||||
| 3 | |||||
| 4 | #include "interfaces.hpp" | ||||
| 5 | |||||
| 6 | |||||
| 7 | class WriteOnly: public ReadInterface | ||||
| 8 | { | ||||
| 9 | public: | ||||
| 10 | WriteOnly() | ||||
| 11 | : ReadInterface() | ||||
| 12 | { } | ||||
| 13 | |||||
| 14 | ReadReturn read(void) override; | ||||
| 15 | }; | ||||