![]() |
Zen
A cross-platform functional programming language
|
Intrinsic file type. More...
#include <zbl.hpp>
Public Member Functions | |
| file () | |
| Default constructor. | |
| file (const z::string &filename) | |
| Constructor. | |
| file (const file &src) | |
| Copy Constructor. | |
| QFile & | get () |
| Returns the stored value. | |
| void | setFileName (const z::string &filename) |
| Set filename. | |
| string | getFileName () const |
| Get file name. | |
| bool | open (int flags) |
| Open the file. | |
| void | close () |
| Close the file. | |
| bool | isOpen () const |
| Check if file is open. | |
Private Attributes | |
| QFile | _val |
| The value. | |
Intrinsic file type.
Constructor.
| filename | The file name |
| QFile& get | ( | ) | [inline] |
Returns the stored value.
| string getFileName | ( | ) | const [inline] |
Get file name.
| bool isOpen | ( | ) | const [inline] |
Check if file is open.
| bool open | ( | int | flags | ) | [inline] |
Open the file.
| flags | Open flags |
| void setFileName | ( | const z::string & | filename | ) | [inline] |
Set filename.
| filename | The filename to set |