virtual ~Database(void);
/**
- * @{
* @if OSPDEPREC
* Initializes this instance of %Database with the specified parameters. @n
* This method creates a new database file or opens an existing database file in the read-write mode.
* use the Database::Construct(const Tizen::Base::String& dbPath, const char* pOpenMode) method
* with "r" as the value for the open mode flag.
* @endif
- * @}
*/
result Construct(const Tizen::Base::String& dbPath, bool createIfNotExist);
/**
- * @{
* @if OSPDEPREC
* Initializes this instance of %Database with the specified parameters. @n
* This method creates a new database file or opens an existing database file in the read-only or the read-write mode.
* - An unexpected device failure has occurred as the media ejected suddenly. @n
* - %File corruption is detected.
* @endif
- * @}
*/
result Construct(const Tizen::Base::String& dbPath, long openMode, long option);
virtual ~File(void);
/**
- * @{
* @if 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.
* "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
- * @}
*/
result Construct(const Tizen::Base::String& filePath, const Tizen::Base::String& openMode, bool createParentDirectories);
virtual ~Registry(void);
/**
- * @{
* @if OSPDEPREC
* Initializes this instance of %Registry with the specified parameters. @n
* This method loads a registry file in the read-write mode.
* @remarks To load the registry in read-only mode, use the Registry::Construct(const Tizen::Base::String& regPath,
* long openMode, long option) method with REG_OPEN_READ_ONLY as a value for the open mode flag.
* @endif
- * @}
*/
result Construct(const Tizen::Base::String& regPath, bool createIfNotExist);
/**
- * @{
* @if OSPDEPREC
* Initializes this instance of %Registry with the specified parameters. @n
* This method loads a registry file in the read-only or the read-write mode.
* @exception E_INVALID_FORMAT The input registry file contains '0x00' in the middle of the file.
* @exception E_PARSING_FAILED The method has failed to parse the registry file.
* @endif
- * @}
*/
result Construct(const Tizen::Base::String& regPath, long openMode, long option);