File :: accessMode - Access mode
The access mode property defines the way the file will be accessed. Opening a file with Read or Write access mode, last position is set to 0. Opening the file with Update , last position is at end of file, i.e. file will be appended.
Return value: Access mode ( odaba::AccessModes )
Access mode for a property handle or database.
Implementation overview
- Get access mode
File :: accessMode (  ) - Change access mode
File :: accessMode ( eAccessMode )
Implementation details
-
Get access mode
odaba::AccessModes File  :: accessMode (  )
The function returns the access mode for the file.
to list
-
Change access mode
odaba::AccessModes File  :: accessMode ( odaba::AccessModes eAccessMode )
The function allows changing the access mode. When changing the access mode for an open file, the file will be closed and re-opened with the new access mode settings. In order to check, whether opening the file has succeeded, isOpen() may be called.
- eAccessMode
- Access mode
Access mode for a property handle or database.
to list
- eAccessMode
- Access mode