nFileNode Class Reference
[File I/O and File System Access]
#include <nfilenode.h>
Inheritance diagram for nFileNode:

Detailed Description
An nFileNode wraps an nFile object into an nRoot subclass, and offers a script interface to the file. This is useful for script languages which don't have file system access built in (like MicroTcl). nFileNode should not be used from C++, use nFile directly for this.(C) 2003 RadonLabs GmbH
Definition at line 21 of file nfilenode.h.
Public Member Functions | |
| nFileNode () | |
| constructor | |
| virtual | ~nFileNode () |
| destructor | |
| bool | Open (const nString &fileName, const nString &accessMode) |
| open a file | |
| void | Close () |
| close file | |
| bool | IsOpen () const |
| is file open? | |
| bool | PutS (const nString &buffer) |
| write string to file | |
Constructor & Destructor Documentation
|
|
constructor
Definition at line 15 of file nfilenode_main.cc. |
|
|
destructor
Definition at line 24 of file nfilenode_main.cc. |
Member Function Documentation
|
||||||||||||
|
open a file
Definition at line 36 of file nfilenode_main.cc. |
|
|
close file
Definition at line 54 of file nfilenode_main.cc. |
|
|
is file open?
Definition at line 66 of file nfilenode_main.cc. |
|
|
write string to file
Definition at line 75 of file nfilenode_main.cc. |
The documentation for this class was generated from the following files: