API Reference > Namespaces > Oda Namespace > Structs, Records, Enums > Oda::FileAccessMode Enumeration
Oda::FileAccessMode Enumeration
Syntax
C++
enum FileAccessMode { kFileRead = (long)0x80000000, kFileWrite = 0x40000000, kFileTmp = 0x20000000, kFileDelete = 0x10000000, kNoFlushWhenClosed = 0x08000000 };

RxSystemServices.h

Members 
Description 
kFileRead = (long)0x80000000 
Read access. Use kFileRead | kFileWrite for read/write access. 
kFileWrite = 0x40000000 
Write access. Use kFileRead | kFileWrite for read/write access. 
kFileTmp = 0x20000000 
hint to use FILE_ATTRIBUTE_TEMPORARY for 'FlagsAndAttributes 
kFileDelete = 0x10000000 
hint to use FILE_FLAG_DELETE_ON_CLOSE for 'FlagsAndAttributes 
kNoFlushWhenClosed = 0x08000000 
do NOT call FlushFileBuffers when closing file (tremendously accelerates writing small files) 

This is record Oda::FileAccessMode.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.