$darkmode
Qore Programming Language Reference Manual 1.14.0
ql_misc.dox.h
1
3namespace Qore {
5
7struct 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
26namespace Qore {
31
33
51nothing remove_signal_handler(softint signal);
52
54
75nothing set_signal_handler(softint signal, code f);
76
78}
79
81namespace Qore {
86
88
110string backquote(string cmd, *reference<int> rc);
111
113
120nothing backquote();
121
123
140auto call_builtin_function(string name, ...);
141
143
160auto call_builtin_function_args(string name, *softlist<auto> vargs);
161
163
185auto call_function(string name, ...);
186
188
205auto call_function(code f, ...);
206
208
230auto call_function_args(string name, *softlist<auto> vargs);
231
233
250auto call_function_args(code f, *softlist<auto> vargs);
251
253
282string decode_uri_request(string uri);
283
285
304string decode_url(string url);
305
307
311nothing decode_url();
312
314
345string encode_uri_request(string url);
346
348
368string encode_url(string url, softbool encode_all = False);
369
371
383bool exists( ...);
384
386
395bool existsFunction(string name);
396
398
409bool existsFunction(code c);
410
412
417
419
433bool exists_function(string name);
434
436
447bool exists_function(code c);
448
450
458*string functionType(string name);
459
461
465nothing functionType();
466
468
478*string function_type(string name);
479
481
494*int getByte(string str, softint offset = 0);
495
497
501nothing getByte();
502
504
517*int getByte(binary b, softint offset = 0);
518
520
528string getClassName(object obj);
529
531
535nothing getClassName();
536
538
547list<string> getFeatureList();
548
550
570hash<string,hash<auto>> getModuleHash();
571
573
593list<hash<auto>> getModuleList();
594
596
610*int getWord32(string str, softint offset = 0);
611
613
627*int getWord32(binary b, softint offset = 0);
628
630
634nothing getWord32();
635
637
653*int get_byte(string str, softint offset = 0);
654
656
672*int get_byte(binary b, softint offset = 0);
673
675
701code get_call_reference(string identifier);
702
704
719string get_class_name(object obj);
720
722
730
732
750string get_ex_pos(hash<auto> ex);
751
753
764list<string> get_feature_list();
765
767
781hash<auto> get_global_vars();
782
784
805hash<auto> get_local_vars(int frame);
806
808
828hash<string,hash<auto>> get_module_hash();
829
831
853list<hash<auto>> get_module_list();
854
856
876auto get_module_option(string module, string option);
877
879
892
894
917
919
937hash<string,hash<auto>> get_qore_option_hash();
938
940
956list<hash<auto>> get_qore_option_list();
957
959
965string get_safe_url(string url);
966
968
976
978
986
988
996
998
1015*int get_word_16(string str, softint offset = 0);
1016
1018
1035*int get_word_16(binary b, softint offset = 0);
1036
1038
1055*int get_word_16_lsb(string str, softint offset = 0);
1056
1058
1075*int get_word_16_lsb(binary b, softint offset = 0);
1076
1078
1097*int get_word_32(string str, softint offset = 0);
1098
1100
1119*int get_word_32(binary b, softint offset = 0);
1120
1122
1141*int get_word_32_lsb(string str, softint offset = 0);
1142
1144
1161*int get_word_32_lsb(binary b, softint offset = 0);
1162
1164
1181*int get_word_64(string str, softint offset = 0);
1182
1184
1201*int get_word_64(binary b, softint offset = 0);
1202
1204
1221*int get_word_64_lsb(string str, softint offset = 0);
1222
1224
1241*int get_word_64_lsb(binary b, softint offset = 0);
1242
1244
1258bool has_key(hash<auto> h, string key);
1259
1261
1270bool has_key(object obj, string key);
1271
1273
1289list<auto> hash_values(hash<auto> h);
1290
1292
1296nothing hash_values();
1297
1299
1310int hextoint(string str);
1311
1313
1317nothing hextoint();
1318
1320
1336string html_decode(string str);
1337
1339
1343nothing html_decode();
1344
1346
1362string html_encode(string str);
1363
1365
1369nothing html_encode();
1370
1372
1397nothing load_module(string name, int warning_mask = WARN_MODULES);
1398
1400
1407nothing load_module();
1408
1410
1435*hash<ExceptionInfo> load_module_warn(string name, int warning_mask = WARN_MODULES);
1436
1438
1456
1458
1476string makeBase64String(string str, softint maxlinelen = -1);
1477
1479
1497string makeBase64String(binary bin, softint maxlinelen = -1);
1498
1500
1505
1507
1521string makeHexString(string str);
1522
1524
1539
1541
1546
1548
1569string make_base64_string(string str, softint maxlinelen = -1);
1570
1572
1593string make_base64_string(binary bin, softint maxlinelen = -1);
1594
1596
1615string make_hex_string(string str);
1616
1618
1638
1640
1665*hash<auto> parse(string code, string label, *softint warning_mask, *string source, *softint offset, softbool format_label = True);
1666
1668
1675nothing parse();
1676
1678
1696
1698
1703
1705
1725string parseBase64StringToString(string str, *string encoding);
1726
1728
1733
1735
1750binary parseHexString(string hexstr);
1751
1753
1758
1760
1800*hash<UrlInfo> parseURL(string url, bool keep_brackets = False);
1801
1803
1807nothing parseURL();
1808
1810
1833
1835
1860string parse_base64_string_to_string(string str, *string encoding);
1861
1863
1884
1886
1926hash<UrlInfo> parse_url(string url, bool keep_brackets);
1927
1929
1968hash<UrlInfo> parse_url(string url, *int options);
1969
1971
1992nothing reload_module(string name);
1993
1995
2011nothing set_global_var_value(string name, auto value);
2012
2014
2034nothing set_local_var_value(int frame, string var, auto value);
2035
2037
2053nothing set_module_option(string module, string option, auto value);
2054
2056
2071
2073
2082string splice(string str);
2083
2085
2099string splice(string str, softint start);
2100
2102
2118string splice(string str, softint start, softint len, *string nstr);
2119
2121
2133list<auto> splice(list<auto> l, softint start);
2134
2136
2151list<auto> splice(list<auto> l, softint start, softint len);
2152
2154
2170list<auto> splice(list<auto> l, softint start, softint len, softlist<auto> nlist);
2171
2173
2177nothing splice();
2178
2180
2192int strtoint(string num, softint base = 10);
2193
2195
2199nothing strtoint();
2200
2202}
2203
2205namespace Qore {
2211
2217
2222}
2223
2225namespace Qore {
2233
2235
2239
2247
2253
2259
2272}
2273
2275namespace Qore {
2283
2285
2289
2297
2301
2307
2320}
2321
2323namespace Qore {
2328
2331 "SIGABRT": SIGABRT,
2332 "SIGALRM": SIGALRM,
2333 "SIGBUS": SIGBUS,
2334 "SIGCANCEL": SIGCANCEL,
2335 "SIGCHLD": SIGCHLD,
2336 "SIGCLD": SIGCLD,
2337 "SIGCONT": SIGCONT,
2338 "SIGEMT": SIGEMT,
2339 "SIGFPE": SIGFPE,
2340 "SIGFREEZE": SIGFREEZE,
2341 "SIGHUP": SIGHUP,
2342 "SIGILL": SIGILL,
2343 "SIGINFO": SIGINFO,
2344 "SIGINT": SIGINT,
2345 "SIGIO": SIGIO,
2346 "SIGIOT": SIGIOT,
2347 "SIGJVM1": SIGJVM1,
2348 "SIGJVM2": SIGJVM2,
2349 "SIGKILL": SIGKILL,
2350 "SIGLOST": SIGLOST,
2351 "SIGLWP": SIGLWP,
2352 "SIGPIPE": SIGPIPE,
2353 "SIGPOLL": SIGPOLL,
2354 "SIGPROF": SIGPROF,
2355 "SIGPWR": SIGPWR,
2356 "SIGQUIT": SIGQUIT,
2357 "SIGSEGV": SIGSEGV,
2358 "SIGSTKFLT": SIGSTKFLT,
2359 "SIGSTOP": SIGSTOP,
2360 "SIGSYS": SIGSYS,
2361 "SIGTERM": SIGTERM,
2362 "SIGTHAW": SIGTHAW,
2363 "SIGTRAP": SIGTRAP,
2364 "SIGTSTP": SIGTSTP,
2365 "SIGTTIN": SIGTTIN,
2366 "SIGTTOU": SIGTTOU,
2367 "SIGURG": SIGURG,
2368 "SIGUSR1": SIGUSR1,
2369 "SIGUSR2": SIGUSR2,
2370 "SIGVTALRM": SIGVTALRM,
2371 "SIGWAITING": SIGWAITING,
2372 "SIGWINCH": SIGWINCH,
2373 "SIGXCPU": SIGXCPU,
2374 "SIGXFSZ": SIGXFSZ,
2375 "SIGXRES": SIGXRES,
2376 );
2406 const SIGIO = SIGIO;
2469 SIGABRT: "SIGABRT",
2470 SIGALRM: "SIGALRM",
2471 SIGBUS: "SIGBUS",
2472 SIGCANCEL: "SIGCANCEL",
2473 SIGCHLD: "SIGCHLD",
2474 SIGCONT: "SIGCONT",
2475 SIGEMT: "SIGEMT",
2476 SIGFPE: "SIGFPE",
2477 SIGFREEZE: "SIGFREEZE",
2478 SIGHUP: "SIGHUP",
2479 SIGILL: "SIGILL",
2480 SIGINFO: "SIGINFO",
2481 SIGINT: "SIGINT",
2482 SIGIO: "SIGIO",
2483 SIGIOT: "SIGIOT",
2484 SIGJVM1: "SIGJVM1",
2485 SIGJVM2: "SIGJVM2",
2486 SIGKILL: "SIGKILL",
2487 SIGLOST: "SIGLOST",
2488 SIGLWP: "SIGLWP",
2489 SIGPIPE: "SIGPIPE",
2490 SIGPOLL: "SIGPOLL",
2491 SIGPROF: "SIGPROF",
2492 SIGPWR: "SIGPWR",
2493 SIGQUIT: "SIGQUIT",
2494 SIGSEGV: "SIGSEGV",
2495 SIGSTKSZ: "SIGSTKSZ",
2496 SIGSTOP: "SIGSTOP",
2497 SIGSYS: "SIGSYS",
2498 SIGTERM: "SIGTERM",
2499 SIGTHAW: "SIGTHAW",
2500 SIGTRAP: "SIGTRAP",
2501 SIGTSTP: "SIGTSTP",
2502 SIGTTIN: "SIGTTIN",
2503 SIGTTOU: "SIGTTOU",
2504 SIGURG: "SIGURG",
2505 SIGUSR1: "SIGUSR1",
2506 SIGUSR2: "SIGUSR2",
2507 SIGVTALRM: "SIGVTALRM",
2508 SIGWAITING: "SIGWAITING",
2509 SIGWINCH: "SIGWINCH",
2510 SIGXCPU: "SIGXCPU",
2511 SIGXFSZ: "SIGXFSZ",
2512 SIGXRES: "SIGXRES",
2513);
2515}
Program objects allow Qore programs to support subprograms with the option to restrict capabilities,...
Definition: QC_Program.dox.h:56
const CD_XML
code for decoding XML entities
Definition: ql_misc.dox.h:2318
const CD_ALL
code for decoding everything
Definition: ql_misc.dox.h:2287
const CD_XHTML
code for decoding XHTML named character references to symbols
Definition: ql_misc.dox.h:2305
const CD_NUM_REF
code for decoding numeric character references to symbols
Definition: ql_misc.dox.h:2299
const CD_HTML
code for decoding HTML 5 named character references to their native symbols
Definition: ql_misc.dox.h:2295
const CE_ALL
code for encoding everything
Definition: ql_misc.dox.h:2237
const CE_HTML
code for encoding HTML 5 symbols as named character references
Definition: ql_misc.dox.h:2245
const CE_NONASCII
code for encoding all non-ASCII symbols as numeric character references
Definition: ql_misc.dox.h:2251
const CE_XHTML
code for encoding XHTML entities
Definition: ql_misc.dox.h:2257
const CE_XML
code for encoding XML entities
Definition: ql_misc.dox.h:2270
const True
logical True
Definition: qc_qore.dox.h:98
const False
logical False
Definition: qc_qore.dox.h:96
string parse_base64_string_to_string(string str, *string encoding)
Parses a base64 encoded string and returns a string of the decoded data.
hash< string, hash< auto > > get_qore_option_hash()
Returns a hash of hashes giving information about Qore library options for the current build.
string get_safe_url(string url)
Returns the URL string passed without any password information.
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...
hash< UrlInfo > parse_url(string url, bool keep_brackets)
Parses a URL string and returns a hash of the components.
binary parseBase64String(string str)
Parses a base64 encoded string and returns a binary object of the decoded data.
string parseBase64StringToString(string str, *string encoding)
Parses a base64 encoded string and returns a string of the decoded data.
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
*string function_type(string name)
Returns "builtin" (for a builtin function), "user" (for a user function), or NOTHING (if the function...
*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...
auto get_module_option(string module, string option)
returns the given global module option
*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...
auto call_builtin_function(string name,...)
Calls a function and returns the return value, passing the remaining arguments after the function nam...
string makeBase64String(string str, softint maxlinelen=-1)
Returns a base64-encoded representation of a string.
hash< auto > get_local_vars(int frame)
retrieves a hash of local variables for the given stack frame
binary parse_base64_string(string str)
Parses a base64 encoded string and returns a binary object of the decoded data.
bool exists_function(string name)
Returns True if the function exists in the current program's function name space.
*int getByte(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...
string splice(string str)
This function always returns an empty string "".
*string get_script_path()
Returns the path (directory and filename) of the current script or NOTHING if unknown (i....
string getClassName(object obj)
Returns the class name of the object passed.
*string get_script_dir()
Returns the name of the directory from which the current script was executed or NOTHING if unknown (i...
list< string > getFeatureList()
Returns a list of strings of the builtin and module-supplied features of Qore.
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...
set_return_value(auto val)
sets the return value for a Program object when running with %exec-class
string decode_url(string url)
Decodes percent numeric codes in a URL string and returns the decoded string in UTF-8 encoding.
*hash< ExceptionInfo > load_module_warn(string name, int warning_mask=WARN_MODULES)
Loads in a Qore module at run-time.
*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...
list< hash< auto > > get_module_list()
Returns a list of hashes describing the currently-loaded Qore modules.
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 ...
*string functionType(string name)
Returns "builtin" (for a builtin function), "user" (for a user function), or NOTHING (if the function...
int hextoint(string str)
Returns an integer for a hexadecimal string value; throws an exception if non-hex digits are found.
string encode_url(string url, softbool encode_all=False)
Encodes URLs by substituting '%' characters with '%25', spaces (' ') with '%20', and non-ascii charac...
*hash< UrlInfo > parseURL(string url, bool keep_brackets=False)
Parses a URL string and returns a hash of the components; if the URL cannot be parsed then NOTHING is...
int get_parse_options()
returns the current parse options for the current Program object
code get_call_reference(string identifier)
resolve the string as a call reference
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)...
list< auto > hash_values(hash< auto > h)
Returns a list of all the values in the hash argument passed.
list< hash< auto > > get_qore_option_list()
Returns a list of hashes giving information about Qore library options for the current build.
binary parseHexString(string hexstr)
Parses a hex-encoded string and returns the binary object.
auto call_function(string name,...)
Calls a function and returns the return value, passing the remaining arguments after the function nam...
bool existsFunction(string name)
Returns True if the function exists in the current program's function name space.
nothing reload_module(string name)
Reloads an already-loaded Qore module subject to code injection at run-time into Qore; the module's c...
int strtoint(string num, softint base=10)
parses a string representing a number in a configurable base and returns the integer
*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...
string make_base64_string(string str, softint maxlinelen=-1)
Returns a base64-encoded representation of a string.
string get_default_encoding()
Returns the name of the default character encoding.
nothing set_module_option(string module, string option, auto value)
set the given module option
string html_encode(string str)
Returns a string with characters needing HTML escaping translated to HTML escape codes.
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...
list< string > get_feature_list()
Returns a list of strings of the builtin and module-supplied features of Qore.
string get_class_name(object obj)
Returns the class name of the object passed.
string get_ex_pos(hash< auto > ex)
returns a descriptive string for an exception location; the source and offset information will also b...
hash< string, hash< auto > > getModuleHash()
Returns a hash of hashes describing the currently-loaded Qore modules; the top-level hash keys are th...
*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...
string html_decode(string str)
Returns a string with any HTML escape codes translated to the original characters.
list< hash< auto > > getModuleList()
Returns a list of hashes describing the currently-loaded Qore modules.
hash< auto > get_global_vars()
returns a hash of global variables
string encode_uri_request(string url)
Encodes URI requests by substituting special characters in the path with percent-encoded equivalents ...
bool exists(...)
A function performing the same role as the exists operator.
*hash< auto > parse(string code, string label, *softint warning_mask, *string source, *softint offset, softbool format_label=True)
Adds the text passed to the current program's code, tagged with the given label.
*string get_script_name()
Returns the filename of the current script if known or NOTHING if unknown (i.e. no parent script,...
*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...
hash< auto > get_qore_library_info()
Returns a hash of library build and version info.
string makeHexString(string str)
Returns a hex-encoded representation of a string.
*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...
string make_hex_string(string str)
Returns a hex-encoded representation of a string.
nothing set_global_var_value(string name, auto value)
set the value of a global variable
*int getWord32(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...
binary parse_hex_string(string hexstr)
Parses a hex-encoded string and returns the binary object.
string backquote(string cmd, *reference< int > rc)
Executes a process and returns a string of the output (stdout only)
nothing load_module(string name, int warning_mask=WARN_MODULES)
Loads in a Qore module at run-time.
string decode_uri_request(string uri)
Decodes percent-encoded codes in a URI path and converts "+" signs in the query component to spaces a...
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:2220
const QURL_DECODE
Perform percent decoding on the "host", "username", and "password" fields.
Definition: ql_misc.dox.h:2213
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:2215
const SIGUSR1
SIGUSR1.
Definition: ql_misc.dox.h:2452
const SIGXRES
SIGXRES.
Definition: ql_misc.dox.h:2466
const SIGALRM
SIGALRM.
Definition: ql_misc.dox.h:2380
const SIGHUP
SIGHUP.
Definition: ql_misc.dox.h:2398
const SIGTTOU
SIGTTOU.
Definition: ql_misc.dox.h:2448
const SIGLWP
SIGLWP.
Definition: ql_misc.dox.h:2418
const SIGCHLD
SIGCHLD.
Definition: ql_misc.dox.h:2386
const SIGSYS
SIGSYS.
Definition: ql_misc.dox.h:2436
const SIGPOLL
SIGPOLL.
Definition: ql_misc.dox.h:2422
const SIGABRT
SIGABRT.
Definition: ql_misc.dox.h:2378
const SIGWAITING
SIGWAITING.
Definition: ql_misc.dox.h:2458
const SIGVTALRM
SIGVTALRM.
Definition: ql_misc.dox.h:2456
const SIGTSTP
SIGTSTP.
Definition: ql_misc.dox.h:2444
const SIGXFSZ
SIGXFSZ.
Definition: ql_misc.dox.h:2464
const SIGBUS
SIGBUS.
Definition: ql_misc.dox.h:2382
const SIGSTKFLT
SIGSTKFLT.
Definition: ql_misc.dox.h:2432
const SIGPIPE
SIGPIPE.
Definition: ql_misc.dox.h:2420
const SIGPROF
SIGPROF.
Definition: ql_misc.dox.h:2424
const SIGILL
SIGILL.
Definition: ql_misc.dox.h:2400
const SIGCLD
SIGCLD.
Definition: ql_misc.dox.h:2388
const SIGURG
SIGURG.
Definition: ql_misc.dox.h:2450
const SIGTRAP
SIGTRAP.
Definition: ql_misc.dox.h:2442
const SIGTHAW
SIGTHAW.
Definition: ql_misc.dox.h:2440
const SIGCANCEL
SIGCANCEL.
Definition: ql_misc.dox.h:2384
const SIGSTOP
SIGSTOP.
Definition: ql_misc.dox.h:2434
const SIGWINCH
SIGWINCH.
Definition: ql_misc.dox.h:2460
const SIGEMT
SIGEMT.
Definition: ql_misc.dox.h:2392
const SIGINFO
SIGINFO.
Definition: ql_misc.dox.h:2402
const SIGFPE
SIGFPE.
Definition: ql_misc.dox.h:2394
const SIGLOST
SIGLOST.
Definition: ql_misc.dox.h:2416
const NameToSignal
maps signal names to signal values
Definition: ql_misc.dox.h:2330
const SIGKILL
SIGKILL.
Definition: ql_misc.dox.h:2414
const SignalToName
maps signal numbers (as a string key) to the symbolic name for the signal
Definition: ql_misc.dox.h:2468
const SIGQUIT
SIGQUIT.
Definition: ql_misc.dox.h:2428
const SIGIOT
SIGIOT.
Definition: ql_misc.dox.h:2408
const SIGTERM
SIGTERM.
Definition: ql_misc.dox.h:2438
const SIGTTIN
SIGTTIN.
Definition: ql_misc.dox.h:2446
const SIGUSR2
SIGUSR2.
Definition: ql_misc.dox.h:2454
const SIGCONT
SIGCONT.
Definition: ql_misc.dox.h:2390
const SIGIO
SIGIO.
Definition: ql_misc.dox.h:2406
const SIGXCPU
SIGXCPU.
Definition: ql_misc.dox.h:2462
const SIGSEGV
SIGSEGV.
Definition: ql_misc.dox.h:2430
const SIGJVM1
SIGJVM1.
Definition: ql_misc.dox.h:2410
const SIGFREEZE
SIGFREEZE.
Definition: ql_misc.dox.h:2396
const SIGINT
SIGINT.
Definition: ql_misc.dox.h:2404
const SIGJVM2
SIGJVM2.
Definition: ql_misc.dox.h:2412
const SIGPWR
SIGPWR.
Definition: ql_misc.dox.h:2426
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...
nothing remove_signal_handler(softint signal)
Removes a signal handler and returns the signal handling state to the default.
binary binary()
Always returns an empty binary object (of zero length)
const WARN_MODULES
The default warning mask for user modules.
Definition: QC_Program.dox.h:2069
Qore namespace.
Definition: QC_AbstractBidirectionalIterator.dox.h:2
a hash describing a parsed URL
Definition: ql_misc.dox.h:7
string host
the hostname given in the URL string, if any
Definition: ql_misc.dox.h:9
string path
the path given in the URL string, if present
Definition: ql_misc.dox.h:13
string username
the username of the URL, if present
Definition: ql_misc.dox.h:21
string password
the password given in the URL, if any
Definition: ql_misc.dox.h:11
string query
the query part of the URL (i.e. text after any '?' char), if present
Definition: ql_misc.dox.h:19
int port
the port number given in the URL string, if any
Definition: ql_misc.dox.h:15
string protocol
the scheme or protocol of the URL, if present
Definition: ql_misc.dox.h:17