BinaryFile :: BinaryFile - Constructor
The constructor creates a file object without opening the file. The file is opened implicitly when being accessed and was not opened before.
Implementation overview
- Create file with path and access mode
BinaryFile :: BinaryFile ( sFilePath, eAccessMode ) - Create empty file
BinaryFile :: BinaryFile (  ) - Create file with path in read-only mode
BinaryFile :: BinaryFile ( sFilePath )
Implementation details
-
Create file with path and access mode
BinaryFile  :: BinaryFile ( odaba::String &sFilePath, odaba::AccessModes eAccessMode )
- sFilePath - Complete file path
- eAccessMode
- Access mode
Access mode for a property handle or database.
to list
-
Create empty file
BinaryFile  :: BinaryFile (  )
In order to access the file, path and accessMode have to be set later on.
to list
-
Create file with path in read-only mode
BinaryFile  :: BinaryFile ( odaba::String &sFilePath )
- sFilePath - Complete file path
to list