SUMMARY:  INNER | FIELD | CONSTR | METHOD | FRIEND DETAIL:  FIELD | CONSTR | METHOD | FRIEND


Platform::Io
Enum FileMode

enum FileMode

Represents the file open mode.

Enum Field Summarycollapse
FileMode_AppendOrCreate
          Open an existing file or create a new one if does not exist.
FileMode_CreateNew
          Create a new file.
FileMode_Open
          Open an existing file.
FileMode_OpenOrCreate
          Open an existing file or create a new one if does not exist.
FileMode_Truncate
          Open an existing file and truncate its size to zero bytes.
FileMode_TruncateOrCreate
          Open an existing file or create a new one if does not exist.

 

Enum Field Detail

FileMode_AppendOrCreate

FileMode_AppendOrCreate

Open an existing file or create a new one if does not exist. If the file already exists its contents are not modified and the file position is set at the end of the file.

FileMode_CreateNew

FileMode_CreateNew

Create a new file. The file may not already exist.

FileMode_Open

FileMode_Open

Open an existing file. The file must exist.

FileMode_OpenOrCreate

FileMode_OpenOrCreate

Open an existing file or create a new one if does not exist. If the file already exists its contents are not modified and the file position is set at the beginning of the file.

FileMode_Truncate

FileMode_Truncate

Open an existing file and truncate its size to zero bytes. The file must exist.

FileMode_TruncateOrCreate

FileMode_TruncateOrCreate

Open an existing file or create a new one if does not exist. If the file already exists its contents are erased and its size is set to zero.


SUMMARY:  INNER | FIELD | CONSTR | METHOD | FRIEND DETAIL:  FIELD | CONSTR | METHOD | FRIEND