company logo

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

Implementation details

  1. Get access mode
    odaba::AccessModes File  :: accessMode (  )

    The function returns the access mode for the file.

  2. to list
  3. 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.

  4. to list