return static_cast<unsigned char>(c);
}
+void Base::set_eof()
+{
+ if(!eof_flag)
+ {
+ eof_flag = true;
+ signal_end_of_file.emit();
+ }
+}
+
+const Handle &Base::get_handle(Mode)
+{
+ throw logic_error("Base::get_handle");
+}
+
} // namespace IO
} // namespace Msp