File :: canAccess - Check file accessibility
The function checks, whether the file can be opened with the required access mode and returns false, when this is not the case.
Return value: Success ( bool )
The value is true when the function was executed successfully. Otherwise the value is set to false.
Implementation overview
- Check accessibility for selected path and access mode
File :: canAccess (  ) - Check accessibility for path and access mode
File :: canAccess ( sFilePath, eAccessMode )
Implementation details
- to list
-
Check accessibility for path and access mode
bool File  :: canAccess ( odaba::String &sFilePath, odaba::AccessModes eAccessMode )
The function checks the accessibility for the file path and access mode passed in sFilePath and eAccessMode. The passed parameter are set as file properties path and accessMode.
- sFilePath - Complete file path
- eAccessMode
- Access mode
Access mode for a property handle or database.
to list