Virtual U.org
Get Personal Training on VU Today
    
Top shadow
 
 register/help
User Name:

Password:

Directory class Reference
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

Directory Class Reference

Utility class for directory. More...

#include <ODIR.H>

Inheritance diagram for Directory:

DynArray List of all members.

Public Methods

 Directory ()
int read (char *, int=0)
FileInfooperator[] (int recNo)

Detailed Description

Utility class for directory.

Definition at line 27 of file ODIR.H.


Constructor & Destructor Documentation

Directory::Directory  
 

Definition at line 15 of file ODIR.CPP.


Member Function Documentation

FileInfo* Directory::operator[] int    recNo [inline]
 

Definition at line 32 of file ODIR.H.

References DynArray::get().

int Directory::read char *    fileSpec,
int    sortName = 0
 

Read in the file list of the specified file spec.

<char*> fileSpec = the file spec of the directory [int] sortName = sort the file list by file name (default : 0)

return : <int> the no. of files matched the file spec.

Definition at line 30 of file ODIR.CPP.


The documentation for this class was generated from the following files:
Generated on Fri Aug 23 01:39:05 2002 for VirtualU by doxygen1.2.17