NDir Class Reference

NDir is utility class for directory navigation. More...

Inheritance diagram for NDir:

NObject

List of all members.

Public Member Functions

 NDir (const NString &name)
 Constructs a NDir object.
 ~NDir (void)
 Destroys a NDir object.
NList< NStringgetContents (void) const
 Get directory contents.
NString getName (void) const
 Get directory name.


Detailed Description

NDir is utility class for directory navigation.
Examples:

ex_ndir.cpp.

Definition at line 44 of file ndir.h.


Constructor & Destructor Documentation

NDir ( const NString name  ) 

Constructs a NDir object.

Parameters:
name Directory name (path)

Definition at line 24 of file ndir.cpp.

References NException::BASEIO, NIOException::FILE, and NString::toChar().


Member Function Documentation

NList< NString > getContents ( void   )  const

Get directory contents.

Returns:
A NList<NString> object with the directory contents
Examples:
ex_ndir.cpp.

Definition at line 83 of file ndir.cpp.

NString getName ( void   )  const

Get directory name.

Returns:
The directory name

Definition at line 88 of file ndir.cpp.


The documentation for this class was generated from the following files:
Generated on Wed Mar 5 23:10:36 2008 for NemesisUtilitiesSystem by  doxygen 1.5.4