Potato Engine
Hobby Game Engine Project
|
Public Member Functions | |
Backend (Backend const &)=delete | |
Backend & | operator= (Backend const &)=delete |
virtual bool | isOpen () const noexcept=0 |
virtual bool | isEof () const noexcept=0 |
virtual bool | canRead () const noexcept=0 |
virtual bool | canWrite () const noexcept=0 |
virtual bool | canSeek () const noexcept=0 |
virtual IOResult | seek (SeekPosition position, difference_type offset)=0 |
virtual difference_type | tell () const =0 |
virtual difference_type | remaining () const =0 |
virtual IOResult | read (span< byte > &buffer)=0 |
virtual IOResult | write (span< byte const > buffer)=0 |
virtual IOResult | flush ()=0 |