Potato Engine
Hobby Game Engine Project
Public Member Functions | List of all members
up::Stream::Backend Class Referenceabstract

Public Member Functions

 Backend (Backend const &)=delete
 
Backendoperator= (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
 

The documentation for this class was generated from the following file: