newspeoplefor developersdocumentationdownloads

nFileNode Class Reference
[File I/O and File System Access]

#include <nfilenode.h>

Inheritance diagram for nFileNode:

nRoot nObject nNode nReferenced nSignalEmitter List of all members.

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

nFileNode::nFileNode  ) 
 

constructor

Definition at line 15 of file nfilenode_main.cc.

nFileNode::~nFileNode  )  [virtual]
 

destructor

Definition at line 24 of file nfilenode_main.cc.


Member Function Documentation

bool nFileNode::Open const nString fileName,
const nString accessMode
 

open a file

Definition at line 36 of file nfilenode_main.cc.

void nFileNode::Close  ) 
 

close file

Definition at line 54 of file nfilenode_main.cc.

bool nFileNode::IsOpen  )  const
 

is file open?

Definition at line 66 of file nfilenode_main.cc.

bool nFileNode::PutS const nString buffer  ) 
 

write string to file

Definition at line 75 of file nfilenode_main.cc.


The documentation for this class was generated from the following files:

Copyright © 1999-2005 by the contributing authors. Ideas, requests, problems: Send feedback.