The SCR_FileWrapper class is base class to TemporaryFile and PermanentFile.
More...
#include <fileinterface.h>
bool SCR_FileWrapper::close |
( |
| ) |
|
|
slot |
Close file stream.
- Returns
- Sucess/Failure of operation
bool SCR_FileWrapper::exists |
( |
| ) |
|
|
slot |
Verify if file exists on disk.
- Returns
- exists on disk
String SCR_FileWrapper::extension |
( |
| ) |
|
|
slot |
Retrieve file extension.
- Returns
- extension String
bool SCR_FileWrapper::isClose |
( |
| ) |
|
|
slot |
Check if file is closed.
- Returns
- stream status
bool SCR_FileWrapper::isOpen |
( |
| ) |
|
|
slot |
Check if file is opened.
- Returns
- stream status
Open file stream for read/write.
- Parameters
-
- Returns
- Success/Failure of operation
String SCR_FileWrapper::path |
( |
| ) |
|
|
slot |
Retrieve file path.
- Returns
- full path String
String SCR_FileWrapper::read |
( |
| ) |
|
|
slot |
Read entire content of stream.
- Returns
- String
String SCR_FileWrapper::readLine |
( |
| ) |
|
|
slot |
Read single line of stream.
- Returns
- String
Specify absolute path of this image file. Name of file can be changed only if there is an open stream.
- Parameters
-
path | Absolute path String of image file |
- Returns
- TemporaryFile reference
void SCR_FileWrapper::write |
( |
String & |
text | ) |
|
|
slot |
Write string in current stream.
- Parameters
-
Write entire content of parameter file in current stream.
- Parameters
-
void SCR_FileWrapper::writeLine |
( |
String & |
text | ) |
|
|
slot |
Write string line in current stream.
- Parameters
-
The documentation for this class was generated from the following file: