| Qore Programming Language Reference Manual 2.2.0

Loading...
Searching...
No Matches
ql_misc.dox.h
1
3 namespace Qore {
5
7 struct UrlInfo {
9 string host;
11 string password;
13 string path;
15 int port;
17 string protocol;
19 string query;
21 string username;
22};
23}
24
26 namespace Qore {
31
33
51nothing remove_signal_handler(softint signal);
52
54
75nothing set_signal_handler(softint signal, code f);
76
78}
79
81 namespace Qore {
86
88
110 string backquote(string cmd, *reference<int> rc);
111
113
120nothing backquote();
121
123
140 auto call_builtin_function(string name, ...);
141
143
160 auto call_builtin_function_args(string name, *softlist<auto> vargs);
161
163
185 auto call_function(string name, ...);
186
188
205 auto call_function(code f, ...);
206
208
230 auto call_function_args(string name, *softlist<auto> vargs);
231
233
250 auto call_function_args(code f, *softlist<auto> vargs);
251
253
292 string decode_uri_request(string uri);
293
295
314 string decode_url(string url);
315
317
321nothing decode_url();
322
324
364 string encode_uri_request(string url);
365
367
392 string encode_url(string url, softbool encode_all = False);
393
395
407 bool exists( ...);
408
410
419 bool existsFunction(string name);
420
422
433 bool existsFunction(code c);
434
436
440nothing existsFunction();
441
443
457 bool exists_function(string name);
458
460
471 bool exists_function(code c);
472
474
482*string functionType(string name);
483
485
489nothing functionType();
490
492
502*string function_type(string name);
503
505
518*int getByte(string str, softint offset = 0);
519
521
525nothing getByte();
526
528
541*int getByte(binary b, softint offset = 0);
542
544
552 string getClassName(object obj);
553
555
559nothing getClassName();
560
562
571 list<string> getFeatureList();
572
574
595 hash<string,hash<auto>> getModuleHash();
596
598
619 list<hash<auto>> getModuleList();
620
622
636*int getWord32(string str, softint offset = 0);
637
639
653*int getWord32(binary b, softint offset = 0);
654
656
660nothing getWord32();
661
663
679*int get_byte(string str, softint offset = 0);
680
682
698*int get_byte(binary b, softint offset = 0);
699
701
727code get_call_reference(string identifier);
728
730
745 string get_class_name(object obj);
746
748
755 string get_default_encoding();
756
758
776 string get_ex_pos(hash<auto> ex);
777
779
790 list<string> get_feature_list();
791
793
807 hash<auto> get_global_vars();
808
810
831 hash<auto> get_local_vars(int frame);
832
834
844*string get_module_context_name();
845
847
859 string get_module_context_name_ex();
860
862
872*string get_module_context_path();
873
875
887 string get_module_context_path_ex();
888
890
911 hash<string,hash<auto>> get_module_hash();
912
914
937 list<hash<auto>> get_module_list();
938
940
960 auto get_module_option(string module, string option);
961
963
975 int get_parse_options();
976
978
1000 hash<auto> get_qore_library_info();
1001
1003
1021 hash<string,hash<auto>> get_qore_option_hash();
1022
1024
1040 list<hash<auto>> get_qore_option_list();
1041
1043
1049 string get_safe_url(string url);
1050
1052
1059*string get_script_dir();
1060
1062
1069*string get_script_name();
1070
1072
1079*string get_script_path();
1080
1082
1099*int get_word_16(string str, softint offset = 0);
1100
1102
1119*int get_word_16(binary b, softint offset = 0);
1120
1122
1139*int get_word_16_lsb(string str, softint offset = 0);
1140
1142
1159*int get_word_16_lsb(binary b, softint offset = 0);
1160
1162
1181*int get_word_32(string str, softint offset = 0);
1182
1184
1203*int get_word_32(binary b, softint offset = 0);
1204
1206
1225*int get_word_32_lsb(string str, softint offset = 0);
1226
1228
1245*int get_word_32_lsb(binary b, softint offset = 0);
1246
1248
1265*int get_word_64(string str, softint offset = 0);
1266
1268
1285*int get_word_64(binary b, softint offset = 0);
1286
1288
1305*int get_word_64_lsb(string str, softint offset = 0);
1306
1308
1325*int get_word_64_lsb(binary b, softint offset = 0);
1326
1328
1342 bool has_key(hash<auto> h, string key);
1343
1345
1354 bool has_key(object obj, string key);
1355
1357
1373 list<auto> hash_values(hash<auto> h);
1374
1376
1380nothing hash_values();
1381
1383
1394 int hextoint(string str);
1395
1397
1401nothing hextoint();
1402
1404
1420 string html_decode(string str);
1421
1423
1427nothing html_decode();
1428
1430
1446 string html_encode(string str);
1447
1449
1453nothing html_encode();
1454
1456
1481nothing load_module(string name, int warning_mask = WARN_MODULES);
1482
1484
1491nothing load_module();
1492
1494
1519*hash<ExceptionInfo> load_module_warn(string name, int warning_mask = WARN_MODULES);
1520
1522
1539nothing load_user_module_with_program(string name, Qore::Program pgm);
1540
1542
1560 string makeBase64String(string str, softint maxlinelen = -1);
1561
1563
1581 string makeBase64String(binary bin, softint maxlinelen = -1);
1582
1584
1588nothing makeBase64String();
1589
1591
1605 string makeHexString(string str);
1606
1608
1622 string makeHexString(binary bin);
1623
1625
1629nothing makeHexString();
1630
1632
1653 string make_base64_string(string str, softint maxlinelen = -1);
1654
1656
1677 string make_base64_string(binary bin, softint maxlinelen = -1);
1678
1680
1699 string make_base64_url_string(string str);
1700
1702
1721 string make_base64_url_string(binary bin);
1722
1724
1743 string make_hex_string(string str);
1744
1746
1765 string make_hex_string(binary bin);
1766
1768
1793*hash<auto> parse(string code, string label, *softint warning_mask, *string source, *softint offset, softbool format_label = True);
1794
1796
1803nothing parse();
1804
1806
1823 binary parseBase64String(string str);
1824
1826
1830nothing parseBase64String();
1831
1833
1853 string parseBase64StringToString(string str, *string encoding);
1854
1856
1860nothing parseBase64StringToString();
1861
1863
1878 binary parseHexString(string hexstr);
1879
1881
1885nothing parseHexString();
1886
1888
1928*hash<UrlInfo> parseURL(string url, bool keep_brackets = False);
1929
1931
1935nothing parseURL();
1936
1938
1960 binary parse_base64_string(string str);
1961
1963
1988 string parse_base64_string_to_string(string str, *string encoding);
1989
1991
2012 binary parse_base64_url_string(string str);
2013
2015
2037 string parse_base64_url_string_to_string(string str, *string encoding);
2038
2040
2060 binary parse_hex_string(string hexstr);
2061
2063
2103 hash<UrlInfo> parse_url(string url, bool keep_brackets);
2104
2106
2145 hash<UrlInfo> parse_url(string url, *int options);
2146
2148
2169nothing reload_module(string name);
2170
2172
2188nothing set_global_var_value(string name, auto value);
2189
2191
2211nothing set_local_var_value(int frame, string var, auto value);
2212
2214
2230nothing set_module_option(string module, string option, auto value);
2231
2233
2247 set_return_value(auto val);
2248
2250
2259 string splice(string str);
2260
2262
2276 string splice(string str, softint start);
2277
2279
2295 string splice(string str, softint start, softint len, *string nstr);
2296
2298
2310 list<auto> splice(list<auto> l, softint start);
2311
2313
2328 list<auto> splice(list<auto> l, softint start, softint len);
2329
2331
2347 list<auto> splice(list<auto> l, softint start, softint len, softlist<auto> nlist);
2348
2350
2354nothing splice();
2355
2357
2369 int strtoint(string num, softint base = 10);
2370
2372
2376nothing strtoint();
2377
2379}
2380
2382 namespace Qore {
2388
2390 const QURL_DECODE = QURL_DECODE;
2392 const QURL_DECODE_PATH = QURL_DECODE_PATH;
2394
2397 const QURL_KEEP_BRACKETS = QURL_KEEP_BRACKETS;
2399
2401 const QURL_MAINTAIN_CASE = QURL_MAINTAIN_CASE;
2403}
2404
2406 namespace Qore {
2414
2416
2418 const CE_ALL = CE_ALL;
2420
2426 const CE_HTML = CE_HTML;
2428
2432 const CE_NONASCII = CE_NONASCII;
2434
2438 const CE_XHTML = CE_XHTML;
2440
2451 const CE_XML = CE_XML;
2453}
2454
2456 namespace Qore {
2464
2466
2468 const CD_ALL = CD_ALL;
2470
2476 const CD_HTML = CD_HTML;
2478
2480 const CD_NUM_REF = CD_NUM_REF;
2482
2486 const CD_XHTML = CD_XHTML;
2488
2499 const CD_XML = CD_XML;
2501}
2502
2504 namespace Qore {
2509
2511 const NameToSignal = (
2512 "SIGABRT": SIGABRT,
2513 "SIGALRM": SIGALRM,
2514 "SIGBUS": SIGBUS,
2515 "SIGCANCEL": SIGCANCEL,
2516 "SIGCHLD": SIGCHLD,
2517 "SIGCLD": SIGCLD,
2518 "SIGCONT": SIGCONT,
2519 "SIGEMT": SIGEMT,
2520 "SIGFPE": SIGFPE,
2521 "SIGFREEZE": SIGFREEZE,
2522 "SIGHUP": SIGHUP,
2523 "SIGILL": SIGILL,
2524 "SIGINFO": SIGINFO,
2525 "SIGINT": SIGINT,
2526 "SIGIO": SIGIO,
2527 "SIGIOT": SIGIOT,
2528 "SIGJVM1": SIGJVM1,
2529 "SIGJVM2": SIGJVM2,
2530 "SIGKILL": SIGKILL,
2531 "SIGLOST": SIGLOST,
2532 "SIGLWP": SIGLWP,
2533 "SIGPIPE": SIGPIPE,
2534 "SIGPOLL": SIGPOLL,
2535 "SIGPROF": SIGPROF,
2536 "SIGPWR": SIGPWR,
2537 "SIGQUIT": SIGQUIT,
2538 "SIGSEGV": SIGSEGV,
2539 "SIGSTKFLT": SIGSTKFLT,
2540 "SIGSTOP": SIGSTOP,
2541 "SIGSYS": SIGSYS,
2542 "SIGTERM": SIGTERM,
2543 "SIGTHAW": SIGTHAW,
2544 "SIGTRAP": SIGTRAP,
2545 "SIGTSTP": SIGTSTP,
2546 "SIGTTIN": SIGTTIN,
2547 "SIGTTOU": SIGTTOU,
2548 "SIGURG": SIGURG,
2549 "SIGUSR1": SIGUSR1,
2550 "SIGUSR2": SIGUSR2,
2551 "SIGVTALRM": SIGVTALRM,
2552 "SIGWAITING": SIGWAITING,
2553 "SIGWINCH": SIGWINCH,
2554 "SIGXCPU": SIGXCPU,
2555 "SIGXFSZ": SIGXFSZ,
2556 "SIGXRES": SIGXRES,
2557);
2559 const SIGABRT = SIGABRT;
2561 const SIGALRM = SIGALRM;
2563 const SIGBUS = SIGBUS;
2565 const SIGCANCEL = SIGCANCEL;
2567 const SIGCHLD = SIGCHLD;
2569 const SIGCLD = SIGCLD;
2571 const SIGCONT = SIGCONT;
2573 const SIGEMT = SIGEMT;
2575 const SIGFPE = SIGFPE;
2577 const SIGFREEZE = SIGFREEZE;
2579 const SIGHUP = SIGHUP;
2581 const SIGILL = SIGILL;
2583 const SIGINFO = SIGINFO;
2585 const SIGINT = SIGINT;
2587 const SIGIO = SIGIO;
2589 const SIGIOT = SIGIOT;
2591 const SIGJVM1 = SIGJVM1;
2593 const SIGJVM2 = SIGJVM2;
2595 const SIGKILL = SIGKILL;
2597 const SIGLOST = SIGLOST;
2599 const SIGLWP = SIGLWP;
2601 const SIGPIPE = SIGPIPE;
2603 const SIGPOLL = SIGPOLL;
2605 const SIGPROF = SIGPROF;
2607 const SIGPWR = SIGPWR;
2609 const SIGQUIT = SIGQUIT;
2611 const SIGSEGV = SIGSEGV;
2613 const SIGSTKFLT = SIGSTKFLT;
2615 const SIGSTOP = SIGSTOP;
2617 const SIGSYS = SIGSYS;
2619 const SIGTERM = SIGTERM;
2621 const SIGTHAW = SIGTHAW;
2623 const SIGTRAP = SIGTRAP;
2625 const SIGTSTP = SIGTSTP;
2627 const SIGTTIN = SIGTTIN;
2629 const SIGTTOU = SIGTTOU;
2631 const SIGURG = SIGURG;
2633 const SIGUSR1 = SIGUSR1;
2635 const SIGUSR2 = SIGUSR2;
2637 const SIGVTALRM = SIGVTALRM;
2639 const SIGWAITING = SIGWAITING;
2641 const SIGWINCH = SIGWINCH;
2643 const SIGXCPU = SIGXCPU;
2645 const SIGXFSZ = SIGXFSZ;
2647 const SIGXRES = SIGXRES;
2649 const SignalToName = (
2650 SIGABRT: "SIGABRT",
2651 SIGALRM: "SIGALRM",
2652 SIGBUS: "SIGBUS",
2653 SIGCANCEL: "SIGCANCEL",
2654 SIGCHLD: "SIGCHLD",
2655 SIGCONT: "SIGCONT",
2656 SIGEMT: "SIGEMT",
2657 SIGFPE: "SIGFPE",
2658 SIGFREEZE: "SIGFREEZE",
2659 SIGHUP: "SIGHUP",
2660 SIGILL: "SIGILL",
2661 SIGINFO: "SIGINFO",
2662 SIGINT: "SIGINT",
2663 SIGIO: "SIGIO",
2664 SIGIOT: "SIGIOT",
2665 SIGJVM1: "SIGJVM1",
2666 SIGJVM2: "SIGJVM2",
2667 SIGKILL: "SIGKILL",
2668 SIGLOST: "SIGLOST",
2669 SIGLWP: "SIGLWP",
2670 SIGPIPE: "SIGPIPE",
2671 SIGPOLL: "SIGPOLL",
2672 SIGPROF: "SIGPROF",
2673 SIGPWR: "SIGPWR",
2674 SIGQUIT: "SIGQUIT",
2675 SIGSEGV: "SIGSEGV",
2676 SIGSTKSZ: "SIGSTKSZ",
2677 SIGSTOP: "SIGSTOP",
2678 SIGSYS: "SIGSYS",
2679 SIGTERM: "SIGTERM",
2680 SIGTHAW: "SIGTHAW",
2681 SIGTRAP: "SIGTRAP",
2682 SIGTSTP: "SIGTSTP",
2683 SIGTTIN: "SIGTTIN",
2684 SIGTTOU: "SIGTTOU",
2685 SIGURG: "SIGURG",
2686 SIGUSR1: "SIGUSR1",
2687 SIGUSR2: "SIGUSR2",
2688 SIGVTALRM: "SIGVTALRM",
2689 SIGWAITING: "SIGWAITING",
2690 SIGWINCH: "SIGWINCH",
2691 SIGXCPU: "SIGXCPU",
2692 SIGXFSZ: "SIGXFSZ",
2693 SIGXRES: "SIGXRES",
2694);
2696}
Qore::Program
Program objects allow Qore programs to support subprograms with the option to restrict capabilities,...
Definition QC_Program.dox.h:56
Qore::CD_XML
const CD_XML
code for decoding XML entities
Definition ql_misc.dox.h:2499
Qore::CD_ALL
const CD_ALL
code for decoding everything
Definition ql_misc.dox.h:2468
Qore::CD_XHTML
const CD_XHTML
code for decoding XHTML named character references to symbols
Definition ql_misc.dox.h:2486
Qore::CD_NUM_REF
const CD_NUM_REF
code for decoding numeric character references to symbols
Definition ql_misc.dox.h:2480
Qore::CD_HTML
const CD_HTML
code for decoding HTML 5 named character references to their native symbols
Definition ql_misc.dox.h:2476
Qore::CE_ALL
const CE_ALL
code for encoding everything
Definition ql_misc.dox.h:2418
Qore::CE_HTML
const CE_HTML
code for encoding HTML 5 symbols as named character references
Definition ql_misc.dox.h:2426
Qore::CE_NONASCII
const CE_NONASCII
code for encoding all non-ASCII symbols as numeric character references
Definition ql_misc.dox.h:2432
Qore::CE_XHTML
const CE_XHTML
code for encoding XHTML entities
Definition ql_misc.dox.h:2438
Qore::CE_XML
const CE_XML
code for encoding XML entities
Definition ql_misc.dox.h:2451
Qore::True
const True
logical True
Definition qc_qore.dox.h:98
Qore::False
const False
logical False
Definition qc_qore.dox.h:96
Qore::parse_base64_string_to_string
string parse_base64_string_to_string(string str, *string encoding)
Parses a base64 encoded string and returns a string of the decoded data.
Qore::get_module_context_name_ex
string get_module_context_name_ex()
Returns the name of the module currently being loaded.
Qore::parseBase64String
nothing parseBase64String()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
Qore::getWord32
nothing getWord32()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
Qore::get_qore_option_hash
hash< string, hash< auto > > get_qore_option_hash()
Returns a hash of hashes giving information about Qore library options for the current build.
Qore::get_safe_url
string get_safe_url(string url)
Returns the URL string passed without any password information.
Qore::call_function_args
auto call_function_args(string name, *softlist< auto > vargs)
Calls a function and returns the return value, using the optional second argument as a list of argume...
Qore::parse_url
hash< UrlInfo > parse_url(string url, bool keep_brackets)
Parses a URL string and returns a hash of the components.
Qore::makeBase64String
nothing makeBase64String()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
Qore::backquote
nothing backquote()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
Qore::set_local_var_value
nothing set_local_var_value(int frame, string var, auto value)
sets the value of the given local variable; if the variable cannot be found an exception is raised
Qore::function_type
*string function_type(string name)
Returns "builtin" (for a builtin function), "user" (for a user function), or NOTHING (if the function...
Qore::get_byte
*int get_byte(string str, softint offset=0)
Returns the byte value at the given byte offset (the first value is at offset 0) or NOTHING if the of...
Qore::strtoint
nothing strtoint()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
Qore::get_module_option
auto get_module_option(string module, string option)
returns the given global module option
Qore::html_encode
nothing html_encode()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
Qore::get_word_32_lsb
*int get_word_32_lsb(string str, softint offset=0)
Returns the 32-bit integer value at the given 4-byte offset (the first value is at offset 0) or NOTHI...
Qore::call_builtin_function
auto call_builtin_function(string name,...)
Calls a function and returns the return value, passing the remaining arguments after the function nam...
Qore::decode_url
nothing decode_url()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
Qore::get_local_vars
hash< auto > get_local_vars(int frame)
retrieves a hash of local variables for the given stack frame
Qore::parse_base64_string
binary parse_base64_string(string str)
Parses a base64 encoded string and returns a binary object of the decoded data.
Qore::load_module
nothing load_module()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
Qore::exists_function
bool exists_function(string name)
Returns True if the function exists in the current program's function name space.
Qore::get_script_path
*string get_script_path()
Returns the path (directory and filename) of the current script or NOTHING if unknown (i....
Qore::get_script_dir
*string get_script_dir()
Returns the name of the directory from which the current script was executed or NOTHING if unknown (i...
Qore::get_module_context_path
*string get_module_context_path()
Returns the path of the module currently being loaded, if any.
Qore::getFeatureList
list< string > getFeatureList()
Returns a list of strings of the builtin and module-supplied features of Qore.
Qore::call_builtin_function_args
auto call_builtin_function_args(string name, *softlist< auto > vargs)
Calls a function and returns the return value, using the optional second argument as a list of argume...
Qore::parse_base64_url_string_to_string
string parse_base64_url_string_to_string(string str, *string encoding)
Parses a base64-url-encoded string and returns a string of the decoded data.
Qore::set_return_value
set_return_value(auto val)
sets the return value for a Program object when running with %exec-class
Qore::hextoint
nothing hextoint()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
Qore::parse_base64_url_string
binary parse_base64_url_string(string str)
Parses a base64-url-encoded string and returns a binary object of the decoded data.
Qore::load_module_warn
*hash< ExceptionInfo > load_module_warn(string name, int warning_mask=WARN_MODULES)
Loads in a Qore module at run-time.
Qore::get_word_16
*int get_word_16(string str, softint offset=0)
Returns the 16-bit integer value at the given 2-byte offset (the first value is at offset 0) or NOTHI...
Qore::get_module_list
list< hash< auto > > get_module_list()
Returns a list of hashes describing the currently-loaded Qore modules.
Qore::load_user_module_with_program
nothing load_user_module_with_program(string name, Qore::Program pgm)
Loads in a Qore user module at run-time with using the given Program object as the container for the ...
Qore::encode_url
string encode_url(string url, softbool encode_all=False)
Encodes URLs by substituting '%' with '%25', spaces (' ') with '%20', '"' with '%22',...
Qore::parseHexString
nothing parseHexString()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
Qore::getClassName
nothing getClassName()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
Qore::get_parse_options
int get_parse_options()
returns the current parse options for the current Program object
Qore::get_call_reference
code get_call_reference(string identifier)
resolve the string as a call reference
Qore::parse
nothing parse()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
Qore::has_key
bool has_key(hash< auto > h, string key)
Returns True if the given key exists in the hash (does not necessarily have to have a value assigned)...
Qore::hash_values
nothing hash_values()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
Qore::splice
nothing splice()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
Qore::get_qore_option_list
list< hash< auto > > get_qore_option_list()
Returns a list of hashes giving information about Qore library options for the current build.
Qore::call_function
auto call_function(string name,...)
Calls a function and returns the return value, passing the remaining arguments after the function nam...
Qore::reload_module
nothing reload_module(string name)
Reloads an already-loaded Qore module subject to code injection at run-time into Qore; the module's c...
Qore::parseBase64StringToString
nothing parseBase64StringToString()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
Qore::get_word_16_lsb
*int get_word_16_lsb(string str, softint offset=0)
Returns the 16-bit integer value at the given 2-byte offset (the first value is at offset 0) or NOTHI...
Qore::make_base64_string
string make_base64_string(string str, softint maxlinelen=-1)
Returns a base64-encoded representation of a string.
Qore::get_default_encoding
string get_default_encoding()
Returns the name of the default character encoding.
Qore::set_module_option
nothing set_module_option(string module, string option, auto value)
set the given module option
Qore::get_module_hash
hash< string, hash< auto > > get_module_hash()
Returns a hash of hashes describing the currently-loaded Qore modules; the top-level hash keys are th...
Qore::get_feature_list
list< string > get_feature_list()
Returns a list of strings of the builtin and module-supplied features of Qore.
Qore::get_class_name
string get_class_name(object obj)
Returns the class name of the object passed.
Qore::get_ex_pos
string get_ex_pos(hash< auto > ex)
returns a descriptive string for an exception location; the source and offset information will also b...
Qore::get_module_context_name
*string get_module_context_name()
Returns the name of the module currently being loaded, if any.
Qore::get_module_context_path_ex
string get_module_context_path_ex()
Returns the path of the module currently being loaded.
Qore::getModuleHash
hash< string, hash< auto > > getModuleHash()
Returns a hash of hashes describing the currently-loaded Qore modules; the top-level hash keys are th...
Qore::make_base64_url_string
string make_base64_url_string(string str)
Returns a base64-url-encoded representation of a string.
Qore::get_word_64_lsb
*int get_word_64_lsb(string str, softint offset=0)
Returns the 64-bit integer value at the given 8-byte offset (the first value is at offset 0) or NOTHI...
Qore::existsFunction
nothing existsFunction()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
Qore::makeHexString
nothing makeHexString()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
Qore::getModuleList
list< hash< auto > > getModuleList()
Returns a list of hashes describing the currently-loaded Qore modules.
Qore::get_global_vars
hash< auto > get_global_vars()
returns a hash of global variables
Qore::encode_uri_request
string encode_uri_request(string url)
Encodes URI requests by substituting special characters in the path with percent-encoded equivalents ...
Qore::exists
bool exists(...)
A function performing the same role as the exists operator.
Qore::parseURL
nothing parseURL()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
Qore::html_decode
nothing html_decode()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
Qore::get_script_name
*string get_script_name()
Returns the filename of the current script if known or NOTHING if unknown (i.e. no parent script,...
Qore::get_word_64
*int get_word_64(string str, softint offset=0)
Returns the 64-bit integer value at the given 8-byte offset (the first value is at offset 0) or NOTHI...
Qore::getByte
nothing getByte()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
Qore::get_qore_library_info
hash< auto > get_qore_library_info()
Returns a hash of library build and version info.
Qore::get_word_32
*int get_word_32(string str, softint offset=0)
Returns the 32-bit integer value at the given 4-byte offset (the first value is at offset 0) or NOTHI...
Qore::make_hex_string
string make_hex_string(string str)
Returns a hex-encoded representation of a string.
Qore::set_global_var_value
nothing set_global_var_value(string name, auto value)
set the value of a global variable
Qore::parse_hex_string
binary parse_hex_string(string hexstr)
Parses a hex-encoded string and returns the binary object.
Qore::functionType
nothing functionType()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
Qore::decode_uri_request
string decode_uri_request(string uri)
Decodes percent-encoded codes in a URI path and converts "+" signs in the query component to spaces a...
Qore::QURL_KEEP_BRACKETS
const QURL_KEEP_BRACKETS
If the hostname or address is enclosed in square brackets, the brackets will be included in the "host...
Definition ql_misc.dox.h:2397
Qore::QURL_MAINTAIN_CASE
const QURL_MAINTAIN_CASE
Do not convert the protocol (scheme) to lower case when parsing URLs.
Definition ql_misc.dox.h:2401
Qore::QURL_DECODE
const QURL_DECODE
Perform percent decoding on the "host", "username", and "password" fields.
Definition ql_misc.dox.h:2390
Qore::QURL_DECODE_PATH
const QURL_DECODE_PATH
Decodes all fields like QURL_DECODE plus also performs percent decoding on "path" and "query" fields.
Definition ql_misc.dox.h:2392
Qore::SIGUSR1
const SIGUSR1
SIGUSR1.
Definition ql_misc.dox.h:2633
Qore::SIGXRES
const SIGXRES
SIGXRES.
Definition ql_misc.dox.h:2647
Qore::SIGALRM
const SIGALRM
SIGALRM.
Definition ql_misc.dox.h:2561
Qore::SIGHUP
const SIGHUP
SIGHUP.
Definition ql_misc.dox.h:2579
Qore::SIGTTOU
const SIGTTOU
SIGTTOU.
Definition ql_misc.dox.h:2629
Qore::SIGLWP
const SIGLWP
SIGLWP.
Definition ql_misc.dox.h:2599
Qore::SIGCHLD
const SIGCHLD
SIGCHLD.
Definition ql_misc.dox.h:2567
Qore::SIGSYS
const SIGSYS
SIGSYS.
Definition ql_misc.dox.h:2617
Qore::SIGPOLL
const SIGPOLL
SIGPOLL.
Definition ql_misc.dox.h:2603
Qore::SIGABRT
const SIGABRT
SIGABRT.
Definition ql_misc.dox.h:2559
Qore::SIGWAITING
const SIGWAITING
SIGWAITING.
Definition ql_misc.dox.h:2639
Qore::SIGVTALRM
const SIGVTALRM
SIGVTALRM.
Definition ql_misc.dox.h:2637
Qore::SIGTSTP
const SIGTSTP
SIGTSTP.
Definition ql_misc.dox.h:2625
Qore::SIGXFSZ
const SIGXFSZ
SIGXFSZ.
Definition ql_misc.dox.h:2645
Qore::SIGBUS
const SIGBUS
SIGBUS.
Definition ql_misc.dox.h:2563
Qore::SIGSTKFLT
const SIGSTKFLT
SIGSTKFLT.
Definition ql_misc.dox.h:2613
Qore::SIGPIPE
const SIGPIPE
SIGPIPE.
Definition ql_misc.dox.h:2601
Qore::SIGPROF
const SIGPROF
SIGPROF.
Definition ql_misc.dox.h:2605
Qore::SIGILL
const SIGILL
SIGILL.
Definition ql_misc.dox.h:2581
Qore::SIGCLD
const SIGCLD
SIGCLD.
Definition ql_misc.dox.h:2569
Qore::SIGURG
const SIGURG
SIGURG.
Definition ql_misc.dox.h:2631
Qore::SIGTRAP
const SIGTRAP
SIGTRAP.
Definition ql_misc.dox.h:2623
Qore::SIGTHAW
const SIGTHAW
SIGTHAW.
Definition ql_misc.dox.h:2621
Qore::SIGCANCEL
const SIGCANCEL
SIGCANCEL.
Definition ql_misc.dox.h:2565
Qore::SIGSTOP
const SIGSTOP
SIGSTOP.
Definition ql_misc.dox.h:2615
Qore::SIGWINCH
const SIGWINCH
SIGWINCH.
Definition ql_misc.dox.h:2641
Qore::SIGEMT
const SIGEMT
SIGEMT.
Definition ql_misc.dox.h:2573
Qore::SIGINFO
const SIGINFO
SIGINFO.
Definition ql_misc.dox.h:2583
Qore::SIGFPE
const SIGFPE
SIGFPE.
Definition ql_misc.dox.h:2575
Qore::SIGLOST
const SIGLOST
SIGLOST.
Definition ql_misc.dox.h:2597
Qore::NameToSignal
const NameToSignal
maps signal names to signal values
Definition ql_misc.dox.h:2511
Qore::SIGKILL
const SIGKILL
SIGKILL.
Definition ql_misc.dox.h:2595
Qore::SignalToName
const SignalToName
maps signal numbers (as a string key) to the symbolic name for the signal
Definition ql_misc.dox.h:2649
Qore::SIGQUIT
const SIGQUIT
SIGQUIT.
Definition ql_misc.dox.h:2609
Qore::SIGIOT
const SIGIOT
SIGIOT.
Definition ql_misc.dox.h:2589
Qore::SIGTERM
const SIGTERM
SIGTERM.
Definition ql_misc.dox.h:2619
Qore::SIGTTIN
const SIGTTIN
SIGTTIN.
Definition ql_misc.dox.h:2627
Qore::SIGUSR2
const SIGUSR2
SIGUSR2.
Definition ql_misc.dox.h:2635
Qore::SIGCONT
const SIGCONT
SIGCONT.
Definition ql_misc.dox.h:2571
Qore::SIGIO
const SIGIO
SIGIO.
Definition ql_misc.dox.h:2587
Qore::SIGXCPU
const SIGXCPU
SIGXCPU.
Definition ql_misc.dox.h:2643
Qore::SIGSEGV
const SIGSEGV
SIGSEGV.
Definition ql_misc.dox.h:2611
Qore::SIGJVM1
const SIGJVM1
SIGJVM1.
Definition ql_misc.dox.h:2591
Qore::SIGFREEZE
const SIGFREEZE
SIGFREEZE.
Definition ql_misc.dox.h:2577
Qore::SIGINT
const SIGINT
SIGINT.
Definition ql_misc.dox.h:2585
Qore::SIGJVM2
const SIGJVM2
SIGJVM2.
Definition ql_misc.dox.h:2593
Qore::SIGPWR
const SIGPWR
SIGPWR.
Definition ql_misc.dox.h:2607
Qore::set_signal_handler
nothing set_signal_handler(softint signal, code f)
Sets or replaces a signal handler according to the signal number and closure or call reference (funct...
Qore::remove_signal_handler
nothing remove_signal_handler(softint signal)
Removes a signal handler and returns the signal handling state to the default.
Qore::hash
hash< auto > hash(object obj)
Returns a hash of an object's members.
Qore::list
list< auto > list(...)
Returns a list of the arguments passed at the top level.
Qore::binary
binary binary()
Always returns an empty binary object (of zero length)
Qore::WARN_MODULES
const WARN_MODULES
The default warning mask for user modules.
Definition QC_Program.dox.h:2170
Qore
main Qore-language namespace
Definition Pseudo_QC_All.dox.h:3
Qore::UrlInfo
a hash describing a parsed URL
Definition ql_misc.dox.h:7
Qore::UrlInfo::host
string host
the hostname given in the URL string, if any
Definition ql_misc.dox.h:9
Qore::UrlInfo::path
string path
the path given in the URL string, if present
Definition ql_misc.dox.h:13
Qore::UrlInfo::username
string username
the username of the URL, if present
Definition ql_misc.dox.h:21
Qore::UrlInfo::password
string password
the password given in the URL, if any
Definition ql_misc.dox.h:11
Qore::UrlInfo::query
string query
the query part of the URL (i.e. text after any '?' char), if present
Definition ql_misc.dox.h:19
Qore::UrlInfo::port
int port
the port number given in the URL string, if any
Definition ql_misc.dox.h:15
Qore::UrlInfo::protocol
string protocol
the scheme or protocol of the URL, if present
Definition ql_misc.dox.h:17