virtual ~File(void);
/**
- * @if OSPDEPREC
+ * @cond OSPDEPREC
* Initializes this instance of %File with the specified parameters. @n
* This method opens an existing file or creates a new one according to the specified file opening mode.
*
* @remarks The following file opening mode strings are recognized by this method: "w+", "wb+", "w+b", "w", "wb", "a+",
* "ab+", "a+b", "a", "ab", "r+", "rb+", "r+b", "r", "rb". @n
* Other strings lead to E_INVALID_ARG. However, "b"(binary) open mode is ignored internally.
- * @endif
+ * @endcond
*/
result Construct(const Tizen::Base::String& filePath, const Tizen::Base::String& openMode, bool createParentDirectories);
* @exception E_SYSTEM The method cannot proceed due to a severe system error.
* @remarks The %FileLock instance is invalid if the associated %File instance is deleted. @n
* The specific error code can be accessed using the GetLastResult() method.
- * @see Tizen::Io::File::FileLockType
*/
FileLock* LockN(FileLockType lockType);
* @exception E_SYSTEM The method cannot proceed due to a severe system error.
* @remarks The %FileLock instance is invalid if the associated %File instance is deleted. @n
* The specific error code can be accessed using the GetLastResult() method.
- * @see Tizen::Io::File::FileLockType
*/
FileLock* LockN(FileLockType lockType, int offset, int length);
* @exception E_SYSTEM The method cannot proceed due to a severe system error.
* @remarks The %FileLock instance is invalid if the associated %File instance is deleted. @n
* The specific error code can be accessed using the GetLastResult() method.
- * @see Tizen::Io::File::FileLockType
*/
FileLock* TryToLockN(FileLockType lockType);
* @exception E_SYSTEM The method cannot proceed due to a severe system error.
* @remarks The %FileLock instance is invalid if the associated %File instance is deleted. @n
* The specific error code can be accessed using the GetLastResult() method.
- * @see Tizen::Io::File::FileLockType
*/
FileLock* TryToLockN(FileLockType lockType, int offset, int length);