| Qore Programming Language Reference Manual 2.2.0

Loading...
Searching...
No Matches
Namespaces | Classes | Functions | Variables
Qore Namespace Reference

main Qore-language namespace More...

## Namespaces
namespace | Err
| Err namespace.
namespace | Option
| Option namespace.
namespace | SQL
| SQL namespace.
namespace | Thread
| Thread namespace.
namespace | Type
| Type namespace.

## Classes
class | AbstractBidirectionalIterator
| This class defines an abstract interface for bidirectional iterators. More...
class | AbstractIterator
| This class defines an abstract interface for iterators. More...
class | AbstractLineIterator
| This class defines an abstract interface for line iterators. More...
class | AbstractPollableIoObject
| This interfaces declares that the inheriting class supports a pollable file descriptor. More...
class | AbstractPollableIoObjectBase
| Interface for builtin classes that support I/O polling. More...
class | AbstractPollOperation
| Abstract poll operation objects provide the polling interface for pollable objects. More...
class | AbstractQuantifiedBidirectionalIterator
| This class defines an abstract interface for bidirectional iterators where the size of the object is known in advance. More...
class | AbstractQuantifiedIterator
| This class defines an abstract interface for iterators where the size of the object being iterated is known in advance. More...
class | BinaryInputStream
| This class implements the InputStream interface for reading bytes from a Binary variable. More...
class | BinaryOutputStream
| This class implements the OutputStream interface for writing bytes to a Binary buffer. More...
class | Breakpoint
| Breakpoint class supports breakpoint setting for particular Qore ProgramControl when debugging. More...
class | BufferedStreamReader
| This class defines a buffered stream reader for input streams. More...
struct | CallStackInfo
| call stack hash description More...
class | DataLineIterator
| This class defines a line iterator for string data. More...
struct | DateTimeInfo
| date/time information hash as returned by date_info() and <date>::info() More...
class | DebugProgram
| DebugProgram class supports Qore Program debugging via ProgramControl. More...
class | Dir
| This class implements directory handling, file listing, creating/removing subdirectories, etc. More...
struct | DirStatInfo
| file status information hash as returned by Dir::list(), Dir::listFiles(), and Dir::listDirs() if the appropriate arguments are used More...
class | EncodingConversionInputStream
| An InputStream implementation that performs on-the-fly conversion between two character encodings. More...
class | EncodingConversionOutputStream
| An OutputStream implementation that performs on-the-fly conversion between two character encodings. More...
struct | ExceptionInfo
| exception information hash More...
class | Expression
| Expression objects represent a single executable expression. More...
class | File
| The File class allows Qore programs to read, write, and create files. More...
class | FileInputStream
| This class implements the InputStream interface for reading bytes from a file. More...
class | FileLineIterator
| This class defines a line iterator for text files. More...
class | FileOutputStream
| This class implements the OutputStream interface for writing bytes to a file. More...
class | FilePollOperation
| File poll operation object returned by File polling methods. More...
struct | FilesystemInfo
| Filesystem info hash as returned by statvfs, Dir::statvfs, and ReadOnlyFile::statvfs()". More...
class | FtpClient
| The FtpClient class allows Qore code to communicate with FTP servers with the FTP and FTPS protocols. More...
struct | FtpResponseInfo
| A hash describing a free-form FTP control response. More...
class | GetOpt
| The GetOpt class provides an easy way to process POSIX-style command-line options in Qore scripts/programs. More...
class | HashIterator
| This class an iterator class for hashes. More...
class | HashKeyIterator
| This class an iterator class for hashes. More...
class | HashKeyReverseIterator
| This class an iterator class for hashes. More...
class | HashListIterator
| This class an iterator class for hashes of lists as returned by Qore::SQL::Datasource::select() and Qore::SQL::DatasourcePool::select(), both of which return hashes with keys giving column names where the key values are lists of column values. More...
class | HashListReverseIterator
| This class a reverse iterator class for hashes of lists as returned by Qore::SQL::Datasource::select() and Qore::SQL::DatasourcePool::select(), both of which return hashes with keys giving column names where the key values are lists of column values. More...
class | HashPairIterator
| This class an iterator class for hashes. More...
class | HashPairReverseIterator
| This class an iterator class for hashes. More...
class | HashReverseIterator
| This class an iterator class for hashes. More...
struct | HashSerializationInfo
| hash serialization information for typed hashes or untyped hashes More...
class | HTTPClient
| The HTTPClient class can be used to communicate with HTTP servers with and without TLS/SSL encryption. More...
struct | IndexedObjectSerializationInfo
| object serialization information for an indexed object More...
class | InputStream
| This class defines an abstract interface for input streams. More...
class | InputStreamLineIterator
| This class defines a line iterator for input streams. More...
struct | IsoWeekInfo
| ISO week information as returned by get_iso_week_hash() and <date>::isoWeekHash() More...
class | ListHashIterator
| This class an iterator class for lists of hashes as returned by Qore::SQL::Datasource::selectRows() and Qore::SQL::DatasourcePool::selectRows(), both of which return lists of columns where each list entry is a hash of the current column values. More...
class | ListHashReverseIterator
| This class a reverse iterator class for lists of hashes as returned by Qore::SQL::Datasource::selectRows() and Qore::SQL::DatasourcePool::selectRows(), both of which return hashes with keys giving column names where the key values are lists of column values. More...
class | ListIterator
| This class an iterator class for lists. More...
class | ListReverseIterator
| This class an iterator class for lists. More...
struct | ListSerializationInfo
| list serialization information More...
struct | NetIfInfo
| network interface info hash More...
class | ObjectIterator
| This class a basic iterator class for objects. More...
class | ObjectKeyIterator
| This class an iterator class for objectes. More...
class | ObjectKeyReverseIterator
| This class an iterator class for objects. More...
class | ObjectPairIterator
| This class an iterator class for objects. More...
class | ObjectPairReverseIterator
| This class an iterator class for objects. More...
class | ObjectReverseIterator
| This class an iterator class for objects. More...
struct | ObjectSerializationInfo
| object serialization information More...
class | OutputStream
| This class defines an abstract interface for output streams. More...
struct | PipeInfo
| Pipe info hash description. More...
class | PipeInputStream
| This class is not intended to be instantiated directly, please see StreamPipe. More...
class | PipeOutputStream
| This class is not intended to be instantiated directly, please see StreamPipe. More...
class | Program
| Program objects allow Qore programs to support subprograms with the option to restrict capabilities, for example, to support user-defined logic for application actions. More...
class | ProgramControl
| The ProgramControl class provides safe information about a Qore program. More...
class | RangeIterator
| This class defines a range-like iterator to be used to iterate numerical sequences. More...
class | ReadOnlyFile
| The ReadOnlyFile class allows Qore programs to read existing files. More...
class | Serializable
| The Serializable class can be used to mark a class as being serializable. More...
struct | SerializationInfo
| serialization information More...
class | SingleValueIterator
| This class defines a simple iterator to be used to iterate single values (or complex objects where no iterator has been implemented yet) More...
class | Socket
| The Socket class allows Qore programs safe access to network sockets. More...
struct | SocketPollInfo
| Socket or other pollable object poll info hash. More...
class | SocketPollOperation
| Socket poll operation object returned by Socket polling methods. More...
class | SocketPollOperationBase
| Abstract poll operation object returned by Socket polling methods. More...
struct | SourceLocationInfo
| source location information More...
struct | SseMessageInfo
| Server-sent event hash. More...
class | SSLCertificate
| SSLCertificate objects allow Qore code to work with X.509 certificate data. More...
class | SSLPrivateKey
| This class implements a container for private key data. More...
struct | StatementInfo
| statement information hash as returned by ProgramControl::getStatementIdInfo() More...
struct | StatInfo
| file status information hash as returned from hstat(), hlstat(), Dir::hstat(), FileLineIterator::hstat(), ReadOnlyFile::hstat(), and ReadOnlyFile::hlstat() More...
class | StderrOutputStream
| This class implements the OutputStream interface for writing bytes to the standard output stream `stderr`. More...
class | StdoutOutputStream
| This class implements the OutputStream interface for writing bytes to the standard output stream `stdout`. More...
class | StreamBase
| This class defines the API for single thread streams. More...
class | StreamPipe
| This class provides a pair of streams connected through a buffer. More...
class | StreamReader
| This class defines a stream reader for input streams. More...
class | StreamWriter
| This class defines a stream writer for output streams. More...
class | StringInputStream
| This class implements the InputStream interface for reading bytes from a String variable. More...
class | StringOutputStream
| This class implements the OutputStream interface for writing bytes to a String buffer. More...
class | TermIOS
| This class allows Qore scripts to get or set terminal settings on UNIX platforms. More...
class | TimeZone
| The TimeZone class provides access to time zone functionality. More...
class | Transform
| Marker interface for transformations usable in TransformOutputStream and TransformInputStream. More...
class | TransformInputStream
| This class implements the InputStream interface for reading bytes from another InputStream while applying a transformation. More...
class | TransformOutputStream
| This class implements the OutputStream interface for writing bytes to another OutputStream while applying a transformation. More...
class | TreeMap
| A container for efficient path prefix lookup. More...
struct | UrlInfo
| a hash describing a parsed URL More...
class | <binary>
| Methods in this pseudo-class can be executed on binary values. More...
class | <bool>
| Methods in this pseudo-class can be executed on booling-point values. More...
class | <callref>
| Methods in this pseudo-class can be executed on call references. More...
class | <closure>
| Methods in this pseudo-class can be executed on closures. More...
class | <date>
| Methods in this pseudo-class can be executed on date/time value types. More...
class | <float>
| Methods in this pseudo-class can be executed on floating-point values. More...
class | <hash>
| Methods in this pseudo-class can be executed on hash values. More...
class | <int>
| Methods in this pseudo-class can be executed on integer values. More...
class | <list>
| Methods in this pseudo-class can be executed on lists. More...
class | <nothing>
| Methods in this pseudo-class can be executed on NOTHING. More...
class | <number>
| Methods in this pseudo-class can be executed on arbitrary precision number values. More...
class | <object>
| Methods in this pseudo-class can be executed on objects. More...
class | <string>
| Methods in this pseudo-class can be executed on strings. More...
class | <value>
| Methods in this pseudo-class are available to be executed on any value type (even NOTHING); this is the root class for all pseudo-classes. More...

## Functions
RangeIterator | xrange (int start, int stop, int step=1, auto val)
| Returns a RangeIterator containing an arithmetic progression of integers.
RangeIterator | xrange (int stop)
| Returns a RangeIterator containing an arithmetic progression of integers with start = 0 and step = 1.
binary | bunzip2_to_binary (binary bin)
| Uncompresses the given data with the bzip2 algorithm and returns the uncompressed data as a binary object.
nothing | bunzip2_to_binary ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
string | bunzip2_to_string (binary bin, *string encoding)
| Uncompresses the given data with the bzip2 algorithm and returns the uncompressed data as a string.
nothing | bunzip2_to_string ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
binary | bzip2 (binary bin, softint level=BZ2_DEFAULT_COMPRESSION)
| Compresses the given data with the bzip2 algorithm and returns the compressed data as a binary.
binary | bzip2 (string str, softint level=BZ2_DEFAULT_COMPRESSION)
| Compresses the given data with the bzip2 algorithm and returns the compressed data as a binary.
nothing | bzip2 ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
binary | compress (string str, int level=Z_DEFAULT_COMPRESSION)
| Performs zlib-based "deflate" data compression (RFC 1951) and returns a binary object of the compressed data.
binary | compress (binary bin, int level=Z_DEFAULT_COMPRESSION)
| Performs zlib-based "deflate" data compression (RFC 1951) and returns a binary object of the compressed data.
nothing | compress ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
Transform | get_compressor (string alg, int level=COMPRESSION_LEVEL_DEFAULT)
| Returns a Transform object for compressing data using the given algorithm for use with TransformInputStream and TransformOutputStream.
Transform | get_decompressor (string alg)
| Returns a Transform object for decompressing data using the given algorithm for use with TransformInputStream and TransformOutputStream.
binary | gunzip_to_binary (binary bin)
| Performs zlib-based decompression of data compressed with the `"gzip"` algorithm (RFC 1952) and returns a binary object of the uncompressed data.
nothing | gunzip_to_binary ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
string | gunzip_to_string (binary bin, *string encoding)
| Performs zlib-based decompression of data compressed with the "gzip" algorithm (RFC 1952) and returns a string of the uncompressed datas.
nothing | gunzip_to_string ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
binary | gzip (string str, int level=Z_DEFAULT_COMPRESSION)
| Performs zlib-based "gzip" data compression (RFC 1952) and returns a binary object of the compressed data.
binary | gzip (binary bin, int level=Z_DEFAULT_COMPRESSION)
| Performs zlib-based "gzip" data compression (RFC 1952) and returns a binary object of the compressed data.
nothing | gzip ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
binary | uncompress_to_binary (binary bin)
| Performs zlib-based decompression of data compressed by the "deflate" algorithm (RFC 1951) and returns a binary object of the decompressed data.
nothing | uncompress_to_binary ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
string | uncompress_to_string (binary bin, *string encoding)
| Performs zlib-based decompression of data compressed by the "deflate" algorithm (RFC 1951) and returns a string of the decompressed data.
nothing | uncompress_to_string ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
bool | cx_first ()
| Returns True if currently iterating the first element in a context statement, False if not.
bool | cx_last ()
| Returns True if currently iterating the last element in a context statement, False if not.
int | cx_pos ()
| Returns the current row number within the active context statement (starting from 0)
int | cx_total ()
| Returns the total number of rows within the active context statement.
auto | cx_value (string key)
| Returns the current value of the given column while iterating a context statement.
binary | blowfish_decrypt_cbc (binary data, data key, data iv=Qore::DefaultIV)
| Decrypts data using the Cipher Block Chaining function for the blowfish algorithm and returns a binary value of the decrypted data.
string | blowfish_decrypt_cbc_to_string (binary data, data key, data iv=Qore::DefaultIV, *string encoding)
| Decrypts data using the Cipher Block Chaining function for the blowfish algorithm and returns a string of the decrypted data.
binary | blowfish_encrypt_cbc (data data, data key, data iv=Qore::DefaultIV)
| Encrypts data using the Cipher Block Chaining function for the blowfish algorithm
binary | cast5_decrypt_cbc (binary data, data key, data iv=Qore::DefaultIV)
| Decrypts data using the Cipher Block Chaining function for the CAST5 algorithm using a variable-length key and an optional 8-byte initialization vector.
string | cast5_decrypt_cbc_to_string (binary data, data key, data iv=Qore::DefaultIV, *string encoding)
| Decrypts data using the Cipher Block Chaining function for the CAST5 algorithm using a variable-length key and an optional 8-byte initialization vector.
binary | cast5_encrypt_cbc (data data, data key, data iv=Qore::DefaultIV)
| Encrypts data using the Cipher Block Chaining function for the CAST5 algorithm using a variable-length key and an optional 8-byte initialization vector.
binary | des_decrypt_cbc (binary data, data key, data iv=Qore::DefaultIV)
| Decrypts data using the Cipher Block Chaining function for the DES algorithm using an 8-byte key.
string | des_decrypt_cbc_to_string (binary data, data key, data iv=Qore::DefaultIV, *string encoding)
| Decrypts data using the Cipher Block Chaining function for the DES algorithm using an 8-byte key.
binary | des_ede3_decrypt_cbc (data data, data key, data iv=Qore::DefaultIV)
| Decrypts data using the Cipher Block Chaining function for the three-key triple DES algorithm using three 8-byte keys (set by a single 24-byte key argument) and an optional 8-byte initialization vector.
string | des_ede3_decrypt_cbc_to_string (binary data, data key, data iv=Qore::DefaultIV, *string encoding)
| Decrypts data using the Cipher Block Chaining function for the three-key triple DES algorithm using three 8-byte keys (set by a single 24-byte key argument) and an optional 8-byte initialization vector.
binary | des_ede3_encrypt_cbc (data data, data key, data iv=Qore::DefaultIV)
| Encrypts data using the Cipher Block Chaining function for the three-key triple DES algorithm using three 8-byte keys (set by a single 24-byte key argument) and an optional 8-byte initialization vector.
binary | des_ede_decrypt_cbc (binary data, data key, data iv=Qore::DefaultIV)
| Decrypts data using the Cipher Block Chaining function for the two-key triple DES algorithm using two eight-byte keys (set by a single 16-byte key argument)
string | des_ede_decrypt_cbc_to_string (binary data, data key, data iv=Qore::DefaultIV, *string encoding)
| Decrypts data using the Cipher Block Chaining function for the two-key triple DES algorithm using two eight-byte keys (set by a single 16-byte key argument)
binary | des_ede_encrypt_cbc (data data, data key, data iv=Qore::DefaultIV)
| Encrypts data using the Cipher Block Chaining function for the two-key triple DES algorithm using two eight-byte keys (set by a single 16-byte key argument)
binary | des_encrypt_cbc (data data, data key, data iv=Qore::DefaultIV)
| Encrypts data using the Cipher Block Chaining function for the DES algorithm using an 8-byte key.
binary | des_random_key ()
| Returns a binary value of a random key for the DES algorithm
binary | desx_decrypt_cbc (binary data, data key, data iv=Qore::DefaultIV)
| Decrypts data using the Cipher Block Chaining function for RSA's DESX algorithm using a 24-byte key and an optional 8-byte initialization vector.
string | desx_decrypt_cbc_to_string (binary data, data key, data iv=Qore::DefaultIV, *string encoding)
| Decrypts data using the Cipher Block Chaining function for RSA's DESX algorithm using a 24-byte key and an optional 8-byte initialization vector.
binary | desx_encrypt_cbc (data data, data key, data iv=Qore::DefaultIV)
| Encrypts data using the Cipher Block Chaining function for RSA's DESX algorithm using a 24-byte key and an optional 8-byte initialization vector.
binary | rc2_decrypt_cbc (binary data, data key, data iv=Qore::DefaultIV)
| Decrypts data using the Cipher Block Chaining function for RSA's RC2(tm) algorithm using a variable-length key and an optional 8-byte initialization vector.
string | rc2_decrypt_cbc_to_string (binary data, data key, data iv=Qore::DefaultIV, *string encoding)
| Decrypts data using the Cipher Block Chaining function for RSA's RC2(tm) algorithm using a variable-length key and an optional 8-byte initialization vector.
binary | rc2_encrypt_cbc (data data, data key, data iv=Qore::DefaultIV)
| Encrypts data using the Cipher Block Chaining function for RSA's RC2(tm) algorithm using a variable-length key and an optional 8-byte initialization vector.
binary | rc4_decrypt (binary data, data key, data iv=Qore::DefaultIV)
| Decrypts data using the Alleged RC4 cipher algorithm, which should be compatible with RSA's RC4(tm) algorithm using a variable-length key and an optional 8-byte initialization vector.
string | rc4_decrypt_to_string (binary data, data key, data iv=Qore::DefaultIV, *string encoding)
| Decrypts data using the Alleged RC4 cipher algorithm, which should be compatible with RSA's RC4(tm) algorithm using a variable-length key and an optional 8-byte initialization vector.
binary | rc4_encrypt (data data, data key, data iv=Qore::DefaultIV)
| Encrypts data using the Alleged RC4 cipher algorithm, which should be compatible with RSA's RC4(tm) algorithm using a variable-length key and an optional 8-byte initialization vector.
binary | rc5_decrypt_cbc (binary data, data key, data iv=Qore::DefaultIV)
| Decrypts data using the Cipher Block Chaining function for RSA's RC5(tm) algorithm using a variable-length key and an optional 8-byte initialization vector.
string | rc5_decrypt_cbc_to_string (binary data, data key, data iv=Qore::DefaultIV, *string encoding)
| Decrypts data using the Cipher Block Chaining function for RSA's RC5(tm) algorithm using a variable-length key and an optional 8-byte initialization vector.
binary | rc5_encrypt_cbc (data data, data key, data iv=Qore::DefaultIV)
| Encrypts data using the Cipher Block Chaining function for RSA's RC5(tm) algorithm using a variable-length key and an optional 8-byte initialization vector.
string | DSS (data data)
| Returns the DSS message digest (based on SHA-0 and DSA) of the supplied argument as a hex string.
string | DSS1 (data data)
| Returns the DSS1 message digest (based on SHA1 and DSA) of the supplied argument as a hex string.
binary | DSS1_bin (data data)
| Returns the DSS1 message digest (based on SHA-0 and DSA) of the supplied argument as a binary value.
binary | DSS_bin (data data)
| Returns the DSS message digest (based on SHA-0 and DSA) of the supplied argument as a binary value.
string | MD2 (data data)
| Returns the MD2 message digest of the supplied argument as a hex string.
binary | MD2_bin (data data)
| Returns the MD2 message digest of the supplied argument as binary value.
string | MD4 (data data)
| Returns the MD4 message digest of the supplied argument as a hex string.
binary | MD4_bin (data data)
| Returns the MD4 message digest of the supplied argument as a binary value.
string | MD5 (data data)
| Returns the MD5 message digest of the supplied argument as a hex string.
binary | MD5_bin (data data)
| Returns the MD5 message digest of the supplied argument as a binary value.
string | MDC2 (data data)
| Returns the MDC2 message digest of the supplied argument as a hex string.
binary | MDC2_bin (data data)
| Returns the MDC2 message digest of the supplied argument as a binary value.
string | RIPEMD160 (data data)
| Returns the RIPEMD message digest of the supplied argument as a hex string.
binary | RIPEMD160_binary (data data)
| Returns the RIPEMD message digest of the supplied argument as a binary value.
string | SHA (data data)
| Returns the SHA (outdated SHA-0) message digest of the supplied argument as a hex string.
string | SHA1 (data data)
| Returns the SHA1 message digest of the supplied argument as a hex string.
binary | SHA1_bin (data data)
| Returns the SHA1 message digest of the supplied argument as a binary value.
string | SHA224 (data data)
| Returns the SHA-224 message digest (a variant of SHA-2) of the supplied argument as a hex string.
binary | SHA224_bin (data data)
| Returns the SHA-224 message digest (a variant of SHA-2) of the supplied argument as a binary value.
string | SHA256 (data data)
| Returns the SHA-256 message digest (a variant of SHA-2) of the supplied argument as a hex string.
binary | SHA256_bin (data data)
| Returns the SHA-256 message digest (a variant of SHA-2) of the supplied argument as a binary value.
string | SHA384 (data data)
| Returns the SHA-384 message digest (a variant of SHA-2) of the supplied argument as a hex string.
binary | SHA384_bin (data data)
| Returns the SHA-384 message digest (a variant of SHA-2) of the supplied argument as a binary value.
string | SHA512 (data data)
| Returns the SHA-512 message digest (a variant of SHA-2) of the supplied argument as a hex string.
binary | SHA512_bin (data data)
| Returns the SHA-512 message digest (a variant of SHA-2) of the supplied argument as a binary value.
binary | SHA_bin (data data)
| Returns the SHA (outdated SHA-0) message digest of the supplied argument as a binary value.
string | DSS1_hmac (data data, data key)
| Returns the DSS1 (SHA-1 and DSA) based HMAC of the supplied argument as a hex string.
string | DSS_hmac (data data, data key)
| Returns the DSS (SHA-0 and DSA) based HMAC of the supplied argument as a hex string.
string | MD2_hmac (data data, data key)
| Returns the MD2 based HMAC of the supplied argument as a hex string.
string | MD4_hmac (data data, data key)
| Returns the MD4 based HMAC of the supplied argument as a hex string.
string | MD5_hmac (data data, data key)
| Returns the MD5 based HMAC of the supplied argument as a hex string.
string | MDC2_hmac (data data, data key)
| Returns the MDC2 based HMAC of the supplied argument as a hex string.
string | RIPEMD160_hmac (data data, data key)
| Returns the RIPEMD based HMAC of the supplied argument as a hex string.
string | SHA1_hmac (data data, data key)
| Returns the SHA1 based HMAC of the supplied argument as a hex string.
string | SHA224_hmac (data data, data key)
| Returns the SHA224 based HMAC of the supplied argument as a hex string.
string | SHA256_hmac (data data, data key)
| Returns the SHA256 based HMAC of the supplied argument as a hex string.
string | SHA384_hmac (data data, data key)
| Returns the SHA384 based HMAC of the supplied argument as a hex string.
string | SHA512_hmac (data data, data key)
| Returns the SHA512 based HMAC of the supplied argument as a hex string.
string | SHA_hmac (data data, data key)
| Returns the SHA based HMAC of the supplied argument as a hex string.
binary | decrypt_to_binary (string alg, data data, data key, data iv=Qore::DefaultIV, *data mac, *data aad)
| Returns a binary value of decrypted data corresponding to the input arguments inluding the given algorithm.
string | decrypt_to_string (string alg, data data, data key, data iv=Qore::DefaultIV, *data mac, *data aad, *string encoding)
| Returns a string of decrypted data corresponding to the input arguments inluding the given algorithm.
binary | digest (string digest, data data)
| Returns the digest of the supplied arguments as a binary value.
binary | encrypt (string alg, data data, data key, data iv=Qore::DefaultIV, *reference< binary > mac, *int mac_size, *data aad)
| Returns a binary value of encrypted data corresponding to the input arguments inluding the given algorithm.
*hash< auto > | get_cipher_info (string cipher)
| Returns information about the given cipher or NOTHING if the cipher is unknown.
hash< auto > | get_crypto_info ()
| Returns a hash of information about each cryptographic algorithmn supported by the current build of Qore.
Transform | get_decryptor (string alg, data key, data iv=Qore::DefaultIV, *data mac, *data aad)
| Returns a Transform object for decrypting data using the given algorithm for use with TransformInputStream and TransformOutputStream.
list< string > | get_digests ()
| Returns a list of supported digest algorithms for hmac()
Transform | get_encryptor (string alg, data key, data iv=Qore::DefaultIV, *reference< binary > mac, *int mac_size, *data aad)
| Returns a Transform object for encrypting data using the given algorithm for use with TransformInputStream and TransformOutputStream.
binary | get_random_bytes (int size)
| returns a binary value of random bytes using openssl
bool | has_digest (string digest)
| Returns True if the given digest is supported, False if not.
binary | hmac (string digest, data data, data key)
| Returns the digest-based HMAC of the supplied arguments as a binary value.
*string | getenv (string var)
| Retrieves the value of an environment variable or NOTHING if the variable is not set.
nothing | getenv ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
int | setenv (string env, softstring val)
| Sets an environment variable to a value.
nothing | setenv ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
int | unsetenv (string env)
| Unsets an environment variable.
nothing | unsetenv ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
bool | absolute_path (string path)
| returns True if the argument is an absolute path on the current platform, False if not
bool | absolute_path_unix (string path)
| returns True if the argument is a UNIX absolute path, False if not
bool | absolute_path_windows (string path)
| returns True if the argument is a Windows absolute path, False if not
int | chdir (string path)
| Changes the current working directory for the current process.
int | chmod (string path, softint mode)
| Changes the mode of a file or directory.
int | chown (string path, softint owner=-1, softint group=-1)
| Changes the user and group owners of a file, if the current user has permission to do so (normally only the superuser can change the user owner), follows symbolic links.
*string | getcwd ()
| Returns a string giving the current working directory or NOTHING if the current working directory could not be read.
string | getcwd2 ()
| Returns a string giving the current working directory; throws an exception if the current directory cannot be read.
*list< string > | glob (string glob_str)
| Returns a list of files matching the string argument or NOTHING if the call to glob() fails.
nothing | glob ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
*hash< StatInfo > | hlstat (string path)
| Returns a StatInfo hash for the path argument and does not follow symbolic links; if any errors occur, NOTHING is returned and errno() can be used to retrieve the error number.
nothing | hlstat ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
*hash< StatInfo > | hstat (string path)
| Returns a StatInfo hash for the path argument, following any symbolic links; if any errors occur, NOTHING is returned and errno() can be used to retrieve the error number.
nothing | hstat ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
bool | is_bdev (string path)
| Returns True if the string passed identifies a block device on the filesystem, False if not.
bool | is_cdev (string path)
| Returns True if the string passed identifies a character device on the filesystem, False if not.
bool | is_dev (string path)
| Returns True if the string passed identifies a device (either block or character) on the filesystem, False if not.
bool | is_dir (string path)
| Returns True if the string passed identifies a directory on the filesystem, False if not.
bool | is_executable (string path)
| Returns True if the string passed identifies an executable on the filesystem, False if not.
bool | is_file (string path)
| Returns True if the string passed identifies a regular file on the filesystem, False if not.
bool | is_link (string path)
| Returns True if the string passed identifies a symbolic link on the filesystem, False if not.
bool | is_pipe (string path)
| Returns True if the string passed identifies a pipe (FIFO) on the filesystem, False if not.
bool | is_readable (string path)
| Returns True if the string passed identifies a file or a directory readable by the current user, False if not.
bool | is_socket (string path)
| Returns True if the string passed identifies a socket on the filesystem, False if not.
bool | is_writable (string path)
| Returns True if the string passed identifies a file or a directory writable by the current user, False if not.
bool | is_writeable (string path)
| Returns True if the string passed identifies a file or a directory writable by the current user (backwards-compatible misspelling of is_writable())
int | lchown (string path, softint uid=-1, softint gid=-1)
| Changes the user and group owners of a file, if the current user has permission to do so (normally only the superuser can change the user owner), does not follow symbolic links but rather operates on the symbolic link itself.
*list< auto > | lstat (string path)
| Returns a list of file status values for the path argument and does not follow symbolic links; if any errors occur, NOTHING is returned and errno() can be used to retrieve the error number.
nothing | lstat ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
int | mkdir (string path, softint mode=0777, bool parents=False)
| Creates a directory, optionally specifying the mode.
nothing | mkdir_ex (string path, softint mode=0777, bool parents=False)
| Creates a directory, optionally specifying the mode; throws an exception on error.
int | mkfifo (string path, softint mode=0600)
| Creates a named pipe file with an optional file mode.
string | readlink (string path)
| Returns the target of a symbolic link; throws an exception if an error occurs (ex: file does not exist or is not a symbolic link)
string | realpath (string path)
| Returns the canonicalized absolute pathname from the given path.
nothing | rename (string old_path, string new_path)
| Renames (or moves) files or directories. Note that for this call to function properly, the Qore process must have sufficient permissions and access to the given filesystem objects or paths to execute the rename operation.
int | rmdir (string path)
| Removes a directory.
*list< auto > | stat (string path)
| Returns a list of file status values for the path argument, following any symbolic links; if any errors occur, NOTHING is returned and errno() can be used to retrieve the error number.
nothing | stat ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
*hash< FilesystemInfo > | statvfs (string path)
| Returns a hash of filesystem status values for the file or directory path passed.
nothing | symlink (string old_path, string new_path)
| Creates a symbolic link to a directory path. Note that for this call to function properly, the Qore process must have sufficient permissions and access to the given filesystem path to create the symbolic link.
int | umask (softint mask)
| Sets the file creation mode mask for the process and returns the previous value of the file creation mode mask.
nothing | umask ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
int | unlink (string path)
| Deletes a file and returns 0 for success, -1 for error (in which case errno() can be used to get the error)
nothing | unlink ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
nothing | abort ()
| Aborts the current program (this function does not return)
string | basename (string path)
| Returns a string giving the last element of a file path (meant to be the filename)
nothing | basename ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
nothing | close_all_fd (*softbool strd)
| closes all possible file descriptors; useful in "daemon" processes that may have inherited open file descriptors
string | dirname (string path)
| Returns a string giving the path up to a file but not the filename itself.
nothing | dirname ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
int | errno ()
| Returns the error code of the last error that occurred in the current thread.
nothing | exec (string command)
| Replaces the current process image with another; this function does not return.
nothing | exit (softint rc=0)
| Exits the program with the return code passed (this function does not return)
int | fork ()
| Creates a copy of the current process with a new PID.
list< hash< NetIfInfo > > | get_netif_list ()
| returns a list of network interfaces
list< hash< auto > > | getaddrinfo (*string node, *softstring service, softint family=AF_UNSPEC, softint flags=0)
| Returns a list of Address Information Hash for the given node name or string address; if no lookup can be performed then an exception is thrown.
int | getegid ()
| Returns the effective group ID of the current process.
int | geteuid ()
| Returns the effective user ID of the current process.
int | getgid ()
| Returns the real group ID of the current process.
list< int > | getgroups ()
| returns a list of group IDs that the user is a member of
*string | gethostbyaddr (string addr, softint type=AF_INET)
| Returns the official hostname corresponding to the network address passed as an argument.
nothing | gethostbyaddr ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
*hash< auto > | gethostbyaddr_long (string addr, softint type=AF_INET)
| Returns a hash representing all host and address information corresponding to the address and address type passed as arguments.
nothing | gethostbyaddr_long ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
*string | gethostbyname (string name)
| Returns the first address corresponding to the hostname passed as an argument or NOTHING if the lookup fails.
nothing | gethostbyname ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
*hash< auto > | gethostbyname_long (string name)
| Returns a hash representing all host and address information corresponding to the hostname passed as an argument.
nothing | gethostbyname_long ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
string | gethostname ()
| Returns the hostname of the system.
int | getpid ()
| Returns the PID (process ID) of the current process.
int | getppid ()
| Returns the PID (process ID) of the parent process of the current process.
int | getuid ()
| Returns the real user ID of the current process.
int | kill (softint pid, softint sig=SIGHUP)
| Sends a signal to a process, if no signal number is given, then Qore::SIGHUP is sent by default.
nothing | kill ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
int | qore_add_module_to_blacklist (string name, string msg="by an API call")
| Adds the given module to the blacklist.
int | qore_add_module_to_blacklist_ex (string name, string msg="by an API call")
| Adds the given module to the blacklist and throws an exception if here's an error.
int | qore_get_library_options ()
| returns all Qore library options
int | qore_set_library_options (int opts)
| sets Qore runtime library options
int | rand ()
| Returns a random non-negative 64-bit integer number.
int | setegid (softint gid)
| Changes the process effective group ID according to the argument passed.
int | seteuid (softint uid)
| Changes the effective process user ID according to the argument passed.
int | setgid (softint gid)
| Changes the process group ID according to the argument passed.
nothing | setgroups (softlist< softint > gids)
| sets the list of supplementary group IDs for the current process
int | setsid ()
| Creates a new session lead by the calling process.
int | setuid (softint uid)
| Changes the process user ID according to the argument passed.
int | sleep (softint seconds)
| Causes the current thread to sleep for a certain number of seconds.
nothing | sleep ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
nothing | srand (softint seed)
| Seeds the random number generator with the integer passed.
nothing | srand ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
string | strerror (softint err)
| Returns the string corresponding to the error code passed (generally retrieved with errno())
string | strerror ()
| Returns the string corresponding to the last error that occurred in the current thread.
int | system (string command)
| executes a command and returns the exit code of the process
nothing | system ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
int | usleep (softint usecs)
| Causes the current thread to sleep for a certain number of microseconds.
int | usleep (date d)
| Causes the current thread to sleep for a certain number of microseconds.
nothing | usleep ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
bool | inlist ()
| This function variant does nothing at all.
bool | inlist (any arg, nothing x)
| This function variant does nothing at all.
bool | inlist (auto arg, softlist< auto > l)
| Returns True if the first argument is a member of the second argument list using soft comparisons (with implicit type conversions), False if not.
bool | inlist_hard ()
| This function variant does nothing at all.
bool | inlist_hard (any arg, nothing x)
| This function variant does nothing at all.
bool | inlist_hard (auto arg, softlist< auto > l)
| Returns True if the first argument is a member of the second argument list using hard comparisons (without any implicit type conversions), False if not.
auto | max (list< auto > l)
| Returns the maximum value in a list.
auto | max (list< auto > l, string func)
| Returns the maximum value in a list.
auto | max (list< auto > l, code f)
| Returns the maximum value in a list.
auto | max (...)
| Returns the maximum value of the arguments passed to the function.
auto | min (list< auto > l)
| Returns the minumum value in a list.
auto | min (list< auto > l, string func)
| Returns the minumum value in a list.
auto | min (list< auto > l, code f)
| Returns the minumum value in a list.
auto | min (...)
| Returns the minumum value of the arguments passed to the function.
list< int > | range (int start, int stop, int step=1)
| Returns a list containing an arithmetic progression of integers.
list< int > | range (int stop)
| Returns a list containing an arithmetic progression of integers with start = 0 and step = 1.
nothing | reverse ()
| This function variant does nothing at all.
list< auto > | reverse (list< auto > l)
| Reverses a list and returns the new list.
auto | sort (auto arg)
| This function variant does nothing at all.
list< auto > | sort (list< auto > l)
| Performs an unstable sort in ascending order and returns the new list.
list< auto > | sort (list< auto > l, string func)
| Performs an unstable sort in ascending order and returns the new list.
list< auto > | sort (list< auto > l, code f)
| Performs an unstable sort in ascending order and returns the new list.
auto | sortDescending (auto arg)
| This function variant does nothing at all.
list< auto > | sortDescending (list< auto > l)
| Performs an unstable sort in descending order and returns the new list.
list< auto > | sortDescending (list< auto > l, string func)
| Performs an unstable sort in descending order and returns the new list.
list< auto > | sortDescending (list< auto > l, code f)
| Performs an unstable sort in descending order and returns the new list.
auto | sortDescendingStable (auto arg)
| This function variant does nothing at all.
list< auto > | sortDescendingStable (list< auto > l)
| Performs a stable sort in descending order and returns the new list.
list< auto > | sortDescendingStable (list< auto > l, string func)
| Performs a stable sort in descending order and returns the new list.
list< auto > | sortDescendingStable (list< auto > l, code f)
| Performs a stable sort in descending order and returns the new list.
auto | sortStable (auto arg)
| This function variant does nothing at all.
list< auto > | sortStable (list< auto > l)
| Performs a stable sort in ascending order and returns the new list.
list< auto > | sortStable (list< auto > l, string func)
| Performs a stable sort in ascending order and returns the new list.
list< auto > | sortStable (list< auto > l, code f)
| Performs a stable sort in ascending order and returns the new list.
auto | sort_descending (auto arg)
| This function variant does nothing at all.
list< auto > | sort_descending (list< auto > l)
| Performs an unstable sort in descending order and returns the new list.
list< auto > | sort_descending (list< auto > l, string func)
| Performs an unstable sort in descending order and returns the new list.
list< auto > | sort_descending (list< auto > l, code f)
| Performs an unstable sort in descending order and returns the new list.
auto | sort_descending_stable (auto arg)
| This function variant does nothing at all.
list< auto > | sort_descending_stable (list< auto > l)
| Performs a stable sort in descending order and returns the new list.
list< auto > | sort_descending_stable (list< auto > l, string func)
| Performs a stable sort in descending order and returns the new list.
list< auto > | sort_descending_stable (list< auto > l, code f)
| Performs a stable sort in descending order and returns the new list.
auto | sort_stable (auto arg)
| This function variant does nothing at all.
list< auto > | sort_stable (list< auto > l)
| Performs a stable sort in ascending order and returns the new list.
list< auto > | sort_stable (list< auto > l, string func)
| Performs a stable sort in ascending order and returns the new list.
list< auto > | sort_stable (list< auto > l, code f)
| Performs a stable sort in ascending order and returns the new list.
int | abs (int i)
| Returns the absolute value of the argument passed.
number | abs (number n)
| Returns the absolute value of the argument passed.
float | abs (softfloat f)
| Returns the absolute value of the argument passed.
float | abs ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
number | acos (number n)
| Returns the value in radians of the arc cosine of the given value.
float | acos (softfloat f)
| Returns the value in radians of the arc cosine of the given value.
number | asin (number n)
| Returns the value in radians of the arc sine of the given value.
float | asin (softfloat f)
| Returns the value in radians of the arc sine of the given value.
float | asin ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
number | atan (number n)
| Returns the value in radians of the arc tangent of the given value.
float | atan (softfloat f)
| Returns the value in radians of the arc tangent of the given value.
float | atan ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
number | atan2 (number y, number x)
| Returns the principal value of the arc tangent of y/x, using the signs of the two arguments to determine the quadrant of the result.
float | atan2 (softfloat y, softfloat x)
| Returns the principal value of the arc tangent of y/x, using the signs of the two arguments to determine the quadrant of the result.
float | atan2 ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
number | cbrt (number n)
| Returns the cube root of the number passed.
float | cbrt (softfloat f)
| Returns the cube root of the number passed.
float | cbrt ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
int | ceil (int num, int prec=0)
| Returns the smallest multiple of -prec-th power of 10 that is greater than or equal to num. (Thus, for non-negative prec just returns num).
float | ceil (softfloat num, int prec=0)
| Returns the smallest multiple of -prec-th power of 10 that is greater than or equal to num.
number | ceil (number num, int prec=0)
| Returns the smallest multiple of -prec-th power of 10 that is greater than or equal to num.
float | ceil ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
int | compare (number n1, number n2, number epsilon)
| Compares numbers with a given epsilon.
int | compare (float n1, float n2, float epsilon)
| Compares numbers with a given epsilon.
number | cos (number n)
| Returns the cosine of the number in radians passed.
float | cos (float f)
| Returns the cosine of the number in radians passed.
float | cos ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
number | cosh (number n)
| Returns the hyperbolic cosine of the given value.
float | cosh (softfloat f)
| Returns the hyperbolic cosine of the given value.
float | cosh ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
number | exp (number n)
| Returns the value of e (the base of natural logarithms) raised to the power of the given number.
float | exp (softfloat f)
| Returns the value of e (the base of natural logarithms) raised to the power of the given number.
float | exp ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
number | exp2 (number n)
| Returns the value of 2 raised to the power of the given number.
float | exp2 (softfloat f)
| Returns the value of 2 raised to the power of the given number.
float | exp2 ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
number | expm1 (number n)
| Returns the value of e (the base of natural logarithms) raised to the power of the given number - 1.
float | expm1 (softfloat f)
| Returns the value of e (the base of natural logarithms) raised to the power of the given number - 1.
float | expm1 ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
int | floor (int num, int prec=0)
| Returns the largest multiple of -prec-th power of 10 that is less than or equal to num. (Thus, for non-negative prec just returns num).
float | floor (softfloat f, int prec=0)
| Returns the largest multiple of -prec-th power of 10 that is less than or equal to num.
number | floor (number num, int prec=0)
| Returns the largest multiple of -prec-th power of 10 that is less than or equal to num.
float | floor ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
number | hypot (number x, number y)
| Returns the length of the hypotenuse of a right-angle triangle with sides given as the two arguments.
float | hypot (softfloat x, softfloat y)
| Returns the length of the hypotenuse of a right-angle triangle with sides given as the two arguments.
float | hypot ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
number | log10 (number n)
| Returns the base 10 logarithm of the given number.
float | log10 (softfloat f)
| Returns the base 10 logarithm of the given number.
float | log10 ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
number | log1p (number n)
| Returns the natural logarithm of 1 + the given number.
float | log1p (softfloat f)
| Returns the natural logarithm of 1 + the given number.
float | log1p ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
float | logb (softfloat f)
| Returns the exponent of the given number.
float | logb ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
number | nlog (number n)
| Returns the natural logarithm of the given value.
float | nlog (softfloat f)
| Returns the natural logarithm of the given value.
float | nlog ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
number | pow (number x, number y)
| Returns a number raised to the power of another number.
float | pow (softfloat x=0.0, softfloat y=0.0)
| Returns a number raised to the power of another number.
int | pow (int x=0, int y=0)
| Returns a number raised to the power of another number.
int | round (softint num, int prec=0)
| Returns the multiple of -prec-th power of 10 that is closest to num (numbers halfway between two such powers of 10 are rounded away from zero). (So, for non-negative prec just returns num).
float | round (softfloat num, int prec=0)
| Returns the multiple of -prec-th power of 10 that is closest to num (numbers halfway between two such powers of 10 are rounded away from zero).
number | round (number num, int prec=0)
| Returns the multiple of -prec-th power of 10 that is closest to num (numbers halfway between two such powers of 10 are rounded away from zero).
float | round ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
number | sin (number n)
| Returns the sine of the number in radians passed.
float | sin (softfloat f)
| Returns the sine of the number in radians passed.
float | sin ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
number | sinh (number n)
| Returns the hyperbolic sine of the given value.
float | sinh (softfloat f)
| Returns the hyperbolic sine of the given value.
float | sinh ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
number | sqrt (number n)
| Returns the square root of the number passed.
float | sqrt (softfloat f)
| Returns the square root of the number passed.
float | sqrt ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
number | tan (number n)
| Returns the tangent of the number in radians passed.
float | tan (softfloat f)
| Returns the tangent of the number in radians passed.
float | tan ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
number | tanh (number n)
| Returns the hyperbolic tangent of the given value.
float | tanh (softfloat f)
| Returns the hyperbolic tangent of the given value.
float | tanh ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
nothing | remove_signal_handler (softint signal)
| Removes a signal handler and returns the signal handling state to the default.
nothing | set_signal_handler (softint signal, code f)
| Sets or replaces a signal handler according to the signal number and closure or call reference (function or object method reference) passed.
string | backquote (string cmd, *reference< int > rc)
| Executes a process and returns a string of the output (stdout only)
nothing | backquote ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
auto | call_builtin_function (string name,...)
| Calls a function and returns the return value, passing the remaining arguments after the function name to the builtin function.
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 arguments for the function.
auto | call_function (string name,...)
| Calls a function and returns the return value, passing the remaining arguments after the function name to the function.
auto | call_function (code f,...)
| Calls the given call reference or closure and returns the result, passing the remaining arguments to the call reference or closure.
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 arguments for the function.
auto | call_function_args (code f, *softlist< auto > vargs)
| Calls the given call reference or closure and returns the result, using the optional second argument as a list of arguments to the call reference or closure.
string | decode_uri_request (string uri)
| Decodes percent-encoded codes in a URI path and converts `"+"` signs in the query component to spaces and returns the decoded string in UTF-8 encoding.
string | decode_url (string url)
| Decodes percent numeric codes in a URL string and returns the decoded string in UTF-8 encoding.
nothing | decode_url ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
string | encode_uri_request (string url)
| Encodes URI requests by substituting special characters in the path with percent-encoded equivalents and substituting spaces with `"+"` and `"+"` with the percent-encoded equivalent in the URI query component.
string | encode_url (string url, softbool encode_all=False)
| Encodes URLs by substituting `'%'` with `'%25'`, spaces (`'` ') with `'%20'`, `'"'` with `'%22'`, and non-ascii characters by percent-encoded representations.
bool | exists (...)
| A function performing the same role as the exists operator.
bool | existsFunction (string name)
| Returns True if the function exists in the current program's function name space.
bool | existsFunction (code c)
| Always returns True.
nothing | existsFunction ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
bool | exists_function (string name)
| Returns True if the function exists in the current program's function name space.
bool | exists_function (code c)
| Always returns True.
*string | functionType (string name)
| Returns `"builtin"` (for a builtin function), `"user"` (for a user function), or NOTHING (if the function cannot be found) according to the function name passed.
nothing | functionType ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
*string | function_type (string name)
| Returns `"builtin"` (for a builtin function), `"user"` (for a user function), or NOTHING (if the function cannot be found) according to the function name passed.
*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 offset is not legal for the given data.
nothing | getByte ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
*int | getByte (binary b, softint offset=0)
| Returns the byte value at the given byte offset (the first value is at offset 0) or NOTHING if the offset is not legal for the given data.
string | getClassName (object obj)
| Returns the class name of the object passed.
nothing | getClassName ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
list< string > | getFeatureList ()
| Returns a list of strings of the builtin and module-supplied features of Qore.
hash< string, hash< auto > > | getModuleHash ()
| Returns a hash of hashes describing the currently-loaded Qore modules; the top-level hash keys are the module names.
list< hash< auto > > | getModuleList ()
| Returns a list of hashes describing the currently-loaded Qore modules.
*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 NOTHING if the offset is not legal for the given data.
*int | getWord32 (binary b, softint offset=0)
| Returns the 32-bit integer value at the given 4-byte offset (the first value is at offset 0) or NOTHING if the offset is not legal for the given data.
nothing | getWord32 ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
*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 offset is not legal for the given data.
*int | get_byte (binary b, softint offset=0)
| Returns the byte value at the given byte offset (the first value is at offset 0) or NOTHING if the offset is not legal for the given data.
code | get_call_reference (string identifier)
| resolve the string as a call reference
string | get_class_name (object obj)
| Returns the class name of the object passed.
string | get_default_encoding ()
| Returns the name of the default character encoding.
string | get_ex_pos (hash< auto > ex)
| returns a descriptive string for an exception location; the `source` and `offset` information will also be included in the string returned if present in the ExceptionInfo hash argument
list< string > | get_feature_list ()
| Returns a list of strings of the builtin and module-supplied features of Qore.
hash< auto > | get_global_vars ()
| returns a hash of global variables
hash< auto > | get_local_vars (int frame)
| retrieves a hash of local variables for the given stack frame
*string | get_module_context_name ()
| Returns the name of the module currently being loaded, if any.
string | get_module_context_name_ex ()
| Returns the name of the module currently being loaded.
*string | get_module_context_path ()
| Returns the path of the module currently being loaded, if any.
string | get_module_context_path_ex ()
| Returns the path of the module currently being loaded.
hash< string, hash< auto > > | get_module_hash ()
| Returns a hash of hashes describing the currently-loaded Qore modules; the top-level hash keys are the module names.
list< hash< auto > > | get_module_list ()
| Returns a list of hashes describing the currently-loaded Qore modules.
auto | get_module_option (string module, string option)
| returns the given global module option
int | get_parse_options ()
| returns the current parse options for the current Program object
hash< auto > | get_qore_library_info ()
| Returns a hash of library build and version info.
hash< string, hash< auto > > | get_qore_option_hash ()
| Returns a hash of hashes giving information about Qore library options for the current build.
list< hash< auto > > | get_qore_option_list ()
| Returns a list 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.
*string | get_script_dir ()
| Returns the name of the directory from which the current script was executed or NOTHING if unknown (i.e. no parent script, script read from stdin, etc)
*string | get_script_name ()
| Returns the filename of the current script if known or NOTHING if unknown (i.e. no parent script, script read from stdin, etc)
*string | get_script_path ()
| Returns the path (directory and filename) of the current script or NOTHING if unknown (i.e. no parent script, script read from stdin, etc)
*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 NOTHING if the offset is not legal for the given data.
*int | get_word_16 (binary b, softint offset=0)
| Returns the 16-bit integer value at the given 2-byte offset (the first value is at offset 0) or NOTHING if the offset is not legal for the given data.
*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 NOTHING if the offset is not legal for the given data.
*int | get_word_16_lsb (binary b, softint offset=0)
| Returns the 16-bit integer value at the given 2-byte offset (the first value is at offset 0) or NOTHING if the offset is not legal for the given data.
*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 NOTHING if the offset is not legal for the given data.
*int | get_word_32 (binary b, softint offset=0)
| Returns the 32-bit integer value at the given 4-byte offset (the first value is at offset 0) or NOTHING if the offset is not legal for the given data.
*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 NOTHING if the offset is not legal for the given data.
*int | get_word_32_lsb (binary b, softint offset=0)
| Returns the 32-bit integer value at the given 4-byte offset (the first value is at offset 0) or NOTHING if the offset is not legal for the given data.
*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 NOTHING if the offset is not legal for the given data.
*int | get_word_64 (binary b, softint offset=0)
| Returns the 64-bit integer value at the given 8-byte offset (the first value is at offset 0) or NOTHING if the offset is not legal for the given data.
*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 NOTHING if the offset is not legal for the given data.
*int | get_word_64_lsb (binary b, softint offset=0)
| Returns the 64-bit integer value at the given 8-byte offset (the first value is at offset 0) or NOTHING if the offset is not legal for the given data.
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); exceptions are only raised if string encoding errors are encountered.
bool | has_key (object obj, string key)
| Returns True if the given key exists in the object (does not necessarily have to have a value assigned); exceptions are only raised if string encoding errors are encountered or in case of object access errors.
list< auto > | hash_values (hash< auto > h)
| Returns a list of all the values in the hash argument passed.
nothing | hash_values ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
int | hextoint (string str)
| Returns an integer for a hexadecimal string value; throws an exception if non-hex digits are found.
nothing | hextoint ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
string | html_decode (string str)
| Returns a string with any HTML escape codes translated to the original characters.
nothing | html_decode ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
string | html_encode (string str)
| Returns a string with characters needing HTML escaping translated to HTML escape codes.
nothing | html_encode ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
nothing | load_module (string name, int warning_mask=WARN_MODULES)
| Loads in a Qore module at run-time.
nothing | load_module ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
*hash< ExceptionInfo > | load_module_warn (string name, int warning_mask=WARN_MODULES)
| Loads in a Qore module at run-time.
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 user module code.
string | makeBase64String (string str, softint maxlinelen=-1)
| Returns a base64-encoded representation of a string.
string | makeBase64String (binary bin, softint maxlinelen=-1)
| Returns a base64-encoded representation of a binary object.
nothing | makeBase64String ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
string | makeHexString (string str)
| Returns a hex-encoded representation of a string.
string | makeHexString (binary bin)
| Returns a hex-encoded representation of a binary object.
nothing | makeHexString ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
string | make_base64_string (string str, softint maxlinelen=-1)
| Returns a base64-encoded representation of a string.
string | make_base64_string (binary bin, softint maxlinelen=-1)
| Returns a base64-encoded representation of a binary object.
string | make_base64_url_string (string str)
| Returns a base64-url-encoded representation of a string.
string | make_base64_url_string (binary bin)
| Returns a base64-url-encoded representation of a binary object.
string | make_hex_string (string str)
| Returns a hex-encoded representation of a string.
string | make_hex_string (binary bin)
| Returns a hex-encoded representation of a binary object.
*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.
nothing | parse ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
binary | parseBase64String (string str)
| Parses a base64 encoded string and returns a binary object of the decoded data.
nothing | parseBase64String ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
string | parseBase64StringToString (string str, *string encoding)
| Parses a base64 encoded string and returns a string of the decoded data.
nothing | parseBase64StringToString ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
binary | parseHexString (string hexstr)
| Parses a hex-encoded string and returns the binary object.
nothing | parseHexString ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
*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 returned.
nothing | parseURL ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
binary | parse_base64_string (string str)
| Parses a base64 encoded string and returns a binary object of the decoded data.
string | parse_base64_string_to_string (string str, *string encoding)
| Parses a base64 encoded string and returns a string of the decoded data.
binary | parse_base64_url_string (string str)
| Parses a base64-url-encoded string and returns a binary object of the decoded data.
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.
binary | parse_hex_string (string hexstr)
| Parses a hex-encoded string and returns the binary object.
hash< UrlInfo > | parse_url (string url, bool keep_brackets)
| Parses a URL string and returns a hash of the components.
hash< UrlInfo > | parse_url (string url, *int options)
| Parses a URL string and returns a hash of the components.
nothing | reload_module (string name)
| Reloads an already-loaded Qore module subject to code injection at run-time into Qore; the module's code is not imported into the current Program object.
nothing | set_global_var_value (string name, auto value)
| set the value of a global variable
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
nothing | set_module_option (string module, string option, auto value)
| set the given module option
| set_return_value (auto val)
| sets the return value for a Program object when running with %exec-class
string | splice (string str)
| This function always returns an empty string `""`.
string | splice (string str, softint start)
| Returns a string based on the argument string but with characters removed from a certain character index.
string | splice (string str, softint start, softint len, *string nstr)
| Returns a string based on the argument string but optionally with characters removed and/or added from a certain character index.
list< auto > | splice (list< auto > l, softint start)
| Returns a list based on the argument list but with elements removed from the given index to the end of the list.
list< auto > | splice (list< auto > l, softint start, softint len)
| Returns a list based on the argument list but optionally with elements removed and/or added from a certain index.
list< auto > | splice (list< auto > l, softint start, softint len, softlist< auto > nlist)
| Returns a list based on the argument list but optionally with elements removed and/or added from a certain index.
nothing | splice ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
int | strtoint (string num, softint base=10)
| parses a string representing a number in a configurable base and returns the integer
nothing | strtoint ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
auto | callObjectMethod (object obj, string method,...)
| Calls a method of an object, passing the remainder of the arguments to the function as arguments to the method.
nothing | callObjectMethod ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
auto | callObjectMethodArgs (object obj, string method, *softlist< auto > varg)
| Calls a method of an object, using the optional third argument as the argument list to the method.
nothing | callObjectMethodArgs ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
auto | call_object_method (object obj, string method,...)
| Calls a method of an object, passing the remainder of the arguments to the function as arguments to the method.
auto | call_object_method_args (object obj, string method, *softlist< auto > varg)
| Calls a method of an object, using the optional third argument as the argument list to the method.
auto | call_pseudo (any val, string meth,...)
| calls a pseudo-method on the given value
auto | call_pseudo_args (any val, string meth, *softlist< auto > argv)
| calls a pseudo-method on the given value with arguments given as a list
auto | call_static_method (string class_name, string method,...)
| Calls a static method of an object, passing the arguments to the function as arguments to the method.
auto | call_static_method_args (string class_name, string method, *softlist< auto > call_args)
| Calls a static method of an object, passing the arguments to the function as arguments to the method.
object | create_object (string class_name,...)
| creates an object from the class name (which can include a namespace path) and optionally any arguments for the constructor
object | create_object_args (string class_name, *softlist< auto > argv)
| creates an object from the class name (which can include a namespace path) and optionally any arguments for the constructor
list | getMethodList (object obj)
| Returns a list of strings of the names of the methods of the class of the object passed as a parameter.
nothing | getMethodList ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
list< string > | get_method_list (object obj)
| Returns a list of strings of the names of the methods of the class of the object passed as a parameter.
*hash | getgrgid (softint gid)
| Returns a group information hash representing the group information for the group ID passed, or, if the group ID does not exist NOTHING is returned.
hash | getgrgid2 (softint gid)
| Returns a group information hash representing the group information for the group ID passed, or, if the group ID does not exist, a `GETGRGID2-ERROR` exception is thrown.
*hash | getgrnam (string name)
| Returns a group information hash representing the group information for the group name passed, or, if the group does not exist NOTHING is returned.
hash | getgrnam2 (string name)
| Returns a group information hash representing the group information for the group name passed, or, if the group does not exist, a `GETGRNAM2-ERROR` exception is thrown.
hash | getpwnam (string name)
| Returns a password information hash representing the user information for the user name passed, or, if the user does not exist NOTHING is returned.
hash | getpwnam2 (string name)
| Returns a password information hash representing the user information for the user name passed, or, if the user does not exist, a `GETPWNAM2-ERROR` exception is thrown.
nothing | getpwuid ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
*hash | getpwuid (softint uid)
| Returns a password information hash representing the user information for the user ID passed, or, if the user ID does not exist NOTHING is returned.
hash | getpwuid2 (softint uid)
| Returns a password information hash representing the user information for the user ID passed, or, if the user ID does not exist, a `GETPWUID2-ERROR` exception is thrown.
string | getusername ()
| returns the current username
int | bindex (softstring str, softstring substr, softint pos=0)
| Retrieves the byte position of a substring within a string.
int | bindex ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
int | brindex (softstring str, softstring substr, softint pos=-1)
| Retrieves the byte position of a substring within a string, starting the search from the end of the string.
int | brindex ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
int | char_width (softstring str)
| Returns the width of characters in the string; some unicode characters take up multiple spaces on output.
string | chomp (string str)
| Removes the trailing end-of-line indicator (`"\n"` or `"\r\n"`) from a string and returns the new string (also see the chomp operator)
*string | chomp (reference< string > str)
| Removes the trailing end-of-line indicator (`"\n"` or `"\r\n"`) from a reference to a string and returns the new string (also see the chomp operator)
nothing | chomp ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
string | chr (softint val, *string encoding)
| Returns a string containing a single ASCII character represented by the numeric value passed.
string | chr (auto arg)
| This function variant returns a string with a single ASCII NULL ('\0'); it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
nothing | chr ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
string | convert_encoding (string str, string encoding)
| Performs explicit string character encoding conversions.
nothing | convert_encoding ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
string | f_printf (string fmt,...)
| Outputs the string passed to standard output, using the first argument as a format string; enforces field widths on arguments larger than the given field width.
string | f_printf ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
string | f_sprintf (string fmt,...)
| Returns a formatted string based on a format string and other arguments; enforces field widths on arguments larger than the given field width.
string | f_sprintf ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
string | f_vprintf (string fmt, auto varg)
| Outputs the string passed to standard output, using the first argument as a format string and a second argument giving a list or a single argument to the format string; enforces field widths on arguments larger than the given field width.
string | f_vsprintf (string fmt, auto varg)
| Returns a formatted string based on a format string and other arguments given as a list after the format string; enforces field widths on arguments larger than the given field width.
nothing | flush ()
| Flushes output to the console output with print(), printf(), etc.
string | force_encoding (string str, string encoding)
| Returns the first string argument tagged with the character encoding given as the second argument; does not actually change the string data.
nothing | force_encoding ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
string | format_number (string fmt, softfloat num)
| Returns a string of a formatted number according to a number argument and a format string.
nothing | format_number ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
string | get_encoding (string str)
| Returns a string describing the character encoding of the string argument passed.
nothing | get_encoding ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
int | index (softstring str, softstring substr, softint pos=0)
| Retrieves the character position of a substring within a string.
int | index ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
string | join (string str,...)
| Creates a string from separator string and a list of arguments.
string | join (string str, list< auto > l)
| Creates a string from separator string and a list of arguments.
nothing | join ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
int | length (softstring str)
| Returns the length in characters for the string passed.
int | length (binary bin)
| Returns the number of bytes in the binary object passed as an argument.
nothing | length ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
int | length (auto arg)
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
string | ltrim (string str, *string chars)
| Removes byte characters from the start of a string and returns the new string.
*string | ltrim (reference< string > str, *string chars)
| Removes byte characters from the start of a reference to an lvalue containing a string and returns string after processing.
int | ord (softstring str, softint offset=0)
| Gives the positive numeric value of the given byte in the string passed; if no string is passed or the offset is after the end of the string, -1 is returned.
int | ord ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
bool | parse_boolean (string str)
| tries to parse a string value as a boolean
bool | parse_boolean (any val)
| returns the first value passed as a boolean
float | parse_float (string str, string fmt)
| returns a floating-point value corresponding to a string representing the number and an argument giving the format
int | parse_int (string str, string fmt)
| returns an integer corresponding to a string representing the number and an argument giving the format
number | parse_number (string str, string fmt)
| returns a number corresponding to the string and the argument, giving the format
nothing | print (...)
| Outputs a string to standard output with no formatting.
string | printf (string fmt,...)
| Outputs the string passed to standard output, using the first argument as a format string; does not enforce field widths on arguments larger than the given field width.
string | printf ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
bool | regex (string str, string regex, int options=0)
| Returns True if the regular expression matches the string passed, otherwise returns False.
nothing | regex ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
*list< *string > | regex_extract (string str, string regex, int options=0)
| Returns a list of substrings in a string based on matching patterns defined by a regular expression.
nothing | regex_extract ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
string | regex_subst (string str, string regex, string subst, int options=0)
| Returns a string with patterns substituted according to the arguments passed.
nothing | regex_subst ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
string | replace (string str, string source, string target, int start=0, int end=-1)
| Replaces all occurrences of a substring in a string with another string.
nothing | replace ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
string | reverse (softstring str)
| Reverses a string and returns the new string.
int | rindex (softstring str, softstring substr, softint pos=-1)
| Retrieves the character position of a substring within a string, starting the search from the end of the string.
int | rindex ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
string | rtrim (string str, *string chars)
| Removes byte characters from the end of a string and returns the new string.
*string | rtrim (reference< string > str, *string chars)
| Removes byte characters from the end of a reference to an lvalue containing a string and returns string after processing.
list< string > | split (string sep, string str, bool with_separator=False)
| Splits a string into a list of components based on a separator string.
list< string > | split (string sep, string str, string quote, bool trim_unquoted=False)
| Splits a string into a list of components based on a separator string and a quote character.
list< binary > | split (data sep, binary data)
| Returns a list of binary objects representing each component of the binary object separated by the bytes identified by the separator argument, with the separator removed.
list< string > | split ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
string | sprintf (string fmt,...)
| Returns a formatted string based on a format string and other arguments; does not enforce field widths on arguments larger than the given field width.
string | sprintf ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
int | strlen (softstring str)
| Returns the length in bytes of the string argument.
nothing | strlen ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
int | strlen (auto arg)
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
string | strmul (softstring str, softint smul, *softint offset)
| Returns a new string with a repeated string element and optionally removing trailing characters.
string | substr (softstring str, softint start)
| Returns a portion of a string starting from an integer offset.
string | substr (softstring str, softint start, softint len)
| Returns a portion of a string starting from an integer offset, with a length parameter.
binary | substr (binary b, softint start)
| Returns a portion of a binary object starting from an integer offset.
binary | substr (binary b, softint start, softint len)
| Returns a portion of a binary object starting from an integer offset, with a length parameter.
nothing | substr ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
string | tolower (string str)
| Returns a string in all lower-case characters based on the argument passed.
nothing | tolower ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
string | toupper (string str)
| Returns a string in all upper-case characters based on the argument passed.
nothing | toupper ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
string | trim (string str, *string chars)
| Removes byte characters from the start and end of a string and returns the new string (also see the trim operator)
*string | trim (reference< string > str, *string chars)
| Removes byte characters from the start and end of a reference to an lvalue containing a string and returns string after processing (also see the trim operator)
nothing | trim ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
string | trunc_str (softstring str, softint len, *string encoding)
| Returns a truncated string with no more than the given number of bytes and optionally converted to a specific character encoding.
string | vprintf (string fmt, auto varg)
| Outputs the string passed to standard output, using the first argument as a format string and a second argument giving a list or a single argument to the format string; does not enforce field widths on arguments larger than the given field width.
string | vprintf ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
string | vsprintf (string fmt, auto varg)
| Returns a formatted string based on a format string and other arguments given as a list after the format string; does not enforce field widths on arguments larger than the given field width.
string | vsprintf ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
bool | active_exception ()
| Returns True if there is an active exception for the current thread.
nothing | delete_all_thread_data ()
| Deletes all keys in the thread-local data hash.
nothing | delete_thread_data (...)
| Deletes the data associated to one or more keys in the thread-local data hash; if the data is an object, then it is destroyed.
nothing | delete_thread_data (list< softstring > l)
| Deletes the data associated to one or more keys in the thread-local data hash; if the data is an object, then it is destroyed.
hash< string, list< hash< CallStackInfo > > > | getAllThreadCallStacks ()
| Returns a hash of lists of CallStackInfo hashes keyed by TID (thread ID)
hash< string, list< hash< CallStackInfo > > > | get_all_thread_call_stacks ()
| Returns a hash of lists of CallStackInfo hashes keyed by TID (thread ID)
hash< auto > | get_all_thread_data ()
| Returns the entire thread-local data hash.
int | get_default_thread_stack_size ()
| returns the default thread stack size
*hash< CallStackInfo > | get_parent_caller_location (int offset=1)
| Returns information about the code in the callstack according to the offset argument.
int | get_stack_size ()
| returns the current thread's stack size
list< hash< CallStackInfo > > | get_thread_call_stack ()
| Returns a list of CallStackInfo hashes for the current TID (thread ID)
auto | get_thread_data (string key)
| Returns the value of the thread-local data attached to the key passed.
nothing | get_thread_data ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
*string | get_thread_name ()
| returns the current thread's descriptive name if set or NOTHING if not
*TimeZone | get_thread_tz ()
| Returns any TimeZone set for the current thread, NOTHING if none is set.
int | gettid ()
| Returns the Qore thread ID (TID) of the current thread.
nothing | mark_thread_resources ()
| Marks thread resources so that any thread resources left allocated after this call will be cleaned up when throw_thread_resource_exceptions_to_mark() is called.
int | num_threads ()
| Returns the current number of threads in the process (not including the special signal handling thread)
*hash< auto > | remove_thread_data (...)
| Removes the data associated to one or more keys in the thread-local data hash and returns the data removed.
hash< auto > | remove_thread_data (list< softstring > l)
| Removes the data associated to one or more keys in the thread-local data hash from a literal list passed as the first argument and returns the data removed.
bool | remove_thread_resource (AbstractThreadResource resource)
| removes a thread resource from the current thread
bool | remove_thread_resource (code resource)
| removes a callable thread resource from the current thread
nothing | save_thread_data (hash< auto > h)
| Saves the data passed in the thread-local hash; all keys are merged into the thread-local hash, overwriting any information that may have been there before.
nothing | save_thread_data (string key, auto value)
| Saves the data passed against the key passed as an argument in thread-local storage.
nothing | save_thread_data ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
int | set_default_thread_stack_size (int size)
| sets the default thread stack size for new threads created after this call and returns the stack size actually set
bool | set_thread_init (*code init)
| Sets a call reference or closure to run every time a new thread is started.
nothing | set_thread_name (string name)
| sets the current thread's descriptive name
nothing | set_thread_resource (AbstractThreadResource resource)
| sets a thread resource for the current thread
nothing | set_thread_resource (code resource, auto arg)
| sets a callable thread resource for the current thread with an optional argument
nothing | set_thread_tz (TimeZone zone)
| Sets the default time zone for the current thread.
nothing | set_thread_tz ()
| Clears the thread-local time zone for the current thread; after this call TimeZone::get() will return the value set for the current Program.
list< int > | thread_list ()
| Returns a list of all current thread IDs.
nothing | thread_yield ()
| yields the current thread so other threads can be scheduled and run
nothing | throwThreadResourceExceptions ()
| Immediately runs all thread resource cleanup routines for the current thread and throws all associated exceptions.
nothing | throw_thread_resource_exceptions ()
| Immediately runs all thread resource cleanup routines for the current thread and throws all associated exceptions.
bool | throw_thread_resource_exceptions_to_mark ()
| Immediately runs all thread resource cleanup routines for the current thread for thread resources created since the last call to mark_thread_resources() and throws all associated exceptions.
int | clock_getmicros ()
| Returns an integer representing the system time in microseconds (1/1000000 second intervals) since Jan 1, 1970 00:00:00Z.
int | clock_getmillis ()
| Returns an integer representing the system time in milliseconds (1/1000 second intervals since Jan 1, 1970 00:00)
int | clock_getnanos ()
| Returns an integer representing the system time in nanoseconds (1/1000000000 second intervals) since Jan 1, 1970 00:00:00Z.
date | date (date dt)
| Returns the date passed.
date | date (string dtstr)
| Converts the argument to a date and returns the date.
date | date (softfloat f)
| The argument is assumed to be the number of seconds and fractions of a second.
date | date (int i)
| The argument is assumed to be the number of seconds.
date | date ()
| This function just returns 1970-01-01Z.
date | date (null null)
| This function just returns 1970-01-01Z.
date | date (string dtstr, string mask)
| Returns the date/time value corresponding to parsing a string argument according to a format mask.
hash< DateTimeInfo > | date_info (date dt)
| Returns a DateTimeInfo hash for the given date argument (can be either a relative or absolute date)
hash< DateTimeInfo > | date_info ()
| Returns a DateTimeInfo hash for the current date and time.
date | date_ms (softint ms)
| Converts an integer argument representing the offset in milliseconds from January 1, 1970 in the local time zone to a date in the local time zone.
nothing | date_ms ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
date | date_us (softint us)
| Converts an integer argument representing the offset in microseconds from January 1, 1970 in the local time zone to a date in the local time zone.
date | days (softint days)
| Returns a relative date/time value in days based on the integer argument passed to be used in date arithmetic.
nothing | days ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
string | format_date (string format, date dt)
| Returns a formatted string for a date argument passed.
nothing | format_date ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
date | getDateFromISOWeek (softint year, softint week, softint day=1)
| Retuns an absolute date value for the ISO-8601 calendar week information passed (year, week number, optional: weekday, where 1=Monday, 7=Sunday) in the current time zone.
int | getDayNumber (date dt)
| Returns an integer representing the ordinal day number in the year (corresponding to the ISO-8601 day number) for the absolute date value passed.
nothing | getDayNumber ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
int | getDayOfWeek (date dt)
| Returns an integer representing the day of the week for the absolute date value passed (0=Sunday, 6=Saturday)
nothing | getDayOfWeek ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
int | getISODayOfWeek (date dt)
| Returns an integer representing the ISO-8601 day of the week for the absolute date value passed (1=Monday, 7=Sunday)
nothing | getISODayOfWeek ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
hash< IsoWeekInfo > | getISOWeekHash (date dt)
| Returns an IsoWeekInfo hash representing the ISO-8601 calendar week information for the absolute date passed (hash keys: `"year"`, `"week"`, `"day"`)
nothing | getISOWeekHash ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
string | getISOWeekString (date dt)
| Returns a string representing the ISO-8601 calendar week information for the absolute date passed (ex: 2006-01-01 = "2005-W52-7")
nothing | getISOWeekString ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
date | get_date_from_iso_week (softint year, softint week, softint day=1)
| Retuns an absolute date value for the ISO-8601 calendar week information passed (year, week number, optional: weekday, where 1=Monday, 7=Sunday) in the current time zone.
int | get_day_number (date dt)
| Returns an integer representing the ordinal day number in the year (corresponding to the ISO-8601 day number) for the absolute date value passed.
int | get_day_of_week (date dt)
| Returns an integer representing the day of the week for the absolute date value passed (0=Sunday, 6=Saturday)
int | get_days (date dt)
| Returns an integer corresponding to the literal day value in the date (does not calculate a duration)
nothing | get_days ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
int | get_duration_microseconds (date dt)
| Returns an integer value representing the the number of microseconds of duration in the value of the date passed (can be either a relative or absolute date)
int | get_duration_milliseconds (date dt)
| Returns an integer value representing the the number of milliseconds of duration in the value of the date passed (can be either a relative or absolute date)
int | get_duration_seconds (date dt)
| Returns an integer value representing the the number of seconds of duration in the value of the date passed (can be either a relative or absolute date)
float | get_duration_seconds_f (date dt)
| Returns a floating-point value representing the the number of seconds of duration in the value of the date passed (can be either a relative or absolute date)
int | get_epoch_microseconds (date dt)
| Returns the number of microseconds of the date and time in local time passed since Jan 1, 1970, 00:00:00 Z (UTC)
int | get_epoch_milliseconds (date dt)
| Returns the number of milliseconds of the date and time in local time passed since Jan 1, 1970, 00:00:00 Z (UTC)
int | get_epoch_seconds (date dt)
| Returns the number of seconds of the date and time in local time passed since Jan 1, 1970, 00:00:00 Z (UTC); negative values are returned for dates before the epoch.
nothing | get_epoch_seconds ()
| This function variant does nothing at all.
int | get_hours (date dt)
| Returns an integer corresponding to the literal hour value in the date (does not calculate a duration)
nothing | get_hours ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
int | get_iso_day_of_week (date dt)
| Returns an integer representing the ISO-8601 day of the week for the absolute date value passed (1=Monday, 7=Sunday)
hash< IsoWeekInfo > | get_iso_week_hash (date dt)
| Returns an IsoWeekInfo hash representing the ISO-8601 calendar week information for the absolute date passed (hash keys: `"year"`, `"week"`, `"day"`)
string | get_iso_week_string (date dt)
| Returns a string representing the ISO-8601 calendar week information for the absolute date passed (ex: 2006-01-01 = "2005-W52-7")
int | get_microseconds (date dt)
| Returns an integer corresponding to the literal microsecond value in the date (does not calculate a duration)
date | get_midnight (date dt)
| Returns midnight on the date passed (strips the time component on the new value)
nothing | get_midnight ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
int | get_milliseconds (date dt)
| Returns an integer corresponding to the literal millisecond value in the date (does not calculate a duration)
nothing | get_milliseconds ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
int | get_minutes (date dt)
| Returns an integer corresponding to the literal minute value in the date (does not calculate a duration)
nothing | get_minutes ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
int | get_months (date dt)
| Returns an integer corresponding to the literal month value in the date (does not calculate a duration)
nothing | get_months ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
int | get_seconds (date dt)
| Returns an integer corresponding to the literal second value in the date (does not calculate a duration)
nothing | get_seconds ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
int | get_years (date dt)
| Returns an integer corresponding to the literal year value in the date (does not calculate a duration)
nothing | get_years ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
date | gmtime ()
| Returns the current UTC (GMT) time with a resolution of a second.
date | gmtime (softint secs, softint us=0)
| Returns a date/time value in UTC (GMT) from arguments giving the number of seconds and microseconds since Jan 1, 1970, 00:00:00 Z (UTC)
date | gmtime (date dt)
| Returns the date and time in UTC (GMT) corresponding to the date argument passed.
date | hours (softint hours)
| Returns a relative date/time value in hours based on the integer argument passed to be used in date arithmetic.
nothing | hours ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
bool | is_date_absolute (date dt)
| Returns True if the argument is an absolute date/time value, False if not.
bool | is_date_absolute ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
bool | is_date_relative (date dt)
| Returns True if the argument is an relative date/time value, False if not.
bool | is_date_relative ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
date | localtime ()
| Returns the current date and time with a resolution to the second.
date | localtime (softint secs, softint us=0)
| Returns the date and time in the local time zone corresponding to the integer arguments passed, which are interpreted as the number of seconds and microseconds since Jan 1, 1970, 00:00:00 Z (UTC)
date | localtime (date dt)
| Returns the date and time in the local time zone corresponding to the date argument passed.
date | microseconds (softint us)
| Returns a relative date/time value in microseconds based on the integer argument passed to be used in date arithmetic.
date | milliseconds (softint ms)
| Returns a relative date/time value in milliseconds based on the integer argument passed to be used in date arithmetic.
nothing | milliseconds ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
date | minutes (softint minutes)
| Returns a relative date/time value in minutes based on the integer argument passed to be used in date arithmetic.
nothing | minutes ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
int | mktime (date dt)
| Returns the number of seconds of the date and time in local time passed since Jan 1, 1970, 00:00:00 Z (UTC); negative values are returned for dates before the epoch.
nothing | mktime ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
date | months (softint months)
| Returns a relative date/time value in months based on the integer argument passed to be used in date arithmetic.
nothing | months ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
date | now ()
| Returns the current date and time with a resolution to the second.
date | now_ms ()
| Returns the current date and time with a resolution to the millisecond.
date | now_us ()
| Returns the current date and time with a resolution to the microsecond.
date | now_utc ()
| Returns the current UTC date and time with a resolution to the microsecond.
date | seconds (softint seconds)
| Returns a relative date/time value in seconds based on the integer argument passed to be used in date arithmetic.
nothing | seconds ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
int | timegm (date dt)
| Returns the number of seconds since January 1, 1970 00:00:00 in the local time zone for the given date.
nothing | timegm ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
date | years (softint years)
| Returns a relative date/time value in years based on the integer argument passed to be used in date arithmetic.
nothing | years ()
| This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
auto | auto_cast (auto val)
| Returns complex types converted to the most specific types possible using internal type folding.
binary | binary ()
| Always returns an empty binary object (of zero length)
binary | binary (null x)
| Always returns an empty binary object (of zero length)
binary | binary (softstring str)
| Returns a binary data type of the string passed; data types other than string will first be converted to a string and then returned as binary data.
binary | binary (binary bin)
| Always returns the same binary object passed.
string | binary_to_string (binary b, *string encoding)
| Returns a string created from the binary data passed, taking an optional second argument giving the string encoding; if no second argument is passed then the default character encoding is assumed.
bool | boolean (any arg)
| Converts the argument to a boolean value.
float | float (softfloat f)
| Converts the argument to a floating-point (float) value.
float | float ()
| Always returns 0.0.
hash< auto > | hash (object obj)
| Returns a hash of an object's members.
hash< auto > | hash (list< auto > l)
| Returns a hash by taking even numbered list elements (starting with 0) and converting them to strings for the hash keys, and the odd numbered elements following the keys as the key value.
hash< auto > | hash (list< softstring > keys, list< auto > values)
| Returns a hash by taking the first list as a list of keys, and the second list as a list of values.
hash | hash (hash h)
| Returns the same hash with all complex types stripped.
hash< auto > | hash ()
| Always returns the same hash passed.
int | int (string str, int base=10)
| Converts the string to an integer value with respect to the base.
int | int (softint i)
| Converts the argument to an integer value.
int | int ()
| Always returns 0.
list< auto > | list (...)
| Returns a list of the arguments passed at the top level.
number | number (softnumber n)
| Converts the argument to a number value.
number | number ()
| Always returns 0.0.
string | string (softstring str, *string enc)
| Converts the argument to a string.
string | string ()
| Always returns an empty string.
string | type (auto arg)
| Returns a string giving the data type of the argument passed; see String Type Constants for the values returned by this function.
string | typename (auto arg)
| Returns a string giving the data type of the argument passed; see String Type Constants for the values returned by this function.

## Variables
const | NF_Default = QORE_NF_DEFAULT
| for the default format with a rounding heuristic to try to remove noise in insignificant digits from the binary to digital conversion of high-precision numbers
const | NF_Raw = QORE_NF_RAW
| for the raw format without the noise reduction heuristic in the NF_Default format
const | NF_Scientific = QORE_NF_SCIENTIFIC
| for the scientific format (exponential notation)
const | SNF_AllDigits = QORE_NUM_ALL_DIGITS
| This is a special constant to be used with string number formatting pseudo-methods that take an integer prec argument; this value indicates that all available digits should be included in the output string.
const | BreakpointPolicyAccept = BKP_PO_ACCEPT
| Consider only threads enumerated in thread list.
const | BreakpointPolicyNone = BKP_PO_NONE
| Thread list is ignored.
const | BreakpointPolicyReject = BKP_PO_REJECT
| Consider all thread except those enumerated in thread list.
const | DefaultStreamBufferSize = 4096
| The default buffer size for the BufferedStreamReader class.
const | DebugDetach = DBG_RS_DETACH
| Detach program from debugging, it is not normally used from script.
const | DebugRun = DBG_RS_RUN
| Run program, avoid stepping.
const | DebugStep = DBG_RS_STEP
| Run one step in program, in case of function call stepping goes on in function.
const | DebugStepOver = DBG_RS_STEP_OVER
| Run one step in program, in case of function call stepping does not go to function.
const | DebugUntilReturn = DBG_RS_UNTIL_RETURN
| Run program till function is exited.
const | DebugFlowBreak = RC_BREAK
| force break Statements command
const | DebugFlowContinue = RC_CONTINUE
| force continue Statements command
const | DebugFlowReturn = RC_RETURN
| force return Statements command
const | O_ACCMODE = O_ACCMODE
| Mask for access modes (O_RDONLY|O_WRONLY|O_RDWR)
const | O_APPEND = O_APPEND
| Open the file in append mode (append on each write)
const | O_CREAT = O_CREAT
| Create the file if it doesn't exist.
const | O_DIRECT = O_DIRECT
| direct disk access hint (0 on platforms where this is not available)
const | O_DIRECTORY = O_DIRECTORY
| must be a directory (0 on platforms where this is not available)
const | O_EXCL = O_EXCL
| Raise an error if used with O_CREAT and the file exists.
const | O_NDELAY = O_NDELAY
| synonym for O_NONBLOCK (untested with Qore; 0 on platforms where this is not available)
const | O_NOCTTY = O_NOCTTY
| don't allocate controlling tty (0 on platforms where this is not available)
const | O_NOFOLLOW = O_NOFOLLOW
| don't follow links (0 on platforms where this is not available)
const | O_NONBLOCK = O_NONBLOCK
| non-blocking I/O (untested with Qore; 0 on platforms where this is not available)
const | O_RDONLY = O_RDONLY
| Open the file read-only.
const | O_RDWR = O_RDWR
| Open for reading and writing.
const | O_SYNC = O_SYNC
| synchronized file update option (0 on platforms where this is not available)
const | O_TRUNC = O_TRUNC
| Truncate the size to zero.
const | O_WRONLY = O_WRONLY
| Open the file write-only.
const | F_RDLCK = F_RDLCK
| Use for read-only locking.
const | F_UNLCK = F_UNLCK
| Use for unlocking a lock.
const | F_WRLCK = F_WRLCK
| Use for exclusive write locking.
const | SEEK_CUR = SEEK_CUR
| Indicates that the offset is from the current position in the file.
const | SEEK_END = SEEK_END
| Indicates that the offset is from the end of the file.
const | SEEK_SET = SEEK_SET
| Indicates that the offset is from the start of the file.
const | UC_MASK_PASSWORD = UC_MASK_PASSWORD
| Mask any password returned.
const | UC_PASSWORD = UC_PASSWORD
| Return password (if any)
const | UC_PATH = UC_PATH
| Return the path (if any)
const | UC_TARGET = UC_TARGET
| Return the target portion of the URL.
const | UC_USERNAME = UC_USERNAME
| Return username (if any)
const | URL_NORMAL = URL_NORMAL
| Return all info.
const | CSP_SETPRIV = CSP_SETPRIV
| Imports the object with private visibility.
const | CSP_SETPUB = CSP_SETPUB
| Imports the object with public visibility.
const | CSP_UNCHANGED = CSP_UNCHANGED
| Imports the object with the same module visibility.
const | DOM_DATABASE = QDOM_DATABASE
| provides access to databases
const | DOM_DEBUGGER = QDOM_DEBUGGER
| provides debugging functionality
const | DOM_EMBEDDED_LOGIC = QDOM_EMBEDDED_LOGIC
| provides dynamic parsing functionality
const | DOM_EXTERNAL_INFO = QDOM_EXTERNAL_INFO
| provides access to external information (ex: hostname, pid, process uid, etc)
const | DOM_EXTERNAL_PROCESS = QDOM_EXTERNAL_PROCESS
| provides external process control functionality (can affect, start, or stop external processes)
const | DOM_FILESYSTEM = QDOM_FILESYSTEM
| provides access to the filesystem
const | DOM_GUI = QDOM_GUI
| provides GUI functionality
const | DOM_INJECTION = QDOM_INJECTION
| provides functionality related to code / dependency injection
const | DOM_LOCALE_CONTROL = QDOM_LOCALE_CONTROL
| provides access to functionality that changes locale information
const | DOM_MODULE = QDOM_MODULES
| provides access to external modules
const | DOM_NETWORK = QDOM_NETWORK
| provides network functionality
const | DOM_PROCESS_CONTROL = QDOM_PROCESS
| provides process control functionality (can affect or stop the current process)
const | DOM_REFLECTION = QDOM_REFLECTION
| provides reflection functionality
const | DOM_TERMINAL_IO = QDOM_TERMINAL_IO
| provides terminal I/O functionality
const | DOM_THREAD_CLASS = QDOM_THREAD_CLASS
| provides thread control functionality
const | DOM_THREAD_CONTROL = QDOM_THREAD_CONTROL
| provides the ability to check or manipulate threads (including starting new threads)
const | DOM_THREAD_INFO = QDOM_THREAD_INFO
| provides access to information regarding threading (tid, active threads, etc)
const | DOM_UNCONTROLLED_API = QDOM_UNCONTROLLED_API
| provides unchecked access to system functionality that could bypass Qore's sandboxing controls
const | DomainCodeMap = qore(pomaps.getDomainToStringMap())
| Maps from functional domain bitfield code values (as string keys) to functional domain names.
const | DomainStringMap = qore(pomaps.getStringToDomainMap())
| Maps from functional domain strings to functional domain bitfield integer codes.
const | PO_ALLOW_BARE_REFS = PO_ALLOW_BARE_REFS
| Prohibits the use of the '$' character in variable names, method calls, and object member references.
const | PO_ALLOW_DEBUGGER = PO_ALLOW_DEBUGGER
| Allows the use of functionality required to implement a debugger, mainly via DebugProgram.
const | PO_ALLOW_INJECTION = PO_ALLOW_INJECTION
| Allows code/dependency injections in the contained Program object.
const | PO_ALLOW_RETURNS = PO_ALLOW_RETURNS
| Allows the use of the deprecated `returns` keyword.
const | PO_ALLOW_STATEMENT_NO_EFFECT = PO_ALLOW_STATEMENT_NO_EFFECT
| Allows for old pre-Qore 0.9 top-level statements having no effect.
const | PO_ALLOW_WEAK_REFERENCES = PO_ALLOW_WEAK_REFERENCES
| Allows the use of the weak assignment operator (:=).
const | PO_ASSUME_LOCAL = PO_ASSUME_LOCAL
| Assume local variable scope when variables are first referenced if no `my or` `our is` present.
const | PO_BROKEN_CAST = PO_BROKEN_CAST
| Allows for old pre-Qore 0.9.4 broken cast<> operator behavior where NOTHING was silently accepted.
const | PO_BROKEN_INT_ASSIGNMENTS = PO_BROKEN_INT_ASSIGNMENTS
| allows for old pre-Qore 0.8.12 broken runtime int assignments where runtime type errors were ignored
const | PO_BROKEN_LIST_PARSING = PO_BROKEN_LIST_PARSING
| allows for old pre-Qore 0.8.12 broken list rewriting in the parser
const | PO_BROKEN_LIST_RANGE = PO_BROKEN_LIST_RANGE
| allows for old pre-Qore 2.0 broken list range handling
const | PO_BROKEN_LOGIC_PRECEDENCE = PO_BROKEN_LOGIC_PRECEDENCE
| allows for old pre-Qore 0.8.12 precedence of logical and bitwise operators
const | PO_BROKEN_LOOP_STATEMENT = PO_BROKEN_LOOP_STATEMENT
| allows for old pre-Qore 0.8.13 handling of break and continue
const | PO_BROKEN_OPERATORS = PO_BROKEN_OPERATORS
| allows for old pre-Qore 0.8.12 broken runtime parsing of multi-character operators with spaces
const | PO_BROKEN_RANGE = PO_BROKEN_RANGE
| allows for old pre-Qore 0.9.5 handling of range() and xrange()
const | PO_BROKEN_REFERENCES = PO_BROKEN_REFERENCES
| allows for old pre-Qore 0.8.13 handling of reference and *reference
const | PO_BROKEN_SPRINTF = PO_BROKEN_SPRINTF
| Enables broken sprintf() handling where no argument is treated diffferently than NOTHING.
const | PO_BROKEN_VARARGS = PO_BROKEN_VARARGS
| allows for old pre-Qore 1.17 handling of varargs
const | PO_DEFAULT = PO_DEFAULT
| This option is the empty option, meaning no options are set.
const | PO_FREE_OPTIONS = PO_FREE_OPTIONS
| mask of options that have no effect on code access or code safety but just affect programming style
const | PO_IN_MODULE = PO_IN_MODULE
| Only set by the system when in a user module Program.
const | PO_LOCKDOWN = PO_LOCKDOWN
| Sets very restrictive access; this restriction is designed to allow code to only execute logic, no I/O, no threading, no external access.
const | PO_LOCK_WARNINGS = PO_LOCK_WARNINGS
| Disallows changes to the warning mask.
const | PO_NEW_STYLE = PO_NEW_STYLE
| Set a more C++ or Java type programming style; prohibits usage of the `"$"` character and also assumes local variable scope without `my.`
const | PO_NO_API = PO_NO_API
| Prohibits any code from being inherited into the Program object, including the system API.
const | PO_NO_CHILD_PO_RESTRICTIONS = PO_NO_CHILD_PO_RESTRICTIONS
| Allows child program objects to have fewer parse restrictions (i.e. more capabilies) than the parent object.
const | PO_NO_CLASS_DEFS = PO_NO_CLASS_DEFS
| Disallows class definitions.
const | PO_NO_CONSTANT_DEFS = PO_NO_CONSTANT_DEFS
| Disallows constant definitions.
const | PO_NO_DATABASE = PO_NO_DATABASE
| Disallows access to database functionality.
const | PO_NO_DEBUGGING = PO_NO_DEBUGGING
| Forbids debugging of the current Program object; when this option is set, debuggers cannot attach to the Program object.
const | PO_NO_EMBEDDED_LOGIC = PO_NO_EMBEDDED_LOGIC
| Prohibits embedded logic from being used.
const | PO_NO_EXTERNAL_ACCESS = PO_NO_EXTERNAL_ACCESS
| Prohibits any external access.
const | PO_NO_EXTERNAL_INFO = PO_NO_EXTERNAL_INFO
| Disallows access to functionality that provides information about the computing environment.
const | PO_NO_EXTERNAL_PROCESS = PO_NO_EXTERNAL_PROCESS
| Disallows any access to external processes (with system(), backquote(), exec(), etc)
const | PO_NO_FILESYSTEM = PO_NO_FILESYSTEM
| Disallows access to the filesystem.
const | PO_NO_GLOBAL_VARS = PO_NO_GLOBAL_VARS
| Disallows the use of global variables.
const | PO_NO_GUI = PO_NO_GUI
| Disallows access to functionality that draws graphics to the display.
const | PO_NO_INHERIT_GLOBAL_VARS = PO_NO_INHERIT_GLOBAL_VARS
| Precludes global variables from being inherited into the new Program object.
const | PO_NO_INHERIT_PROGRAM_DATA = PO_NO_INHERIT_PROGRAM_DATA
| Do not inherit module-specific Program data from the parent.
const | PO_NO_INHERIT_SYSTEM_CLASSES = PO_NO_INHERIT_SYSTEM_CLASSES
| Prohibits system classes from being imported into the new Program object.
const | PO_NO_INHERIT_SYSTEM_CONSTANTS = PO_NO_INHERIT_SYSTEM_CONSTANTS
| Prohibits system constants from being imported into the new Program object.
const | PO_NO_INHERIT_SYSTEM_FUNC_VARIANTS = PO_NO_INHERIT_SYSTEM_FUNC_VARIANTS
| Prohibits builtin/system function variants from being imported into the new Program object.
const | PO_NO_INHERIT_SYSTEM_HASHDECLS = PO_NO_INHERIT_SYSTEM_HASHDECLS
| Prohibits system hashdecls from being imported into the new Program object.
const | PO_NO_INHERIT_USER_CLASSES = PO_NO_INHERIT_USER_CLASSES
| Prohibits user classes from being imported into the new Program object.
const | PO_NO_INHERIT_USER_CONSTANTS = PO_NO_INHERIT_USER_CONSTANTS
| Prohibits user constants from being imported into the new Program object.
const | PO_NO_INHERIT_USER_FUNC_VARIANTS = PO_NO_INHERIT_USER_FUNC_VARIANTS
| Precludes public user function variants from being inherited into the new Program object.
const | PO_NO_INHERIT_USER_HASHDECLS = PO_NO_INHERIT_USER_HASHDECLS
| Prohibits user hashdecls from being imported into the new Program object.
const | PO_NO_IO = PO_NO_IO
| Prohibits all terminal and file I/O and GUI operations.
const | PO_NO_LOCALE_CONTROL = PO_NO_LOCALE_CONTROL
| Disallows access to functionality that can change locale parameters.
const | PO_NO_MODULES = PO_NO_MODULES
| Disallows loading modules with the %requires directive or at runtime with load_module()
const | PO_NO_NAMESPACE_DEFS = PO_NO_NAMESPACE_DEFS
| Disallows new namespace definitions.
const | PO_NO_NETWORK = PO_NO_NETWORK
| Disallows access to network functionality.
const | PO_NO_NEW = PO_NO_NEW
| Disallows use of the new operator.
const | PO_NO_PROCESS_CONTROL = PO_NO_PROCESS_CONTROL
| Disallows access to functions that would affect the current process (exit(), exec(), fork(), etc)
const | PO_NO_REFLECTION = PO_NO_REFLECTION
| Disallows access to reflection.
const | PO_NO_SUBROUTINE_DEFS = PO_NO_SUBROUTINE_DEFS
| Disallows subroutine (function) definitions.
const | PO_NO_SYSTEM_API = PO_NO_SYSTEM_API
| Prohibits any code from being inherited into the Program object, including the system API.
const | PO_NO_SYSTEM_CLASSES = PO_NO_INHERIT_SYSTEM_CLASSES
| Prohibits system classes from being imported into the new Program object.
const | PO_NO_SYSTEM_FUNC_VARIANTS = PO_NO_INHERIT_SYSTEM_FUNC_VARIANTS
| Prohibits builtin/system function variants from being imported into the new Program object.
const | PO_NO_TERMINAL_IO = PO_NO_TERMINAL_IO
| Disallows access to reading from and/or writing to the terminal.
const | PO_NO_THREADS = PO_NO_THREADS
| Prohibits access to all threading information.
const | PO_NO_THREAD_CLASSES = PO_NO_THREAD_CLASSES
| Disallows access to any thread classes.
const | PO_NO_THREAD_CONTROL = PO_NO_THREAD_CONTROL
| Disallows access to any thread-control functions and thread-relevant statements and operators.
const | PO_NO_THREAD_INFO = PO_NO_THREAD_INFO
| Disallows access to functionality that provides information about threading.
const | PO_NO_TOP_LEVEL_STATEMENTS = PO_NO_TOP_LEVEL_STATEMENTS
| Disallows top level code.
const | PO_NO_TRANSIENT = PO_NO_TRANSIENT
| Disallows the transient.
const | PO_NO_UNCONTROLLED_APIS = PO_NO_UNCONTROLLED_APIS
| disallow access to "uncontrolled APIs" like external language bindings or direct generic system call APIs that could bypass Qore's sandboxing controls
const | PO_NO_USER_API = PO_NO_USER_API
| Prohibits any user code from being inherited into the Program object.
const | PO_NO_USER_CLASSES = PO_NO_INHERIT_USER_CLASSES
| Prohibits user classes from being imported into the new Program object.
const | PO_POSITIVE_OPTIONS = PO_POSITIVE_OPTIONS
| mask of all parse options allowing for more freedom (instead of less)
const | PO_REQUIRE_OUR = PO_REQUIRE_OUR
| Requires global variables to be declared with our before use.
const | PO_REQUIRE_PROTOTYPES = PO_REQUIRE_PROTOTYPES
| Requires all function and method parameters and return types to have type declarations.
const | PO_REQUIRE_TYPES = PO_REQUIRE_TYPES
| Requires all function and method parameters, return types, variables, and object members to have type declarations.
const | PO_STRICT_ARGS = PO_STRICT_ARGS
| Prohibits access to builtin functions and methods flagged with RT_NOOP and also causes errors to be raised if excess arguments are given to functions that do not access excess arguments.
const | PO_STRICT_BOOLEAN_EVAL = PO_STRICT_BOOLEAN_EVAL
| Sets strict mathematical boolean evaluation runtime mode (the qore default prior to v0.8.6)
const | PO_STRICT_TYPES = PO_STRICT_TYPES
| Sets strict type checking and automatically sets default values for lvalues with type restrictions for types with default values.
const | PO_STRONG_ENCAPSULATION = PO_STRONG_ENCAPSULATION
| disallows out-of-line class and namespace declarations
const | ParseOptionCmdCodeMap = qore(ParseOptionMap::getCodeToStringMap())
| Maps from parse option code values (as string keys) to parse option names. Names are in form used in script or on command line, e.g. new-style.
const | ParseOptionCmdStringMap = qore(ParseOptionMap::getStringToCodeMap())
| Maps from parse option strings to parse option integer codes. Names are in form used in script or on command line, e.g. new-style.
const | ParseOptionCodeMap = qore(pomaps.getCodeToStringMap())
| Maps from parse option code values (as string keys) to parse option names.
const | ParseOptionStringMap = qore(pomaps.getStringToCodeMap())
| Maps from parse option strings to parse option bitfield integer codes.
const | WARN_ALL = QP_WARN_ALL
| Enables all warnings.
const | WARN_BROKEN_LOGIC_PRECEDENCE = QP_WARN_BROKEN_LOGIC_PRECEDENCE
| This warns before expressions affected by %broken-logic-precedence.
const | WARN_CALL_WITH_TYPE_ERRORS = QP_WARN_CALL_WITH_TYPE_ERRORS
| Enables warnings when the parser determines that the argument types of a function or method call are such that the operation is guaranteed to produce a constant value.
const | WARN_DEFAULT = QP_WARN_DEFAULT
| The default warning mask.
const | WARN_DEPRECATED = QP_WARN_DEPRECATED
| Enables a warning when deprecated code is used.
const | WARN_DUPLICATE_BLOCK_VARS = QP_WARN_DUPLICATE_BLOCK_VARS
| Enables a warning when a program declares a local variable more than once in the same block; note that this is not a warning but rather an error when assume-local or new-style parse options are set.
const | WARN_DUPLICATE_GLOBAL_VARS = QP_WARN_DUPLICATE_GLOBAL_VARS
| Indicates that the embedded code has declared the same global variable more than once.
const | WARN_DUPLICATE_HASH_KEY = QP_WARN_DUPLICATE_HASH_KEY
| Enables a warning when an immediate hash is declared and at least one of the keys is repeated.
const | WARN_DUPLICATE_LOCAL_VARS = QP_WARN_DUPLICATE_LOCAL_VARS
| Enables a warning when a local variable with the same name is declared in a subblock (ie another local variable with the same name is reachable in the same lexical scope); note that this warning can raise false positives if the programmer is used to redeclaring the same variable names in subblocks.
const | WARN_EXCESS_ARGS = QP_WARN_EXCESS_ARGS
| Enables a warning when a function or method call is made with more arguments than are used by the function or method.
const | WARN_INVALID_CATCH = QP_WARN_INVALID_CATCH
| This warns when the catch variable has no type definition and types are required.
const | WARN_INVALID_OPERATION = QP_WARN_INVALID_OPERATION
| Indicates that the embedded code performs some operation that is guaranteed to produce no result (for example, using the [] operator on an integer value)
const | WARN_MODULES = QP_WARN_MODULES
| The default warning mask for user modules.
const | WARN_NONE = QP_WARN_NONE
| Represents no warning.
const | WARN_NONEXISTENT_METHOD_CALL = QP_WARN_NONEXISTENT_METHOD_CALL
| Indicates that the embedded code is calling an unknown method in a class.
const | WARN_RETURN_VALUE_IGNORED = QP_WARN_RETURN_VALUE_IGNORED
| Enables a warning when a function or method call is made with no side effects and the return value is ignored.
const | WARN_UNDECLARED_VAR = QP_WARN_UNDECLARED_VAR
| Indicates that the embedded code referenced an undeclared variable that will be assumed to be a global variable.
const | WARN_UNKNOWN_WARNING = QP_WARN_UNKNOWN_WARNING
| Indicates that the embedded code tried to enable or disable an unknown warning.
const | WARN_UNREACHABLE_CODE = QP_WARN_UNREACHABLE_CODE
| Indicates that code cannot be reached (for example; code in the same local block after an unconditional return or thread_exit statement)
const | WARN_UNREFERENCED_VARIABLE = QP_WARN_UNREFERENCED_VARIABLE
| This warning is raised when a variable is declared in a block but never referenced.
const | WARN_WARNING_MASK_UNCHANGED = QP_WARN_WARNING_MASK_UNCHANGED
| This warning means that the embedded code tried to change the warning mask, but it was locked, so the warning mask was actually unchanged.
const | NT_ALL = NT_ALL
| type code for wildcard types (both with - `"all"` and without - `"auto"` type stripping)
const | NT_BINARY = NT_BINARY
| type code for binary values
const | NT_BOOLEAN = NT_BOOLEAN
| type code for boolean values
const | NT_CALLREF = NT_FUNCREF
| type code for call references
const | NT_CLOSURE = NT_RUNTIME_CLOSURE
| type code for closures
const | NT_DATE = NT_DATE
| type code for date/time values
const | NT_FLOAT = NT_FLOAT
| type code for float values
const | NT_HASH = NT_HASH
| type code for hash values
const | NT_INT = NT_INT
| type code for integer values
const | NT_LIST = NT_LIST
| type code for list values
const | NT_NOTHING = NT_NOTHING
| type code for no value (NOTHING)
const | NT_NULL = NT_NULL
| type code for NULL
const | NT_NUMBER = NT_NUMBER
| type code for number values
const | NT_OBJECT = NT_OBJECT
| type code for objects
const | NT_STRING = NT_STRING
| type code for string values
const | TypeCodeMap
| type code map, looks up type names from type code values
const | TypeNameMap
| type name map, looks up type codes from type names
const | False = bool(false)
| logical False
const | True = bool(true)
| logical True
const | NOTHING = qore(&Nothing)
| a constant representing the lack of a value
const | NULL = qore(&Null)
| logical False
const | ET_System = "System"
| Exception type code system exceptions (thrown in internal Qore code or in modules)
const | ET_User = "User"
| Exception type for user exceptions (thrown by the throw statement)
const | CT_Builtin = CT_BUILTIN
| Call type for builtin code.
const | CT_NewThread = CT_NEWTHREAD
| Call type for the start of a new thread by the background operator.
const | CT_Rethrow = CT_RETHROW
| Call type for an exception thrown by the rethrow statement.
const | CT_User = CT_USER
| Call type for user code.
const | Build = qore(qore_build_number)
| The integer Qore build number.
const | BuildHost = qore(new QoreStringNode(qore_build_host))
| The host name of the host used to build the Qore library.
const | CFLAGS = qore(new QoreStringNode(qore_cflags))
| A string giving the C++ compiler flags used to build Qore.
const | Compiler = qore(new QoreStringNode(qore_cplusplus_compiler))
| A string giving the C++ compiler used to build Qore.
const | DirSep = qore(new QoreStringNode(QORE_DIR_SEP_STR))
| platform-specific directory separator character string
const | LDFLAGS = qore(new QoreStringNode(qore_ldflags))
| A string giving the linker flags used to build Qore.
const | MACHINE_MSB = bool(Q_MACHINE_MSB)
| True if the current machine uses big-endian or MSB byte order or False if the current machine uses little-endian or LSB byte order
const | PathSep = qore(new QoreStringNode(QORE_PATH_SEP_STR))
| platform-specific path separator character string
const | Platform = ("OS": qore(new QoreStringNode(TARGET_OS)), "CPU": qore(new QoreStringNode(TARGET_ARCH)), "Unix": bool(Q_IS_UNIX), "Windows": bool(Q_IS_WINDOWS))
| hash of platform information
const | PlatformCPU = qore(new QoreStringNode(TARGET_ARCH))
| The string for the platform's CPU architecture.
const | PlatformOS = qore(new QoreStringNode(TARGET_OS))
| A string giving the platform operating-system name.
const | VersionMajor = qore(qore_version_major)
| The integer Qore major version number.
const | VersionMinor = qore(qore_version_minor)
| The integer Qore minor version number.
const | VersionString = qore(new QoreStringNode(qore_version_string))
| The full Qore version string.
const | VersionSub = qore(qore_version_sub)
| The integer Qore sub version number.
const | SOURCE_FILE = QORE_SOURCE_FILE
| File class source code
const | SOURCE_FTPCLIENT = QORE_SOURCE_FTPCLIENT
| FtpClient class source code
const | SOURCE_HTTPCLIENT = QORE_SOURCE_HTTPCLIENT
| HTTPClient class source code
const | SOURCE_SOCKET = QORE_SOURCE_SOCKET
| Socket class source code
const | EVENT_MAP
| Maps from Event Constants (the keys) to descriptive strings (the values)
const | EVENT_SOURCE_MAP
| Maps from Event Source Constants (the keys) to descriptive strings (the values)
const | EVENT_CHANNEL_CLOSED = QORE_EVENT_CHANNEL_CLOSED
| Raised when a socket or file is closed.
const | EVENT_CONNECTED = QORE_EVENT_CONNECTED
| Raised when the socket connection has been established.
const | EVENT_CONNECTING = QORE_EVENT_CONNECTING
| Raised right before a socket connection attempt is made.
const | EVENT_DATA_READ = QORE_EVENT_DATA_READ
| Raised when data has been read from a file.
const | EVENT_DATA_WRITTEN = QORE_EVENT_DATA_WRITTEN
| Raised when data has been written to a file.
const | EVENT_DELETED = QORE_EVENT_DELETED
| Raised when the object being monitored is deleted.
const | EVENT_FILE_OPENED = QORE_EVENT_FILE_OPENED
| Raised when a file has been successfully opened.
const | EVENT_FTP_MESSAGE_RECEIVED = QORE_EVENT_FTP_MESSAGE_RECEIVED
| Raised when an FTP reply is received on the control channel.
const | EVENT_FTP_SEND_MESSAGE = QORE_EVENT_FTP_SEND_MESSAGE
| Raised immediately before an FTP control message is sent.
const | EVENT_HOSTNAME_LOOKUP = QORE_EVENT_HOSTNAME_LOOKUP
| Raised when a hostname lookup is started.
const | EVENT_HOSTNAME_RESOLVED = QORE_EVENT_HOSTNAME_RESOLVED
| Raised when a hostname lookup is resolved.
const | EVENT_HTTP_CHUNKED_DATA_READ = QORE_EVENT_HTTP_CHUNKED_DATA_READ
| Raised when data is read if the event data flag is set.
const | EVENT_HTTP_CHUNKED_DATA_RECEIVED = QORE_EVENT_HTTP_CHUNKED_DATA_RECEIVED
| Raised when a block of HTTP chunked data is received.
const | EVENT_HTTP_CHUNKED_DATA_SENT = QORE_EVENT_HTTP_CHUNKED_DATA_SENT
| Raised when data is sent if the event data flag is set.
const | EVENT_HTTP_CHUNKED_END = QORE_EVENT_HTTP_CHUNKED_END
| Raised when all HTTP chunked data has been received.
const | EVENT_HTTP_CHUNKED_FOOTERS_SENT = QORE_EVENT_HTTP_FOOTERS_SENT
| Raised when HTTP footers are sent while receiving chunked data if the event data flag is set.
const | EVENT_HTTP_CHUNKED_START = QORE_EVENT_HTTP_CHUNKED_START
| Raised when HTTP chunked data is about to be received.
const | EVENT_HTTP_CHUNK_SIZE = QORE_EVENT_HTTP_CHUNK_SIZE
| Raised when the next chunk size for HTTP chunked data is known.
const | EVENT_HTTP_CONTENT_LENGTH = QORE_EVENT_HTTP_CONTENT_LENGTH
| Raised when the HTTP `"Content-Length"` header is received.
const | EVENT_HTTP_FOOTERS_RECEIVED = QORE_EVENT_HTTP_FOOTERS_RECEIVED
| Raised when HTTP footers are received.
const | EVENT_HTTP_HEADERS_READ = QORE_EVENT_HTTP_HEADERS_READ
| Raised when HTTP headers are received.
const | EVENT_HTTP_MESSAGE_RECEIVED = QORE_EVENT_HTTP_MESSAGE_RECEIVED
| Raised when an HTTP message is received.
const | EVENT_HTTP_REDIRECT = QORE_EVENT_HTTP_REDIRECT
| Raised when an HTTP redirect message is received.
const | EVENT_HTTP_SEND_MESSAGE = QORE_EVENT_HTTP_SEND_MESSAGE
| Raised when an HTTP message is sent.
const | EVENT_OPEN_FILE = QORE_EVENT_OPEN_FILE
| Raised right before a file is opened.
const | EVENT_PACKET_READ = QORE_EVENT_PACKET_READ
| Raised when a network packet is received.
const | EVENT_PACKET_SENT = QORE_EVENT_PACKET_SENT
| Raised when a network packet is sent.
const | EVENT_SOCKET_DATA_READ = QORE_EVENT_SOCKET_DATA_READ
| Raised when data is read on the socket if the event data flag is set.
const | EVENT_SOCKET_DATA_SENT = QORE_EVENT_SOCKET_DATA_SENT
| Raised when data is sent on the socket if the event data flag is set.
const | EVENT_SSL_ESTABLISHED = QORE_EVENT_SSL_ESTABLISHED
| Raised when SSL communication has been negotiated and established.
const | EVENT_START_SSL = QORE_EVENT_START_SSL
| Raised when socket SSL negotiation starts.
const | stderr = qore(QC_FILE->execSystemConstructor(2))
| system constant for stderr (file descriptor 2)
const | stderr_stream = qore(QC_FILEOUTPUTSTREAM->execSystemConstructor(2))
| system constant for stderr OutputStream (file descriptor 2)
const | stdin = qore(QC_FILE->execSystemConstructor(0))
| system constant for stdin (file descriptor 0)
const | stdin_stream = qore(QC_FILEINPUTSTREAM->execSystemConstructor(0))
| system constant for stdin InputStream (file descriptor 0)
const | stdout = qore(QC_FILE->execSystemConstructor(1))
| system constant for stdout (file descriptor 1)
const | stdout_stream = qore(QC_FILEOUTPUTSTREAM->execSystemConstructor(1))
| system constant for stdout OutputStream (file descriptor 1)
const | S_IFBLK = S_IFBLK
| Bitmask signifying if the file is a block special (device) file.
const | S_IFCHR = S_IFCHR
| Bit signifying if the file is a character special (device) file.
const | S_IFDIR = S_IFDIR
| Bit signifying if the entry is a directory.
const | S_IFLNK = S_IFLNK
| Bitmask signifying if the file is a symbolic link; equal to 0 on native Windows ports.
const | S_IFMT = S_IFMT
| File type bitmask
const | S_IFREG = S_IFREG
| Bit signifying if the file is a regular file.
const | S_IFSOCK = S_IFSOCK
| Bitmask signifying if the file is a socket file; equal to 0 on native Windows ports.
const | S_IFWHT = S_IFWHT
| Bitmask signifying if the file is a whiteout file; equal to 0 on native Windows ports.
const | S_IRGRP = S_IRGRP
| Bit signifying if the file's group has read permissions; equal to 0 on native Windows ports.
const | S_IROTH = S_IROTH
| Bit signifying if other has read permissions; equal to 0 on native Windows ports.
const | S_IRUSR = S_IRUSR
| Bit signifying if the file's owner has read permissions.
const | S_IRWXG = S_IRWXG
| Bitmask giving the RWX mask for the group; equal to 0 on native Windows ports.
const | S_IRWXO = S_IRWXO
| Bitmask giving the RWX mask for other; equal to 0 on native Windows ports.
const | S_IRWXU = S_IRWXU
| Bitmask giving the RWX mask for the owner.
const | S_ISGID = S_ISGID
| Bit signifying set group id on execution; equal to 0 on native Windows ports.
const | S_ISUID = S_ISUID
| Bit signifying set user id on execution; equal to 0 on native Windows ports.
const | S_ISVTX = S_ISVTX
| Bit signifying restricted deletes for directories; equal to 0 on native Windows ports.
const | S_IWGRP = S_IWGRP
| Bit signifying if the file's group has write permissions; equal to 0 on native Windows ports.
const | S_IWOTH = S_IWOTH
| Bit signifying if other has write permissions; equal to 0 on native Windows ports.
const | S_IWUSR = S_IWUSR
| Bit signifying if the file's owner has write permissions.
const | S_IXGRP = S_IXGRP
| Bit signifying if the file's group has execute permissions; equal to 0 on native Windows ports.
const | S_IXOTH = S_IXOTH
| Bit signifying if other has execute permissions; equal to 0 on native Windows ports.
const | S_IXUSR = S_IXUSR
| Bit signifying if the file's owner has execute permissions.
const | QSF_INCLUDE_STATIC_CLASS_VARS = QSF_INCLUDE_STATIC_CLASS_VARS
| Serialize static class vars of classes serialized.
const | QDF_MERGE_STATIC_CLASS_VARS = QDF_MERGE_STATIC_CLASS_VARS
| Deserialize static class vars and merge hashes; implies QDF_STATIC_CLASS_VARS.
const | QDF_STATIC_CLASS_VARS = QDF_STATIC_CLASS_VARS
| Deserialize static class vars.
const | SOCK_POLLERR = SOCK_POLLERR
| (output only) indicates that the socket or connection is closed
const | SOCK_POLLIN = SOCK_POLLIN
| (input and output) for polling for read events
const | SOCK_POLLOUT = SOCK_POLLOUT
| (input and output) for polling for write events
const | SSL_VERIFY_CLIENT_ONCE = SSL_VERIFY_CLIENT_ONCE
| Only request a client certificate once in server mode.
const | SSL_VERIFY_FAIL_IF_NO_PEER_CERT = SSL_VERIFY_FAIL_IF_NO_PEER_CERT
| Require a client certificate in server mode.
const | SSL_VERIFY_NONE = SSL_VERIFY_NONE
| Do not verify the peer's certificate.
const | SSL_VERIFY_PEER = SSL_VERIFY_PEER
| Verify the peer's certificate.
const | X509_V_ERR_AKID_ISSUER_SERIAL_MISMATCH = "X509_V_ERR_AKID_ISSUER_SERIAL_MISMATCH"
| Issuer name and serial number of candidate certificate do not match the authority key identifier of the current certificate.
const | X509_V_ERR_AKID_SKID_MISMATCH = "X509_V_ERR_AKID_SKID_MISMATCH"
| The current candidate issuer certificate was rejected because its subject key identifier was present and did not match the authority key identifier of the current certificate.
const | X509_V_ERR_APPLICATION_VERIFICATION = "X509_V_ERR_APPLICATION_VERIFICATION"
| Verification failure.
const | X509_V_ERR_CERT_CHAIN_TOO_LONG = "X509_V_ERR_CERT_CHAIN_TOO_LONG"
| Certificate chain too long.
const | X509_V_ERR_CERT_HAS_EXPIRED = "X509_V_ERR_CERT_HAS_EXPIRED"
| Certificate has expired.
const | X509_V_ERR_CERT_NOT_YET_VALID = "X509_V_ERR_CERT_NOT_YET_VALID"
| Certificate is not yet valid.
const | X509_V_ERR_CERT_REJECTED = "X509_V_ERR_CERT_REJECTED"
| Root CA is marked to reject the specified purpose.
const | X509_V_ERR_CERT_REVOKED = "X509_V_ERR_CERT_REVOKED"
| Certificate has been revoked.
const | X509_V_ERR_CERT_SIGNATURE_FAILURE = "X509_V_ERR_CERT_SIGNATURE_FAILURE"
| Certificate signature failure; the signature of the certificate is invalid.
const | X509_V_ERR_CERT_UNTRUSTED = "X509_V_ERR_CERT_UNTRUSTED"
| Root CA is not marked as trusted for the specified purpose.
const | X509_V_ERR_CRL_HAS_EXPIRED = "X509_V_ERR_CRL_HAS_EXPIRED"
| CRL has expired.
const | X509_V_ERR_CRL_NOT_YET_VALID = "X509_V_ERR_CRL_NOT_YET_VALID"
| CRL is not yet valid.
const | X509_V_ERR_CRL_SIGNATURE_FAILURE = "X509_V_ERR_CRL_SIGNATURE_FAILURE"
| CRL signature failure; the signature of the certificate is invalid.
const | X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT = "X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT"
| Certificate is self-signed and cannot be found in the trusted list.
const | X509_V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD = "X509_V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD"
| Format error in certificate's notAfter field (invalid time)
const | X509_V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD = "X509_V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD"
| Format error in certificate's notBefore field (invalid time)
const | X509_V_ERR_ERROR_IN_CRL_LAST_UPDATE_FIELD = "X509_V_ERR_ERROR_IN_CRL_LAST_UPDATE_FIELD"
| Format error in CRL's lastUpdate field (invalid time)
const | X509_V_ERR_ERROR_IN_CRL_NEXT_UPDATE_FIELD = "X509_V_ERR_ERROR_IN_CRL_NEXT_UPDATE_FIELD"
| Format error in CRL's nextUpdate field (invalid time)
const | X509_V_ERR_INVALID_CA = "X509_V_ERR_INVALID_CA"
| Invalid CA certificate.
const | X509_V_ERR_INVALID_PURPOSE = "X509_V_ERR_INVALID_PURPOSE"
| The certificate cannot be used for the specified purpose.
const | X509_V_ERR_KEYUSAGE_NO_CERTSIGN = "X509_V_ERR_KEYUSAGE_NO_CERTSIGN"
| The keyUsage extension does not permit certificate signing.
const | X509_V_ERR_OUT_OF_MEM = "X509_V_ERR_OUT_OF_MEM"
| Out of memory error.
const | X509_V_ERR_PATH_LENGTH_EXCEEDED = "X509_V_ERR_PATH_LENGTH_EXCEEDED"
| The basicConstraints pathlength parameter has been exceeded.
const | X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN = "X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN"
| Self signed certificate in certificate chain.
const | X509_V_ERR_SUBJECT_ISSUER_MISMATCH = "X509_V_ERR_SUBJECT_ISSUER_MISMATCH"
| The current candidate issuer certificate was rejected because its subject name did not match the issuer name of the current certificate.
const | X509_V_ERR_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY = "X509_V_ERR_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY"
| Unable to decode issuer public key (SubjectPublicKeyInfo)
const | X509_V_ERR_UNABLE_TO_DECRYPT_CERT_SIGNATURE = "X509_V_ERR_UNABLE_TO_DECRYPT_CERT_SIGNATURE"
| Unable to decrypt certificate's signature. This means that the actual signature value could not be determined rather than it not matching the expected value; this is only meaningful for RSA.
const | X509_V_ERR_UNABLE_TO_DECRYPT_CRL_SIGNATURE = "X509_V_ERR_UNABLE_TO_DECRYPT_CRL_SIGNATURE"
| Unable to decrypt CRL's signature.
const | X509_V_ERR_UNABLE_TO_GET_CRL = "X509_V_ERR_UNABLE_TO_GET_CRL"
| Unable to get certificate CRL.
const | X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT = "X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT"
| Unable to get issuer certificate.
const | X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY = "X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY"
| Unable to get local issuer certificate. This normally means the list of trusted certificates is not complete.
const | X509_V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE = "X509_V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE"
| Unable to verify the first certificate.
const | X509_V_OK = "X509_V_OK"
| Verification OK.
const | X509_VerificationReasons
| maps from varification strings to verification code descriptions
const | AFMap = qore(get_network_address_family_map())
| mapping from Network Address Family Constants to string codes
const | AFStrMap
| mapping from network address family string codes to Network Address Family Constants
const | AF_INET = AF_INET
| IPv4 address family.
const | AF_INET6 = AF_INET6
| IPv6 address family.
const | AF_LOCAL = AF_LOCAL
| POSIX synonym for AF_UNIX.
const | AF_UNIX = AF_UNIX
| UNIX domain address family (UNIX socket files)
const | AF_UNSPEC = AF_UNSPEC
| unspecified address family
const | AI_ADDRCONFIG = AI_ADDRCONFIG
| if this bit is set, addresses of each family are returned only if they are configured on the system
const | AI_ALL = AI_ALL
| If this bit is set along with AI_V4MAPPED then all matching IPv6 and IPv4 addresses are returned.
const | AI_CANONNAME = AI_CANONNAME
| If this bit is set, then getaddrinfo() will return the canonical name of the hostname in the `"canonname"` key of the first element returned.
const | AI_NUMERICHOST = AI_NUMERICHOST
| If this bit is set, then the host is assumed to be an address and no hostname lookup will be preformed.
const | AI_NUMERICSERV = AI_NUMERICSERV
| If this bit is set, then the service is assumed to be a numeric port string, and no service lookup will be performed.
const | AI_PASSIVE = AI_PASSIVE
| If this bit is set, then the returned information should be usable for a call to Socket::bind()
const | AI_V4MAPPED = AI_V4MAPPED
| If this bit is set, getaddrinfo() will return IPv4-mapped IPv6 addresses on finding no matching IPv6 addresses.
const | IPPROTO_TCP = IPPROTO_TCP
| for the TCP protocol
const | IPPROTO_UDP = IPPROTO_UDP
| for the UDP protocol
const | SOCK_DGRAM = SOCK_DGRAM
| for datagrams (connectionless, unreliable messages of a fixed (typically small) maximum length
const | SOCK_RAW = SOCK_RAW
| raw socket interface, only available to the superuser, untested
const | SOCK_STREAM = SOCK_STREAM
| for sequenced, reliable, two-way connection-based byte streams (the default)
const | ALTWERASE = ALTWERASE
| use alternate WERASE algorithm
const | ECHO = ECHO
| enable echoing
const | ECHOCTL = ECHOCTL
| echo control chars as ^(Char)
const | ECHOE = ECHOE
| visually erase chars
const | ECHOKE = ECHOKE
| visual erase for line kill
const | ECHONL = ECHONL
| echo NL even if ECHO is off
const | ECHOPRT = ECHOPRT
| visual erase mode for hardcopy
const | EXTPROC = EXTPROC
| external processing
const | FLUSHO = FLUSHO
| output being flushed (state)
const | ICANON = ICANON
| canonicalize input lines
const | IEXTEN = IEXTEN
| enable DISCARD and LNEXT
const | ISIG = ISIG
| enable signals INTR, QUIT, [D]SUSP
const | NOFLSH = NOFLSH
| don't flush after interrupt
const | NOKERNINFO = NOKERNINFO
| no kernel output from VSTATUS
const | PENDIN = PENDIN
| retype pending input (state)
const | TOSTOP = TOSTOP
| stop background jobs from output
const | CCAR_OFLOW = CCAR_OFLOW
| DCD flow control of output.
const | CCTS_OFLOW = CCTS_OFLOW
| CTS flow control of output.
const | CDSR_OFLOW = CDSR_OFLOW
| DSR flow control of output.
const | CLOCAL = CLOCAL
| ignore modem status lines
const | CREAD = CREAD
| enable receiver
const | CRTSCTS = CRTSCTS
| CTS flow control of output and RTS flow control of input.
const | CRTS_IFLOW = CRTS_IFLOW
| RTS flow control of input.
const | CS5 = CS5
| character size mask: 5 bits
const | CS6 = CS6
| character size mask: 6 bits
const | CS7 = CS7
| character size mask: 7 bits
const | CS8 = CS8
| character size mask: 8 bits
const | CSIZE = CSIZE
| character size mask
const | CSTOPB = CSTOPB
| send 2 stop bits
const | HUPCL = HUPCL
| hang up on last close
const | MDMBUF = MDMBUF
| old name for CCAR_OFLOW
const | PARENB = PARENB
| parity enable
const | PARODD = PARODD
| odd parity, else even
const | OCRNL = OCRNL
| map CR to NL on output
const | ONLCR = ONLCR
| map NL to CR-NL (ala CRMOD)
const | ONLRET = ONLRET
| NL performs CR function.
const | ONOCR = ONOCR
| no CR output at column 0
const | ONOEOT = ONOEOT
| discard EOT's (^D) on output
const | OPOST = OPOST
| enable following output processing
const | OXTABS = OXTABS
| expand tabs to spaces
const | BRKINT = BRKINT
| map BREAK to SIGINTR
const | ICRNL = ICRNL
| map CR to NL (ala CRMOD)
const | IGNBRK = IGNBRK
| ignore BREAK condition
const | IGNCR = IGNCR
| ignore CR
const | IGNPAR = IGNPAR
| ignore (discard) parity errors
const | IMAXBEL = IMAXBEL
| ring bell on input queue full
const | INLCR = INLCR
| map NL into CR
const | INPCK = INPCK
| enable checking of parity errors
const | ISTRIP = ISTRIP
| strip 8th bit off chars
const | IXANY = IXANY
| any char will restart after stop
const | IXOFF = IXOFF
| enable input flow control
const | IXON = IXON
| enable output flow control
const | PARMRK = PARMRK
| mark parity and framing errors
const | VDISCARD = VDISCARD
| subscript for the VDISCARD character
const | VDSUSP = VDSUSP
| subscript for the VDSUSP character
const | VEOF = VEOF
| subscript for the EOF character
const | VEOL = VEOL
| subscript for the EOL character
const | VEOL2 = VEOL2
| subscript for the EOL2 character
const | VERASE = VERASE
| subscript for the VERASE character
const | VINTR = VINTR
| subscript for the VINTR character
const | VKILL = VKILL
| subscript for the VKILL character
const | VLNEXT = VLNEXT
| subscript for the VLNEXT character
const | VMIN = VMIN
| subscript for the VMIN value
const | VQUIT = VQUIT
| subscript for the VQUIT character
const | VREPRINT = VREPRINT
| subscript for the VREPRINT character
const | VSTART = VSTART
| subscript for the VSTART character
const | VSTATUS = VSTATUS
| subscript for the character
const | VSTOP = VSTOP
| subscript for the VSTOP character
const | VSUSP = VSUSP
| subscript for the VSUSP character
const | VTIME = VTIME
| subscript for the VTIME value
const | VWERASE = VWERASE
| subscript for the VWERASE character
const | _POSIX_VDISABLE = _POSIX_VDISABLE
| if the value of any key is this value, it means that the key is disabled
const | TCSADRAIN = TCSADRAIN
| drain output, then change
const | TCSAFLUSH = TCSAFLUSH
| drain output, flush input
const | TCSANOW = TCSANOW
| make change immediate
const | TCSASOFT = TCSASOFT
| flag - don't alter hardware state
const | BZ2_DEFAULT_COMPRESSION = BZ2_DEFAULT_COMPRESSION
| gives the default compression level for the bzip2() function, providing a trade-off between compression speed and compression size (value: `3`)
const | COMPRESSION_LEVEL_DEFAULT = COMPRESSION_LEVEL_DEFAULT
| Identifies the default compression level appropriate for given algorithm.
const | Z_DEFAULT_COMPRESSION = Z_DEFAULT_COMPRESSION
| gives the default compression level for the compress() and gzip() functions, providing a trade-off between compression speed and compression size
const | COMPRESSION_ALG_BZIP2 = str(CompressionTransforms::ALG_BZIP2)
| Identifies the bzip2 algorithm
const | COMPRESSION_ALG_GZIP = str(CompressionTransforms::ALG_GZIP)
| Identifies the GZIP Format (RFC 1952)
const | COMPRESSION_ALG_ZLIB = str(CompressionTransforms::ALG_ZLIB)
| Identifies the ZLIB Compressed Data Format (RFC 1950)
const | CRYPTO_ALG_AES_128 = "aes128"
| Identifies the AES cryptographic algorithm in Galois Counter Mode (GCM) with a 128-bit (16 byte) key.
const | CRYPTO_ALG_AES_192 = "aes192"
| Identifies the AES cryptographic algorithm in Galois Counter Mode (GCM) with a 192-bit (24 byte) key.
const | CRYPTO_ALG_AES_256 = "aes256"
| Identifies the AES cryptographic algorithm in Galois Counter Mode (GCM) with a 256-bit (32 byte) key.
const | CRYPTO_ALG_BLOWFISH = "blowfish"
| Identifies the blowfish cryptographic algorithm in Cipher Block Chaining (CBC) mode with a variable-length key.
const | CRYPTO_ALG_BLOWFISH_CFB = "blowfish-cfb"
| Identifies the blowfish cryptographic algorithm in Cipher Feedback (CFB) mode with a variable-length key.
const | CRYPTO_ALG_BLOWFISH_OFB = "blowfish-ofb"
| Identifies the blowfish cryptographic algorithm in Output Feedback (OFB) mode with a variable-length key.
const | CRYPTO_ALG_CAST5 = "cast5"
| Identifies the CAST5 cryptographic algorithm in Cipher Block Chaining (CBC) mode with a variable-length key.
const | CRYPTO_ALG_CAST5_CFB = "cast5-cfb"
| Identifies the CAST5 cryptographic algorithm in Cipher Feedback (CFB) mode with a variable-length key.
const | CRYPTO_ALG_CAST5_OFB = "cast5-ofb"
| Identifies the CAST5 cryptographic algorithm in Output Feedback (OFB) mode with a variable-length key.
const | CRYPTO_ALG_DES = "des"
| Identifies the DES cryptographic algorithm in Cipher Block Chaining (CBC) mode with a 64-bit (8 byte) key.
const | CRYPTO_ALG_DESX = "desx"
| Identifies RSA's DESX cryptographic algorithm in Cipher Block Chaining (CBC) mode with a 192-bit (24 byte) key.
const | CRYPTO_ALG_DES_CFB = "des-cfb"
| Identifies the DES cryptographic algorithm in Cipher Feedback (CFB) mode with a 64-bit (8 byte) key.
const | CRYPTO_ALG_DES_EDE = "desede"
| Identifies the two-key triple DES algorithm in Cipher Block Chaining (CBC) mode with a 128-bit (16 byte) key.
const | CRYPTO_ALG_DES_EDE3 = "desede3"
| Identifies the three-key triple DES algorithm in Cipher Block Chaining (CBC) mode with a 192-bit (24 byte) key.
const | CRYPTO_ALG_DES_EDE3_CFB = "desede3-cfb"
| Identifies the three-key triple DES algorithm in Cipher Feedback (CFB) mode with a 192-bit (24 byte) key.
const | CRYPTO_ALG_DES_EDE3_OFB = "desede3-ofb"
| Identifies the three-key triple DES algorithm in Output Feedback (OFB) mode with a 192-bit (24 byte) key.
const | CRYPTO_ALG_DES_EDE_CFB = "desede-cfb"
| Identifies the two-key triple DES algorithm in Cipher Feedback (CFB) mode with a 128-bit (16 byte) key.
const | CRYPTO_ALG_DES_EDE_OFB = "desede-ofb"
| Identifies the two-key triple DES algorithm in Output Feedback (OFB) mode with a 128-bit (16 byte) key.
const | CRYPTO_ALG_DES_OFB = "des-ofb"
| Identifies the DES cryptographic algorithm in Output Feedback (OFB) mode with a 64-bit (8 byte) key.
const | CRYPTO_ALG_RC2 = "rc2"
| Identifies RSA's RC2(tm) cryptographic algorithm in Cipher Block Chaining (CBC) mode with a variable-length key.
const | CRYPTO_ALG_RC2_CFB = "rc2-cfb"
| Identifies RSA's RC2(tm) cryptographic algorithm in Cipher Feedback (CFB) mode with a variable-length key.
const | CRYPTO_ALG_RC2_OFB = "rc2-ofb"
| Identifies RSA's RC2(tm) cryptographic algorithm in Output Feedback (OFB) mode with a variable-length key.
const | CRYPTO_ALG_RC4 = "rc4"
| Identifies the Alleged RC4 cryptographic algorithm, which should be compatible with RSA's RC4(TM) algorithm in Cipher Block Chaining (CBC) mode with a variable-length key.
const | CRYPTO_ALG_RC5 = "rc5"
| Identifies the RC5 cryptographic algorithm in Cipher Block Chaining (CBC) mode with a variable-length key.
const | CRYPTO_ALG_RC5_CFB = "rc5-cfb"
| Identifies the RC5 cryptographic algorithm in Cipher Feedback (CFB) mode with a variable-length key.
const | CRYPTO_ALG_RC5_OFB = "rc5-ofb"
| Identifies the RC5 cryptographic algorithm in Output Feedback (OFB) mode with a variable-length key.
const | DefaultIV = <0000000000000000>
| The default 8-byte initialization vector is simply a 8-byte string of nulls.
const | DefaultIV16 = <00000000000000000000000000000000>
| The default 16-byte initialization vector is simply a 16-byte string of nulls.
const | CRYPTO_DIGEST_DSS = "dss"
| specifies the DSS message digest (based on SHA-0 and DSA)
const | CRYPTO_DIGEST_DSS1 = "dss1"
| specifies the DSS1 message digest (based on SHA1 and DSA)
const | CRYPTO_DIGEST_MD2 = "md2"
| specifies the MD2 message digest
const | CRYPTO_DIGEST_MD4 = "md4"
| specifies the MD4 message digest
const | CRYPTO_DIGEST_MD5 = "md5"
| specifies the MD5 message digest
const | CRYPTO_DIGEST_MDC2 = "mdc2"
| specifies the MDC2 message digest
const | CRYPTO_DIGEST_RIPEMD160 = "ripemd160"
| specifies the RIPEMD message digest
const | CRYPTO_DIGEST_SHA = "sha"
| specifies the insecure and outdated SHA-0 message digest; only supplied for compatibility purposes
const | CRYPTO_DIGEST_SHA1 = "sha1"
| specifies the SHA1 message digest
const | CRYPTO_DIGEST_SHA224 = "sha224"
| specifies the SHA-224 message digest (a variant of SHA-2)
const | CRYPTO_DIGEST_SHA256 = "sha256"
| specifies the SHA-256 message digest (a variant of SHA-2)
const | CRYPTO_DIGEST_SHA384 = "sha384"
| specifies the SHA-384 message digest (a variant of SHA-2)
const | CRYPTO_DIGEST_SHA512 = "sha512"
| specifies the SHA-512 message digest (a variant of SHA-2)
const | CipherMap = qore(init_cipher_map_hash())
| A hash keyed by supported cipher name where each value is an informational hash.
const | DigestMap = qore(init_digest_map_hash())
| A hash keyed by supported digest name where each value is True.
const | QLO_DISABLE_GARBAGE_COLLECTION = QLO_DISABLE_GARBAGE_COLLECTION
| disable garbage collection / recursive object reference detection (init only)
const | QLO_DISABLE_OPENSSL_CLEANUP = QLO_DISABLE_OPENSSL_CLEANUP
| do not perform cleanup on the openssl library (= is cleaned up manually; init only)
const | QLO_DISABLE_OPENSSL_INIT = QLO_DISABLE_OPENSSL_INIT
| do not initialize the openssl library (= is initialized before the qore library is initialized; init only)
const | QLO_DISABLE_SIGNAL_HANDLING = QLO_DISABLE_SIGNAL_HANDLING
| disable qore signal handling entirely (init only)
const | QLO_DISABLE_TLS_13 = QLO_DISABLE_TLS_13
| disable TLS v1.3 (may be set at runtime with qore_set_library_options())
const | QLO_DO_NOT_SEED_RNG = QLO_DO_NOT_SEED_RNG
| disable seeding the random number generator when the Qore library is initialized (init only)
const | QLO_MINIMUM_TLS_13 = QLO_MINIMUM_TLS_13
| enable minimum TLS v1.3 (may be set at runtime with qore_set_library_options())
const | QLO_RUNTIME_OPTS = QLO_RUNTIME_OPTS
| bitmask for library options that can be set at runtime
const | MAXINT = LLONG_MAX
| largest integer
const | MININT = qore(QoreValue(-LLONG_MAX - 1))
| smallest integer
const | M_PI = 3.14159265358979323846
| PI (floating-point)
const | M_PIn = qore(pi_number())
| PI (arbitrary-precision numeric)
const | QURL_DECODE = QURL_DECODE
| Perform percent decoding on the `"host"`, `"username"`, and `"password"` fields.
const | QURL_DECODE_PATH = QURL_DECODE_PATH
| Decodes all fields like QURL_DECODE plus also performs percent decoding on `"path"` and `"query"` fields.
const | QURL_KEEP_BRACKETS = QURL_KEEP_BRACKETS
| If the hostname or address is enclosed in square brackets, the brackets will be included in the `"host"` key.
const | QURL_MAINTAIN_CASE = QURL_MAINTAIN_CASE
| Do not convert the protocol (scheme) to lower case when parsing URLs.
const | CE_ALL = CE_ALL
| code for encoding everything
const | CE_HTML = CE_HTML
| code for encoding HTML 5 symbols as named character references
const | CE_NONASCII = CE_NONASCII
| code for encoding all non-ASCII symbols as numeric character references
const | CE_XHTML = CE_XHTML
| code for encoding XHTML entities
const | CE_XML = CE_XML
| code for encoding XML entities
const | CD_ALL = CD_ALL
| code for decoding everything
const | CD_HTML = CD_HTML
| code for decoding HTML 5 named character references to their native symbols
const | CD_NUM_REF = CD_NUM_REF
| code for decoding numeric character references to symbols
const | CD_XHTML = CD_XHTML
| code for decoding XHTML named character references to symbols
const | CD_XML = CD_XML
| code for decoding XML entities
const | NameToSignal
| maps signal names to signal values
const | SIGABRT = SIGABRT
| SIGABRT.
const | SIGALRM = SIGALRM
| SIGALRM.
const | SIGBUS = SIGBUS
| SIGBUS.
const | SIGCANCEL = SIGCANCEL
| SIGCANCEL.
const | SIGCHLD = SIGCHLD
| SIGCHLD.
const | SIGCLD = SIGCLD
| SIGCLD.
const | SIGCONT = SIGCONT
| SIGCONT.
const | SIGEMT = SIGEMT
| SIGEMT.
const | SIGFPE = SIGFPE
| SIGFPE.
const | SIGFREEZE = SIGFREEZE
| SIGFREEZE.
const | SIGHUP = SIGHUP
| SIGHUP.
const | SIGILL = SIGILL
| SIGILL.
const | SIGINFO = SIGINFO
| SIGINFO.
const | SIGINT = SIGINT
| SIGINT.
const | SIGIO = SIGIO
| SIGIO.
const | SIGIOT = SIGIOT
| SIGIOT.
const | SIGJVM1 = SIGJVM1
| SIGJVM1.
const | SIGJVM2 = SIGJVM2
| SIGJVM2.
const | SIGKILL = SIGKILL
| SIGKILL.
const | SIGLOST = SIGLOST
| SIGLOST.
const | SIGLWP = SIGLWP
| SIGLWP.
const | SIGPIPE = SIGPIPE
| SIGPIPE.
const | SIGPOLL = SIGPOLL
| SIGPOLL.
const | SIGPROF = SIGPROF
| SIGPROF.
const | SIGPWR = SIGPWR
| SIGPWR.
const | SIGQUIT = SIGQUIT
| SIGQUIT.
const | SIGSEGV = SIGSEGV
| SIGSEGV.
const | SIGSTKFLT = SIGSTKFLT
| SIGSTKFLT.
const | SIGSTOP = SIGSTOP
| SIGSTOP.
const | SIGSYS = SIGSYS
| SIGSYS.
const | SIGTERM = SIGTERM
| SIGTERM.
const | SIGTHAW = SIGTHAW
| SIGTHAW.
const | SIGTRAP = SIGTRAP
| SIGTRAP.
const | SIGTSTP = SIGTSTP
| SIGTSTP.
const | SIGTTIN = SIGTTIN
| SIGTTIN.
const | SIGTTOU = SIGTTOU
| SIGTTOU.
const | SIGURG = SIGURG
| SIGURG.
const | SIGUSR1 = SIGUSR1
| SIGUSR1.
const | SIGUSR2 = SIGUSR2
| SIGUSR2.
const | SIGVTALRM = SIGVTALRM
| SIGVTALRM.
const | SIGWAITING = SIGWAITING
| SIGWAITING.
const | SIGWINCH = SIGWINCH
| SIGWINCH.
const | SIGXCPU = SIGXCPU
| SIGXCPU.
const | SIGXFSZ = SIGXFSZ
| SIGXFSZ.
const | SIGXRES = SIGXRES
| SIGXRES.
const | SignalToName
| maps signal numbers (as a string key) to the symbolic name for the signal
const | RE_Caseless = PCRE2_CASELESS
| Ignores case when matching regular expressions, equivalent to `/i`
const | RE_DotAll = PCRE2_DOTALL
| makes a dot (.) match a newline character, equivalent to /s
const | RE_Extended = PCRE2_EXTENDED
| ignores whitespace characters and enables comments prefixed by #, equivalent to `/x`
const | RE_Global = QRE_GLOBAL
| replace all matches globally in the string or extract all occurrences of the pattern(s) in the string, equivalent to `/g`
const | RE_MultiLine = PCRE2_MULTILINE
| makes start-of-line (^) or end-of-line ($) match after or before any newline in the subject string, equivalent to `/m`
const | RE_Unicode = PCRE2_UCP
| extends Posix matches to the full Unicode character set

## Detailed Description

main Qore-language namespace

Qore namespace.