Logo Search packages:      
Sourcecode: passage version File versions  Download package

File Class Reference

#include <File.h>

List of all members.

Detailed Description

File interface. Provides access to information about a file.

Jason Rohrer

Definition at line 112 of file File.h.

Public Member Functions

void copy (File *inDestination, long inBlockSize=5000)
Filecopy ()
char exists ()
 File (Path *inPath, char *inName, int inNameLength=-1)
FilegetChildFile (char *inChildFileName)
File ** getChildFiles (int *outNumFiles)
File ** getChildFilesRecursive (int inDepthLimit, int *outNumFiles)
char * getFileName (int *outLength=NULL)
char * getFullFileName (int *outLength=NULL)
long getLength ()
unsigned long getModificationTime ()
FilegetParentDirectory ()
char isDirectory ()
char makeDirectory ()
char * readFileContents ()
char remove ()
char writeToFile (char *inString)

Private Member Functions

void getChildFilesRecursive (int inDepthLimit, SimpleVector< File * > *inResultVector)

Private Attributes

char * mName
int mNameLength

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

Generated by  Doxygen 1.6.0   Back to index