|
MrSID Decode SDK for Raster Reference Manual 9.5.5.5244
|
File stream. More...
#include <lt_ioFileStream.h>


Public Member Functions | |
Construction, destruction, initialization | |
| LTIOFileStream (void) | |
| Default Constructor. More... | |
| virtual | ~LTIOFileStream (void) |
| Destructor. More... | |
| virtual LT_STATUS | initialize (const LTFileSpec &fs, const char *mode) |
| Initializes the stream from a file spec. More... | |
| LT_STATUS | initialize (const char *path, const char *mode) |
| Default Constructor. More... | |
| virtual bool | isEOF () |
| Default Constructor. More... | |
| virtual bool | isOpen () |
| Default Constructor. More... | |
| virtual LT_STATUS | open () |
| Default Constructor. More... | |
| virtual LT_STATUS | close () |
| Default Constructor. More... | |
| virtual lt_uint32 | read (lt_uint8 *pDest, lt_uint32 numBytes) |
| Default Constructor. More... | |
| virtual lt_uint32 | write (const lt_uint8 *pSrc, lt_uint32 numBytes) |
| Default Constructor. More... | |
| virtual LT_STATUS | seek (lt_int64 offset, LTIOSeekDir origin) |
| Default Constructor. More... | |
| virtual lt_int64 | tell () |
| Default Constructor. More... | |
| virtual LTIOStreamInf * | duplicate () |
| Default Constructor. More... | |
| virtual LT_STATUS | getLastError () const |
| Default Constructor. More... | |
| virtual const char * | getID () const |
| Default Constructor. More... | |
Public Member Functions inherited from LTIOStreamInf | |
| virtual | ~LTIOStreamInf ()=0 |
| virtual char * | readString (int delimiter='\0') |
| read a delimiter-terminated string More... | |
Status accessors | |
| FILE * | m_file |
| Returns underlying stdio error code. More... | |
| bool | m_onceOpened |
| Returns underlying stdio error code. More... | |
| enum LTIOFileStream:: { ... } | m_state |
| Returns underlying stdio error code. More... | |
| LTFileSpec | m_path |
| Returns underlying stdio error code. More... | |
| char * | m_mode |
| Returns underlying stdio error code. More... | |
| char * | m_uri |
| Returns underlying stdio error code. More... | |
| int | stdio_ferror () |
| Returns underlying stdio error code. More... | |
| void | stdio_clearerr () |
| Clears underlying stdio error code. More... | |
| int | stdio_setvbuf (lt_uint8 *buf, lt_uint32 mode, lt_uint32 size) |
| Set buffering - may be called only after open() but before the first read/write operation. More... | |
This class implements a file-based stream.
Definition at line 34 of file lt_ioFileStream.h.
|
protected |
| Enumerator | |
|---|---|
| unknown_state | |
| reading_state | |
| writing_state | |
Definition at line 119 of file lt_ioFileStream.h.
| LTIOFileStream::LTIOFileStream | ( | void | ) |
|
virtual |
|
virtual |
Implements LTIOStreamInf.
|
virtual |
Implements LTIOStreamInf.
|
virtual |
Implements LTIOStreamInf.
|
virtual |
Implements LTIOStreamInf.
| LT_STATUS LTIOFileStream::initialize | ( | const char * | path, |
| const char * | mode | ||
| ) |
|
virtual |
| fs | file spec |
| mode | mode (see stdio.h) |
|
virtual |
Implements LTIOStreamInf.
|
virtual |
Implements LTIOStreamInf.
|
virtual |
Implements LTIOStreamInf.
Implements LTIOStreamInf.
|
virtual |
Implements LTIOStreamInf.
| void LTIOFileStream::stdio_clearerr | ( | ) |
| int LTIOFileStream::stdio_ferror | ( | ) |
| buf | buffer to use; if nullptr then one is allocated |
| mode | one of the following: _IONBF (unbuffered) _IOLBF (line buffered) _IOFBF (fully buffered) |
| size | size of buffer |
|
virtual |
Implements LTIOStreamInf.
Implements LTIOStreamInf.
|
protected |
Definition at line 115 of file lt_ioFileStream.h.
|
protected |
Definition at line 127 of file lt_ioFileStream.h.
|
protected |
Definition at line 116 of file lt_ioFileStream.h.
|
protected |
Definition at line 126 of file lt_ioFileStream.h.
| enum { ... } LTIOFileStream::m_state |
|
protected |
Definition at line 128 of file lt_ioFileStream.h.
| Extensis |