All Classes Namespaces Functions Variables Groups Pages
qc_qore.dox.h
namespace Qore {
const NT_BINARY = NT_BINARY;
const NT_BOOLEAN = NT_BOOLEAN;
const NT_CALLREF = NT_FUNCREF;
const NT_CLOSURE = NT_RUNTIME_CLOSURE;
const NT_DATE = NT_DATE;
const NT_FLOAT = NT_FLOAT;
const NT_HASH = NT_HASH;
const NT_INT = NT_INT;
const NT_LIST = NT_LIST;
const NT_NOTHING = NT_NOTHING;
const NT_NULL = NT_NULL;
const NT_NUMBER = NT_NUMBER;
const NT_OBJECT = NT_OBJECT;
const NT_STRING = NT_STRING;
};
namespace Qore {
const TypeCodeMap = (
"0": "nothing",
"1": "integer",
"2": "float",
"3": "string",
"4": "date",
"5": "bool",
"6": "NULL",
"7": "binary",
"8": "list",
"9": "hash",
"10": "object",
"11": "number",
"29": "call reference",
"32": "closure",
);
const TypeNameMap = (
"nothing": NT_NOTHING,
"integer": NT_INT,
"float": NT_FLOAT,
"number": NT_NUMBER,
"string": NT_STRING,
"date": NT_DATE,
"bool": NT_BOOLEAN,
"NULL": NT_NULL,
"binary": NT_BINARY,
"list": NT_LIST,
"hash": NT_HASH,
"object": NT_OBJECT,
"call reference": NT_FUNCREF,
"closure": NT_RUNTIME_CLOSURE,
);
};
namespace Qore {
const False = bool(false);
const True = bool(true);
};
namespace Qore {
const NOTHING = qore(&Nothing);
const NULL = qore(&Null);
};
namespace Qore {
const ET_System = "System";
const ET_User = "User";
};
namespace Qore {
const CT_Builtin = CT_BUILTIN;
const CT_NewThread = CT_NEWTHREAD;
const CT_Rethrow = CT_RETHROW;
const CT_User = CT_USER;
};
namespace Qore {
const Build = qore(new QoreBigIntNode(qore_build_number));
const BuildHost = qore(new QoreStringNode(qore_build_host));
const CFLAGS = qore(new QoreStringNode(qore_cflags));
const Compiler = qore(new QoreStringNode(qore_cplusplus_compiler));
const LDFLAGS = qore(new QoreStringNode(qore_ldflags));
const MACHINE_MSB = bool(Q_MACHINE_MSB);
const PlatformCPU = qore(new QoreStringNode(TARGET_ARCH));
const PlatformOS = qore(new QoreStringNode(TARGET_OS));
const VersionMajor = qore(new QoreBigIntNode(qore_version_major));
const VersionMinor = qore(new QoreBigIntNode(qore_version_minor));
const VersionString = qore(new QoreStringNode(qore_version_string));
const VersionSub = qore(new QoreBigIntNode(qore_version_sub));
};
namespace Qore {
const SOURCE_FILE = QORE_SOURCE_FILE;
const SOURCE_FTPCLIENT = QORE_SOURCE_FTPCLIENT;
const SOURCE_HTTPCLIENT = QORE_SOURCE_HTTPCLIENT;
const SOURCE_SOCKET = QORE_SOURCE_SOCKET;
};
namespace Qore {
const EVENT_MAP = (
"1": "PACKET_READ",
"2": "PACKET_SENT",
"3": "HTTP_CONTENT_LENGTH",
"4": "HTTP_CHUNKED_START",
"5": "HTTP_CHUNKED_END",
"6": "HTTP_REDIRECT",
"7": "CHANNEL_CLOSED",
"8": "DELETED",
"9": "FTP_SEND_MESSAGE",
"10": "FTP_MESSAGE_RECEIVED",
"11": "HOSTNAME_LOOKUP",
"12": "HOSTNAME_RESOLVED",
"13": "HTTP_SEND_MESSAGE",
"14": "HTTP_MESSAGE_RECEIVED",
"15": "HTTP_FOOTERS_RECEIVED",
"16": "HTTP_CHUNKED_DATA_RECEIVED",
"17": "HTTP_CHUNK_SIZE",
"18": "CONNECTING",
"19": "CONNECTED",
"20": "START_SSL",
"21": "SSL_ESTABLISHED",
"22": "OPEN_FILE",
"23": "FILE_OPENED",
"24": "DATA_READ",
"25": "DATA_WRITTEN",
);
const EVENT_SOURCE_MAP = (
"1": "SOCKET",
"2": "HTTPCLIENT",
"3": "FTPCLIENT",
"4": "FILE",
);
};
namespace Qore {
const EVENT_CHANNEL_CLOSED = QORE_EVENT_CHANNEL_CLOSED;
const EVENT_CONNECTED = QORE_EVENT_CONNECTED;
const EVENT_CONNECTING = QORE_EVENT_CONNECTING;
const EVENT_DATA_READ = QORE_EVENT_DATA_READ;
const EVENT_DATA_WRITTEN = QORE_EVENT_DATA_WRITTEN;
const EVENT_DELETED = QORE_EVENT_DELETED;
const EVENT_FILE_OPENED = QORE_EVENT_FILE_OPENED;
const EVENT_FTP_MESSAGE_RECEIVED = QORE_EVENT_FTP_MESSAGE_RECEIVED;
const EVENT_FTP_SEND_MESSAGE = QORE_EVENT_FTP_SEND_MESSAGE;
const EVENT_HOSTNAME_LOOKUP = QORE_EVENT_HOSTNAME_LOOKUP;
const EVENT_HOSTNAME_RESOLVED = QORE_EVENT_HOSTNAME_RESOLVED;
const EVENT_HTTP_CHUNKED_DATA_RECEIVED = QORE_EVENT_HTTP_CHUNKED_DATA_RECEIVED;
const EVENT_HTTP_CHUNKED_END = QORE_EVENT_HTTP_CHUNKED_END;
const EVENT_HTTP_CHUNKED_START = QORE_EVENT_HTTP_CHUNKED_START;
const EVENT_HTTP_CHUNK_SIZE = QORE_EVENT_HTTP_CHUNK_SIZE;
const EVENT_HTTP_CONTENT_LENGTH = QORE_EVENT_HTTP_CONTENT_LENGTH;
const EVENT_HTTP_FOOTERS_RECEIVED = QORE_EVENT_HTTP_FOOTERS_RECEIVED;
const EVENT_HTTP_MESSAGE_RECEIVED = QORE_EVENT_HTTP_MESSAGE_RECEIVED;
const EVENT_HTTP_REDIRECT = QORE_EVENT_HTTP_REDIRECT;
const EVENT_HTTP_SEND_MESSAGE = QORE_EVENT_HTTP_SEND_MESSAGE;
const EVENT_OPEN_FILE = QORE_EVENT_OPEN_FILE;
const EVENT_PACKET_READ = QORE_EVENT_PACKET_READ;
const EVENT_PACKET_SENT = QORE_EVENT_PACKET_SENT;
const EVENT_SSL_ESTABLISHED = QORE_EVENT_SSL_ESTABLISHED;
const EVENT_START_SSL = QORE_EVENT_START_SSL;
};
namespace Qore {
const stderr = qore(QC_FILE->execSystemConstructor(2));
const stdin = qore(QC_FILE->execSystemConstructor(0));
const stdout = qore(QC_FILE->execSystemConstructor(1));
};