Overview   Project   Class   Tree   Index 
NXT C++ Bluetooth Library
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

NXT C++ Bluetooth Library
Enum File_mode

   in filesystem.h

Enumeration for file modes when opening a file

See Also:
Filesystem::open

Field Summary
APPEND = 0x01
          append data to the file (if files does not exist a new file is created)
READ = 0x00
          Open the file for reading
WRITE = 0x02
          create and write data to a file (before closing the file it must be filled with data otherwise it will be deleted)
WRITE_LINEAR = 0x03
          create and write data to a linear non-fragmented file - should be used with "ric"(picture) and "rxe"(program) files (before closing the file it must be filled with data otherwise it will be deleted)
WRITE_LINEAR_DATA = 0x04
          create and write data to a linear non-fragmented data file (before closing the file it must be filled with data otherwise it will be deleted)
 

Field Detail

APPEND

public APPEND = 0x01
append data to the file (if files does not exist a new file is created)

READ

public READ = 0x00
Open the file for reading

WRITE

public WRITE = 0x02
create and write data to a file (before closing the file it must be filled with data otherwise it will be deleted)

WRITE_LINEAR

public WRITE_LINEAR = 0x03
create and write data to a linear non-fragmented file - should be used with "ric"(picture) and "rxe"(program) files (before closing the file it must be filled with data otherwise it will be deleted)

WRITE_LINEAR_DATA

public WRITE_LINEAR_DATA = 0x04
create and write data to a linear non-fragmented data file (before closing the file it must be filled with data otherwise it will be deleted)

 Overview   Project   Class   Tree   Index 
NXT C++ Bluetooth Library
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD