6 #ifndef INCLUDED_IMF_IO_H
7 #define INCLUDED_IMF_IO_H
44 IMF_EXPORT virtual bool isMemoryMapped ()
const;
56 virtual bool read (
char c[],
int n) = 0;
69 IMF_EXPORT virtual char* readMemoryMapped (
int n);
77 virtual uint64_t tellg () = 0;
84 virtual void seekg (uint64_t pos) = 0;
102 IStream (
const IStream&) =
delete;
103 IStream&
operator= (
const IStream&) =
delete;
131 virtual void write (
const char c[],
int n) = 0;
140 virtual uint64_t tellp () = 0;
147 virtual void seekp (uint64_t pos) = 0;
159 OStream (
const OStream&) =
delete;
160 OStream&
operator= (
const OStream&) =
delete;
180 return is.
read (c, n);
static void writeChars(OStream &os, const char c[], int n)
#define OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT
GLsizei const GLchar *const * string
static bool readChars(IStream &is, char c[], int n)
virtual void write(const char c[], int n)=0
virtual bool read(char c[], int n)=0
static bool readChars(const char *&ip, char c[], int n)
static void writeChars(char *&op, const char c[], int n)
class IMF_EXPORT_TYPE OStream
LeafData & operator=(const LeafData &)=delete
#define OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
class IMF_EXPORT_TYPE IStream