#include <file_inputprovider.h>
Inheritance diagram for CL_InputSource_File:


Public Methods | |
| CL_InputSource_File (const char *filename) | |
| CL_InputSource_File (const CL_InputSource_File *source) | |
| virtual | ~CL_InputSource_File () |
| 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 Attributes | |
| std::stack<int> | stack |
| std::string | filename |
| FILE* | filehandle |
| int | filesize |
|
|
|
|
|
|
|
|
|
|
|
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 45 of file file_inputprovider.h. |
|
|
Definition at line 44 of file file_inputprovider.h. |
|
|
Definition at line 46 of file file_inputprovider.h. |
|
|
Definition at line 43 of file file_inputprovider.h. |
1.2.6 written by Dimitri van Heesch,
© 1997-2001