NXTFileIterator Struct Reference

Abstraction for NXT iFileIterator interface. More...

#include <comm.h>

List of all members.

Public Member Functions

 NXTFileIterator ()
 The NXTFileIterator constructor.
 NXTFileIterator (nFANTOM100::iFileIterator *i)
 This constructs an NXTFileIterator from the Fantom file iterator type. Only in the Windows version.
bool isValid ()
 Checks whether or not the NXTFileIterator is valid.
int next ()
 Iterates to the next file in the NXTFileIterator.
int close ()
 Closes the NXTFileIterator.
int getFile (NXTFile &file)
 Retrieves the current file into an NXTFile type.
int getCurrFileSize ()
 Returns the size of the current file.
const char * getCurrFileName ()
 Returns the name of the current file.

Public Attributes

nFANTOM100::iFileIterator * iter
 The Fantom file iterator pointer. Only in the Windows version.


Detailed Description

Abstraction for NXT iFileIterator interface.

Definition at line 103 of file comm.h.


Constructor & Destructor Documentation

NXTFileIterator::NXTFileIterator (  )  [inline]

The NXTFileIterator constructor.

Definition at line 106 of file comm.h.

NXTFileIterator::NXTFileIterator ( nFANTOM100::iFileIterator *  i  )  [inline]

This constructs an NXTFileIterator from the Fantom file iterator type. Only in the Windows version.

Definition at line 111 of file comm.h.

References iter.


Member Function Documentation

bool NXTFileIterator::isValid (  ) 

Checks whether or not the NXTFileIterator is valid.

int NXTFileIterator::next (  ) 

Iterates to the next file in the NXTFileIterator.

int NXTFileIterator::close (  ) 

Closes the NXTFileIterator.

int NXTFileIterator::getFile ( NXTFile &  file  ) 

Retrieves the current file into an NXTFile type.

int NXTFileIterator::getCurrFileSize (  ) 

Returns the size of the current file.

const char* NXTFileIterator::getCurrFileName (  ) 

Returns the name of the current file.


Member Data Documentation

nFANTOM100::iFileIterator* NXTFileIterator::iter

The Fantom file iterator pointer. Only in the Windows version.

Definition at line 117 of file comm.h.

Referenced by NXTFileIterator().


The documentation for this struct was generated from the following file:
SourceForge.net Logo