|
enum | QuotedStrSplitBehavior { SplitWhereverSep = 0
, SplitSkipQuotedString
} |
|
enum | CaseSensitivity { CaseInsensitive = Qt::CaseInsensitive
, CaseSensitive = Qt::CaseSensitive
} |
|
enum | HttpMethod {
Invalid = 0
, Get
, Head
, Post
,
Options
, Put
, Delete
, Trace
,
Connect
, Patch
} |
|
enum | HttpStatusCode {
Continue = 100
, SwitchingProtocols = 101
, OK = 200
, Created = 201
,
Accepted = 202
, NonAuthoritativeInformation = 203
, NoContent = 204
, ResetContent = 205
,
PartialContent = 206
, MultipleChoices = 300
, MovedPermanently = 301
, Found = 302
,
SeeOther = 303
, NotModified = 304
, UseProxy = 305
, TemporaryRedirect = 307
,
BadRequest = 400
, Unauthorized = 401
, PaymentRequired = 402
, Forbidden = 403
,
NotFound = 404
, MethodNotAllowed = 405
, NotAcceptable = 406
, ProxyAuthenticationRequired = 407
,
RequestTimeout = 408
, Conflict = 409
, Gone = 410
, LengthRequired = 411
,
PreconditionFailed = 412
, RequestEntityTooLarge = 413
, RequestURITooLong = 414
, UnsupportedMediaType = 415
,
RequestedRangeNotSatisfiable = 416
, ExpectationFailed = 417
, InternalServerError = 500
, NotImplemented = 501
,
BadGateway = 502
, ServiceUnavailable = 503
, GatewayTimeout = 504
, HTTPVersionNotSupported = 505
} |
|
enum | AjaxOption {
Asynchronous = 0
, ContentType
, Encoding
, Method
,
Parameters
, PostBody
, RequestHeaders
, EvalJS
,
EvalJSON
, SanitizeJSON
} |
|
enum | AjaxEvent {
Create = 100
, Uninitialized
, Loading
, Loaded
,
Interactive
, Success
, Failure
, Complete
} |
|
enum | ValidationRule {
Required = 0
, MaxLength
, MinLength
, IntMax
,
IntMin
, DoubleMax
, DoubleMin
, EmailAddress
,
Url
, Date
, Time
, DateTime
,
Pattern
, Custom
, RuleCount
} |
|
enum | EscapeFlag { Compatible = 0
, Quotes
, NoQuotes
} |
|
enum | SortOrder { AscendingOrder = Qt::AscendingOrder
, DescendingOrder = Qt::DescendingOrder
} |
|
enum | AppAttribute {
ListenPort = 0
, InternalEncoding = 1
, HttpOutputEncoding = 2
, Locale = 3
,
MultiProcessingModule = 4
, UploadTemporaryDirectory = 5
, SqlDatabaseSettingsFiles = 6
, MongoDbSettingsFile = 7
,
RedisSettingsFile = 8
, MemcachedSettingsFile = 9
, SqlQueriesStoredDirectory = 10
, DirectViewRenderMode = 11
,
ApplicationAbortOnFatal = 13
, LimitRequestBody
, EnableCsrfProtectionModule
, EnableHttpMethodOverride
,
SessionName
, SessionStoreType
, SessionAutoIdRegeneration
, SessionCookiePath
,
SessionGcProbability
, SessionGcMaxLifeTime
, SessionSecret
, SessionCsrfProtectionKey
,
MPMThreadMaxAppServers
, MPMThreadMaxThreadsPerAppServer
, MPMEpollMaxAppServers
, SystemLogFilePath
,
SystemLogLayout
, SystemLogDateTimeFormat
, AccessLogFilePath
, AccessLogLayout
,
AccessLogDateTimeFormat
, ActionMailerDeliveryMethod
, ActionMailerCharacterSet
, ActionMailerDelayedDelivery
,
ActionMailerSmtpHostName
, ActionMailerSmtpPort
, ActionMailerSmtpAuthentication
, ActionMailerSmtpUserName
,
ActionMailerSmtpPassword
, ActionMailerSmtpEnablePopBeforeSmtp
, ActionMailerSmtpPopServerHostName
, ActionMailerSmtpPopServerPort
,
ActionMailerSmtpPopServerEnableApop
, ActionMailerSendmailCommandLocation
, HttpKeepAliveTimeout
, LDPreload
,
JavaScriptPath
, ListenAddress
, SessionCookieMaxAge
, SessionCookieDomain
,
CacheSettingsFile
, CacheBackend
, CacheGcProbability
, CacheEnableCompression
,
SessionCookieSameSite
, EnableForwardedForHeader
, TrustedProxyServers
, ActionMailerSmtpRequireTLS
,
SqlQueryLogFilePath
, SqlQueryLogLayout
, SqlQueryLogDateTimeFormat
} |
|
enum | CloseCode {
NormalClosure = 1000
, GoingAway = 1001
, ProtocolError = 1002
, UnsupportedData = 1003
,
Reserved = 1004
, NoStatusRcvd = 1005
, AbnormalClosure = 1006
, InvalidFramePayloadData = 1007
,
PolicyViolation = 1008
, MessageTooBig = 1009
, MandatoryExtension = 1010
, InternalError = 1011
,
ServiceRestart = 1012
, TryAgainLater = 1013
, TLSHandshake = 1015
} |
|
enum | LogPriority {
FatalLevel = 0
, ErrorLevel
, WarnLevel
, InfoLevel
,
DebugLevel
, TraceLevel
} |
|
enum class | KvsEngine : int {
CacheKvs = 0
, MongoDB
, Redis
, Memcached
,
SharedMemory
, Num
} |
|
enum class | SocketState : int { Unconnected = 0
, Connecting
, Connected
} |
|
enum | SystemOpCode {
InvalidOpCode = 0x00
, WebSocketSendText = 0x01
, WebSocketSendBinary = 0x02
, WebSocketPublishText = 0x03
,
WebSocketPublishBinary = 0x04
, MaxOpCode = 0x04
} |
|
|
T_CORE_EXPORT void | setupAppLoggers (TLogger *logger=nullptr) |
|
T_CORE_EXPORT void | releaseAppLoggers () |
|
T_CORE_EXPORT void | logging (int priority, const QByteArray &msg) |
|
T_CORE_EXPORT TWebApplication * | app () noexcept |
|
T_CORE_EXPORT TAppSettings * | appSettings () noexcept |
|
T_CORE_EXPORT const QVariantMap & | conf (const QString &configName) noexcept |
|
T_CORE_EXPORT void | msleep (int64_t msecs) noexcept |
|
T_CORE_EXPORT int64_t | getMSecsSinceEpoch () |
|
T_CORE_EXPORT uint32_t | rand32_r () noexcept |
|
T_CORE_EXPORT uint64_t | rand64_r () noexcept |
|
T_CORE_EXPORT uint64_t | random (uint64_t min, uint64_t max) noexcept |
|
T_CORE_EXPORT uint64_t | random (uint64_t max) noexcept |
|
T_CORE_EXPORT TCache * | cache () noexcept |
|
T_CORE_EXPORT TAbstractController * | currentController () |
|
const TAbstractController * | constCurrentController () |
|
T_CORE_EXPORT TDatabaseContext * | currentDatabaseContext () |
|
T_CORE_EXPORT QSqlDatabase & | currentSqlDatabase (int id) noexcept |
|
T_CORE_EXPORT QMap< QByteArray, std::function< QObject *()> > * | objectFactories () noexcept |
|
T_CORE_EXPORT QByteArray | lz4Compress (const char *data, int nbytes, int compressionLevel=1) noexcept |
|
T_CORE_EXPORT QByteArray | lz4Compress (const QByteArray &data, int compressionLevel=1) noexcept |
|
T_CORE_EXPORT QByteArray | lz4Uncompress (const char *data, int nbytes) noexcept |
|
T_CORE_EXPORT QByteArray | lz4Uncompress (const QByteArray &data) noexcept |
|
bool | strcmp (const QByteArray &str1, const QByteArray &str2) |
|
template<typename... Args> |
void | fatal (const std::format_string< Args... > &fmt, Args &&... args) |
|
template<typename... Args> |
void | error (const std::format_string< Args... > &fmt, Args &&... args) |
|
template<typename... Args> |
void | warn (const std::format_string< Args... > &fmt, Args &&... args) |
|
template<typename... Args> |
void | info (const std::format_string< Args... > &fmt, Args &&... args) |
|
template<typename... Args> |
void | debug (const std::format_string< Args... > &fmt, Args &&... args) |
|
template<typename... Args> |
void | trace (const std::format_string< Args... > &fmt, Args &&... args) |
|
T_CORE_EXPORT void | setAppLogLayout (const QByteArray &layout) |
|
T_CORE_EXPORT void | setAppLogDateTimeFormat (const QByteArray &format) |
|
T_CORE_EXPORT void | setupSystemLogger (TSystemLogger *logger=nullptr) |
|
T_CORE_EXPORT void | releaseSystemLogger () |
|
T_CORE_EXPORT void | tSystemMessage (int priority, const QByteArray &message) |
|
T_CORE_EXPORT void | setupAccessLogger () |
|
T_CORE_EXPORT void | releaseAccessLogger () |
|
T_CORE_EXPORT bool | isAccessLoggerAvailable () |
|
T_CORE_EXPORT void | setupQueryLogger () |
|
T_CORE_EXPORT void | releaseQueryLogger () |
|
T_CORE_EXPORT void | writeAccessLog (const TAccessLog &log) |
|
T_CORE_EXPORT void | writeQueryLog (const QString &query, bool success, const QSqlError &error, int duration) |
|
T_CORE_EXPORT void | traceQuery (int duration, const QByteArray &msg) |
|
template<typename... Args> |
void | traceQueryLog (int duration, const std::format_string< Args... > &fmt, Args &&... args) |
|
T_CORE_EXPORT QMap< QString, QVariant > | settingsToMap (QSettings &settings, const QString &env=QString()) |
|
The Tf namespace contains miscellaneous identifiers used throughout the library of TreeFrog Framework.