#include <datafile_inputprovider.h>
Inheritance diagram for CL_InputSource_Datafile:


Public Methods | |
| CL_InputSource_Datafile (const char *index, const char *datafile) | |
| CL_InputSource_Datafile (const CL_InputSource_Datafile *source) | |
| virtual | ~CL_InputSource_Datafile () |
| virtual void | set_system_mode () |
| virtual void | set_big_endian_mode () |
| virtual void | set_little_endian_mode () |
| virtual int | read_int32 () |
| virtual unsigned int | read_uint32 () |
| retval: The integer read. | |
| virtual short | read_short16 () |
| retval: The unsigned integer read. | |
| virtual unsigned short | read_ushort16 () |
| retval: The short read. | |
| virtual char | read_char8 () |
| retval: The unsigned short read. | |
| virtual unsigned char | read_uchar8 () |
| retval: The char read. | |
| virtual float | read_float32 () |
| retval: The unsigned char read. | |
| virtual int | read (void *data, int size) |
| retval: The float read. | |
| virtual void | open () |
| param: data - Points to an array where the read data is stored.param: size - Number of bytes to read.retval: Num bytes actually read. | |
| virtual void | close () |
| virtual CL_InputSource* | clone () const |
| virtual int | tell () const |
| virtual void | seek (int pos, SeekEnum seek_type) |
| retval: Current position in input source. | |
| virtual int | size () const |
| param: pos - Position relative to 'seek_type'.param: seek_type - Defines what the 'pos' is relative to. Can be either seek_set, seek_cur og seek_end. | |
| virtual std::string | read_string () |
| retval: Size of the input source. | |
| virtual void | push_position () |
| retval: The string read. | |
| virtual void | pop_position () |
Protected Methods | |
| void | open_index () |
| void | close_index () |
Protected Attributes | |
| std::string | filename |
| std::string | datafile |
| int | datafile_handle |
| int | objsize |
| gzFile | gzfile |
| int | index_open |
| int | datafile_open |
| std::stack<CL_Zipped_Position> | index_stack |
| int | seek_pos |
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from CL_InputSource. |
|
|
Reimplemented from CL_InputSource. |
|
|
|
|
|
param: data - Points to an array where the read data is stored.param: size - Number of bytes to read.retval: Num bytes actually read.
Reimplemented from CL_InputSource. |
|
|
|
|
|
Reimplemented from CL_InputSource. |
|
|
retval: The string read.
Reimplemented from CL_InputSource. |
|
|
retval: The float read.
Reimplemented from CL_InputSource. |
|
|
retval: The unsigned short read.
Reimplemented from CL_InputSource. |
|
|
retval: The unsigned char read.
Reimplemented from CL_InputSource. |
|
|
Reimplemented from CL_InputSource. |
|
|
retval: The unsigned integer read.
Reimplemented from CL_InputSource. |
|
|
retval: Size of the input source.
Reimplemented from CL_InputSource. |
|
|
retval: The char read.
Reimplemented from CL_InputSource. |
|
|
retval: The integer read.
Reimplemented from CL_InputSource. |
|
|
retval: The short read.
Reimplemented from CL_InputSource. |
|
|
retval: Current position in input source.
Reimplemented from CL_InputSource. |
|
|
Reimplemented from CL_InputSource. |
|
|
Reimplemented from CL_InputSource. |
|
|
Reimplemented from CL_InputSource. |
|
|
param: pos - Position relative to 'seek_type'.param: seek_type - Defines what the 'pos' is relative to. Can be either seek_set, seek_cur og seek_end.
Reimplemented from CL_InputSource. |
|
|
Reimplemented from CL_InputSource. |
|
|
Definition at line 46 of file datafile_inputprovider.h. |
|
|
Definition at line 47 of file datafile_inputprovider.h. |
|
|
Definition at line 53 of file datafile_inputprovider.h. |
|
|
Definition at line 45 of file datafile_inputprovider.h. |
|
|
Definition at line 51 of file datafile_inputprovider.h. |
|
|
Definition at line 52 of file datafile_inputprovider.h. |
|
|
Definition at line 55 of file datafile_inputprovider.h. |
|
|
Definition at line 49 of file datafile_inputprovider.h. |
|
|
Definition at line 57 of file datafile_inputprovider.h. |
1.2.6 written by Dimitri van Heesch,
© 1997-2001