1 /* Interface that implements an exception throwing write method. */ 2 #pragma once 3 4 #include "interfaces.hpp" 5 6 class WriteOnly : public ReadInterface 7 { 8 public: 9 WriteOnly() : ReadInterface() 10 { 11 } 12 13 ReadReturn read(void) override; 14 }; 15