FileSys::Create( FileSysType )

Create a new FileSys object.

Virtual?

Yes

 

Class

FileSys

 

Arguments

FileSysType type

file type

Returns

FileSys *

a pointer to the new FileSys.

Notes

A FileSysType is an enum taking one of the values defined in filesys.h. The most commonly used FileSysTypes are as follows:

Argument Value Meaning

FST_TEXT

0x0001

file is text

FST_BINARY

0x0002

file is binary

FST_ATEXT

0x0011

file is text, open only for append

Example

To use Create() to create a FileSys object for a log file (text file, append-only):

FileSys *f = FileSys::Create( FST_ATEXT );