![]() |
Zen
A cross-platform functional programming language
|
Intrinsic application type. More...
#include <zbl.hpp>
Public Member Functions | |
| application (int argc, char *argv[]) | |
| Default constructor. | |
Static Public Member Functions | |
| static z::string | path () |
| Get the application path. | |
| static z::string | getEnv (const z::string &key, const z::string &val=z::string("")) |
| Get an environment variable. | |
Intrinsic application type.
| application | ( | int | argc, |
| char * | argv[] | ||
| ) | [inline] |
Default constructor.
| argc | Count of arguments |
| argv | Argument values |
| static z::string getEnv | ( | const z::string & | key, |
| const z::string & | val = z::string("") |
||
| ) | [inline, static] |
Get an environment variable.
| key | The environment value name |
| val | The default value |
| static z::string path | ( | ) | [inline, static] |
Get the application path.