ICPlus | classes |
class ICFile | ^ |
Icon Plus file input/output.
The ICFile class creates and manages a file.
- Source:
- ../ic_file.h:56
- Author:
- Dmitry A Steklenev
- Version:
- unknown
Contents | ^ |
Entity Type Scope Short Description ICFile constructor public Constructs the file object. ~ICFile destructor public Destructs the file object. open_for_read method public Opens file for reading. open_for_write method public Opens file for writing. close method public Close open file. is_open method public Returns true if file is open. read_byte method public Reads one byte. read_int16 method public Reads 16-bit big-endian integer. read_int24 method public Reads 24-bit big-endian integer. read_int32 method public Reads 32-bit big-endian integer. write_byte method public Write one byte. write_int16 method public Write 16-bit big-endian integer. write_int24 method public Write 24-bit big-endian integer. write_int32 method public Write 32-bit big-endian integer. name method public Returns the file name. seek method public Changes the current file position. tell method public Returns the current file position.
constructor ICFile | ? ^ > |
Constructs the file object.
- Source:
- ../ic_file.h:59
- Code:
public ICFile ( const char * filename , const char * path = 0 )
destructor ~ICFile | ? ^ < > |
Destructs the file object.
- Source:
- ../ic_file.h:61
- Code:
public ~ ICFile ( )
method open_for_read | ? ^ < > |
Opens file for reading.
- Source:
- ../ic_file.h:65
- Code:
public int open_for_read ( )
method open_for_write | ? ^ < > |
Opens file for writing.
- Source:
- ../ic_file.h:67
- Code:
public int open_for_write ( )
method close | ? ^ < > |
Close open file.
- Source:
- ../ic_file.h:69
- Code:
public int close ( )
method is_open | ? ^ < > |
Returns true if file is open.
- Source:
- ../ic_file.h:71
- Code:
public int is_open ( ) const
method read_byte | ? ^ < > |
Reads one byte.
- Source:
- ../ic_file.h:75
- Code:
public BYTE read_byte ( )
method read_int16 | ? ^ < > |
Reads 16-bit big-endian integer.
- Source:
- ../ic_file.h:77
- Code:
public UINT16 read_int16 ( )
method read_int24 | ? ^ < > |
Reads 24-bit big-endian integer.
- Source:
- ../ic_file.h:79
- Code:
public UINT32 read_int24 ( )
method read_int32 | ? ^ < > |
Reads 32-bit big-endian integer.
- Source:
- ../ic_file.h:81
- Code:
public UINT32 read_int32 ( )
method write_byte | ? ^ < > |
Write one byte.
- Source:
- ../ic_file.h:84
- Code:
public void write_byte ( BYTE )
method write_int16 | ? ^ < > |
Write 16-bit big-endian integer.
- Source:
- ../ic_file.h:86
- Code:
public void write_int16 ( UINT16 )
method write_int24 | ? ^ < > |
Write 24-bit big-endian integer.
- Source:
- ../ic_file.h:88
- Code:
public void write_int24 ( UINT32 )
method write_int32 | ? ^ < > |
Write 32-bit big-endian integer.
- Source:
- ../ic_file.h:90
- Code:
public void write_int32 ( UINT32 )
method name | ? ^ < > |
Returns the file name.
- Source:
- ../ic_file.h:94
- Code:
public const char * name ( ) const
method seek | ? ^ < > |
Changes the current file position.
- Source:
- ../ic_file.h:96
- Code:
public long seek ( long offset )
method tell | ? ^ < > |
Returns the current file position.
- Source:
- ../ic_file.h:98
- Code:
public long tell ( )
Created Wed Jul 10 21:27:42 2002.
This documentation was generated automatically by
ccdoc v0.8 r26 2001/11/28 bin_opt_emx_os2-2.30.
Click here to submit a bug report or feature request.
Click here to return to the top of the page.