18#ifndef included_Retro_Rw11VirtStream
19#define included_Retro_Rw11VirtStream 1
35 virtual bool Open(
const std::string& url,
RerrMsg& emsg);
36 int Read(uint8_t* data,
size_t count,
RerrMsg& emsg);
37 bool Write(
const uint8_t* data,
size_t count,
RerrMsg& emsg);
44 virtual void Dump(std::ostream& os,
int ind=0,
const char* text=0,
47 static std::unique_ptr<Rw11VirtStream>
New(
const std::string& url,
bool fIStream
is input (read only) stream
bool fOStream
is output (write only) stream
bool Write(const uint8_t *data, size_t count, RerrMsg &emsg)
FIXME_docs.
int Read(uint8_t *data, size_t count, RerrMsg &emsg)
FIXME_docs.
int Tell(RerrMsg &emsg)
FIXME_docs.
static std::unique_ptr< Rw11VirtStream > New(const std::string &url, Rw11Unit *punit, RerrMsg &emsg)
FIXME_docs.
virtual void Dump(std::ostream &os, int ind=0, const char *text=0, int detail=0) const
FIXME_docs.
~Rw11VirtStream()
Destructor.
bool Flush(RerrMsg &emsg)
FIXME_docs.
bool Eof() const
FIXME_docs.
bool Error() const
FIXME_docs.
bool Seek(int pos, RerrMsg &emsg)
FIXME_docs.
virtual bool Open(const std::string &url, RerrMsg &emsg)
FIXME_docs.
Declaration of class ReventLoop.