8 #ifndef NCSJPCVILIOSTREAM_H 9 #define NCSJPCVILIOSTREAM_H 11 #include <NCSJPCIOStream.h> 48 virtual CNCSError
Close();
50 virtual bool NCS_FASTCALL
Seek ();
52 virtual bool NCS_FASTCALL
Seek (INT64 offset, Origin origin = CURRENT);
54 virtual INT64 NCS_FASTCALL
Tell();
56 virtual INT64 NCS_FASTCALL
Size();
58 virtual bool NCS_FASTCALL
Read (
void* buffer, UINT32 count);
60 virtual bool NCS_FASTCALL
Write (
void* buffer, UINT32 count);
74 static unsigned short mId;
77 #endif //NCSJPCVILIOSTREAM_H Stream interface for VIL image loaders.
virtual CNCSError Close()
virtual bool NCS_FASTCALL Seek()
vil_stream * mVilStream
The stream I get all my data from (and write too)
virtual bool NCS_FASTCALL Write(void *buffer, UINT32 count)
Stream interface for VIL image loaders.
static unsigned short mId
virtual bool NCS_FASTCALL Read(void *buffer, UINT32 count)
virtual CNCSError Open(vil_stream *stream, bool bWrite=false)
Pass me the stream you want me to wrap.
vil_streampos mHomePos
This position is my home position (ie.
virtual INT64 NCS_FASTCALL Size()
Wrapper class that allows you to effectively "convert" a vil_stream to a CNCSJPCIOStream.
virtual INT64 NCS_FASTCALL Tell()