- wxFile
Default constructor.
- Attach
Attaches an existing file descriptor to the wxFile object.
- ClearLastError
Resets the error code.
- Close
Closes the file.
- Create
Creates a file for writing.
- Detach
Get back a file descriptor from wxFile object - the caller is responsible for closing the file if this descriptor is opened.
- Eof
Returns true if the end of the file has been reached.
- Flush
Flushes the file descriptor.
- GetKind
Returns the type of the file.
- GetLastError
Returns the error code for the last unsuccessful operation.
- IsOpened
Returns true if the file has been opened.
- Length
Returns the length of the file.
- Open
Opens the file, returning true if successful.
- Seek
Seeks to the specified position.
- SeekEnd
Moves the file pointer to the specified number of bytes relative to the end of the file.
- Tell
Returns the current position or wxInvalidOffset if file is not opened or if another error occurred.
- Write
Write data to the file (descriptor).
- fd
Returns the file descriptor associated with the file.