#include <comm.h>
Public Member Functions | |
| NXTFile () | |
| The NXTFile constructor. | |
| NXTFile (nFANTOM100::iFile *f) | |
| This constructs an NXTFile from the Fantom file type. Only in the Windows version. | |
| bool | isValid () |
| int | open (int mode, int size=100) |
| int | remove () |
| int | read (char *buff, int size) |
| int | write (char *buff, int size) |
| int | close () |
Public Attributes | |
| char * | name |
| The name of the file. | |
| int | size |
| The size in bytes of the file. | |
| int | asize |
| The size in bytes of available space in the file. | |
| int | mode |
| The mode the file is currently in. | |
| bool | isOpen |
| Whether the file is open or not. | |
| bool | isWriteable |
| Whether the file is writeable or not. | |
| nFANTOM100::iFile * | file |
| The Fantom file pointer. Only in the Windows version. | |
Definition at line 45 of file comm.h.
| NXTFile::NXTFile | ( | ) | [inline] |
| NXTFile::NXTFile | ( | nFANTOM100::iFile * | f | ) | [inline] |
| bool NXTFile::isValid | ( | ) |
| int NXTFile::open | ( | int | mode, | |
| int | size = 100 | |||
| ) |
| int NXTFile::remove | ( | ) |
| int NXTFile::read | ( | char * | buff, | |
| int | size | |||
| ) |
| int NXTFile::write | ( | char * | buff, | |
| int | size | |||
| ) |
| int NXTFile::close | ( | ) |
| char* NXTFile::name |
| int NXTFile::size |
| int NXTFile::asize |
| int NXTFile::mode |
| bool NXTFile::isOpen |
| bool NXTFile::isWriteable |
| nFANTOM100::iFile* NXTFile::file |