WARNING: USE THIS SOFTWARE AT YOUR OWN RISK! THIS IS EXPERIMENTAL SOFTWARE NOT INTENDED FOR PRODUCTION USE! Zuble is currently an early stage prototype. As such Zuble is minimally tested and inherently unstable. It is provided for experimental, development, and demonstration purposes only. Zuble QML Types   |  Zuble C++ Classes   |  Zuble Overview
Zuble  0.1
Zuble Framework C++/QML extension API
Classes | Typedefs | Enumerations | Functions | Variables
Zbl Namespace Reference

Classes

class  ZAndGate
 A software AND gate that monitors an arbitrary number of input properties from multiple objects and produces a single AND-ed output. When all inputs are true output is true. If any input is false output is false. More...
 
class  ZApplication
 Zuble's Singleton Application Object. More...
 
class  ZblApp
 The primary QML API to the Zuble plugin library. Zuble applications access this object through the javascript global name "Zbl". More...
 
class  ZblCog
 Maintains a map of Zuble Sprockets and creates Sprocket object factories for javascript background threads. Manages Zuble resource plugins. More...
 
class  Zblcore
 The core Zuble QML Extension plugin class. More...
 
class  ZblDatabase
 This class allows QSqlDatabase objects to be accessed directly from QML code. (database sprocket) More...
 
class  ZbldatabasePlugin
 The QML extension plugin class for the database sprocket. More...
 
class  ZblDataModel
 This class is an implementation of an N+1 dimensional data store suitable for use as a generic QAbstractItemModel data container. More...
 
class  ZblError
 Data object for thread local error status information. More...
 
class  ZblException
 Zuble's Qt Exception Object. More...
 
class  ZblFactory
 An object factory that creates new instances of objects defined by a Zuble sprocket. Used primarily to construct sprocket objects in Zuble background threads. More...
 
class  ZblJsonHelper
 Converts objects between JSON and QJSValue domains for a specific QJSEngine instance. More...
 
class  ZblLogAgent
 This class provides a thread-safe log message back end for the Zuble log manager. More...
 
class  ZblLogBkSearch
 Performs log file searches in a background thread. More...
 
class  ZblLogCategory
 Zuble objects embed this class to save local logging state. More...
 
class  ZblLogFileOutIF
 Interface for log output modules that perform file operations. More...
 
class  ZblLogFormatJSONRecords
 
class  ZblLogFormatPlainText
 
class  ZblLogLinkList
 This class allows Zuble log file viewer text search operations to pass log record link parameters between threads. More...
 
class  ZblLogManager
 The Zuble Log Manager is a singleton object that controls logging in Zuble applications. More...
 
class  ZblLogMap
 Logmap objects contain a collection of compressed links to log records. More...
 
class  ZblLogMapData
 The implicitly shared data object encapsulated by ZblLogMap objects. More...
 
class  ZblLogMark
 Defines the location of a single log record in a log file. More...
 
class  ZblLogMessage
 This class is used to transfer log messages between threads. More...
 
class  ZblLogOutput
 Abstract base class for Zuble log output modules. More...
 
class  ZblLogParams
 This class contains the Zuble logging parameters that control log output. More...
 
class  ZblLogReader
 This class performs log file I/O operations and JSON parsing in a background thread on behalf of a ZLogReader object. More...
 
class  ZblLogReclinkData
 Explicitly shared data object encapsulates a list of log record links. More...
 
class  ZblLogRecord
 Contains a cached representation of a log record. More...
 
class  ZblLogScanner
 Log record scanner/highlighter object encapsulates logic for locating and marking up search text. More...
 
class  ZblLogSearch
 This object encapsulates search operation parameters, results, and steady state. More...
 
class  ZblLogSearchList
 This class allows Zuble log file viewer text search operations to pass search results between threads. More...
 
class  ZblLogSearchParams
 This class allows Zuble log file viewer text search operations to pass parameters between threads. More...
 
class  ZblLogTargetIF
 Interface for logger backend target modules. More...
 
class  ZblLogTextFormatterIF
 Interface for log output modules that perform text formatting operations. More...
 
class  ZblLogToHistory
 
class  ZblLogToStdout
 
class  ZblLogToText
 
class  ZblLogToTextFile
 
class  ZblLogWorker
 This class provides a thread-safe log message back end for the Zuble log manager. More...
 
class  ZblResource
 Represents a binary resource file created by Qt's resource complier. More...
 
class  ZblSprocket
 This class holds the state for managing a Zuble sprocket. More...
 
class  ZblSprockOb
 This class acts as an object construction wrapper for objects defined in Zuble Sprocket plugins. More...
 
class  ZblTableCell
 A table cell object contains the data for its child cells and maintains the cell's positional relationship in the data model's N-dimensional table cell hierarchy. More...
 
class  ZblTableData
 A table data object contains the role data and model item flags for a 2 dimensional array of model data cells. More...
 
class  ZblTableHeaders
 Contains the data for data model column and row headers. More...
 
class  ZblThreadErr
 A class to manage Zuble's thread-specific state. This includes error propagation and thread abort handling. More...
 
class  ZByteArray
 This class supports streaming of text and binary data. More...
 
class  ZDataStream
 Reads and writes binary data to an i/o stream. More...
 
class  ZDir
 Access and manipulate file directories. This class is a Javascript wrapper for QDir objects. More...
 
class  ZFile
 A javascript wrapper for QFile. More...
 
class  ZFileInfo
 A Javascript object for passing Zuble file information from C++ to Javascript. This is a wrapper class for QFileInfoList. More...
 
class  ZFileSystemWatcher
 This class wraps QFileSystemWatcher and adds path reference counting. More...
 
class  ZioDevice
 A javascript wrapper for QIODevice. More...
 
class  ZLogBookmark
 Encapsulates information necessary to locate a collection of log records in a log file. More...
 
class  ZLogMap
 Maintains a list of log record links pertaining to a specific log file. More...
 
class  ZLogReader
 A QML type that manages reading JSON formatted Zuble log files. QML programs create using Zbl.newLogReader() More...
 
class  ZLogReclinkModel
 A data model containing a list of log record links. This is used for displaying a ZLogMap object. More...
 
class  ZLogSearch
 A wrapper for the explicitly shared ZblLogSearch object. More...
 
class  ZLogViewport
 A log viewport encapsulates a ZTableModel containing a contiguous subset of log records from a Zuble log file. More...
 
class  ZMailbox
 A two-way messaging communication channel that supports buffered message streams to multiple end points. More...
 
class  ZMailslot
 A two-way buffered message stream with attached user-defined data cache. More...
 
class  ZMap
 A Javascript dictionary object. More...
 
class  ZMessageQueue
 A message queue that decouples sending and processing of messages. More...
 
class  ZProcess
 QML/Javascript wrapper for the QProcess class, allows QML programs to spawn and communicate with a background operating system process. More...
 
class  ZResourceEdifyIF
 This interface allows Qt applications to access Zuble's platform-independent binary resource management functions. More...
 
class  ZSchemaValidator
 This class wraps the QXmlSchemaValidator and QXmlSchema classes. More...
 
class  ZScopedMap
 A hierarchical map object for creating scopes. More...
 
class  ZScriptThread
 A thread class to support Zuble's background Javascript processing. More...
 
class  ZScriptWorker
 A class for executing javascript programs in a background worker thread. More...
 
class  ZSettings
 Wraps the QSettings class and implements a JSON-based backend for storing the settings data. More...
 
class  ZsqlDatabase
 A javascript wrapper class for QSqlDatabase objects. This object represents a database connection. (database sprocket) More...
 
class  ZsqlError
 A Javascript wrapper for QSqlError objects. (database sprocket) More...
 
class  ZsqlQuery
 A javascript wrapper class for QSqlQuery objects. This object represents a query on a database connection. More...
 
class  ZsqlRecord
 Javascript wrapper for a QSqlRecord object. More...
 
class  ZsqlResult
 The ZsqlResult class (TDB: currently unused!) More...
 
class  ZTableColumn
 Defines a column in a ZTableView. More...
 
class  ZTableColumnList
 Defines columns in a ZTableView. More...
 
class  ZTableFile
 This class in theory allows reading and writing of ZTableModel objects to JSON files. (TBD: currently unused/untested?) More...
 
class  ZTableModel
 This two dimensional table model is used to store and manipulate data. More...
 
class  ZTextFeed
 This class provides a means of directing a text stream to listeners. More...
 
class  ZTextStream
 Reads and writes UTF-8 text to an i/o stream. More...
 
class  ZxItem
 This class allows Javascript programs to access QXmlItem objects. More...
 
class  ZxMessageHandler
 A class to pass parsing error messages from QXmlQuery to a listener. The message is passed as a JSON object. More...
 
class  ZxMessageListener
 Classes that listen for ZxMessageHandler messages derive from this class and override the zMessage() virtual method. More...
 
class  ZxQuery
 This class provides access to the QXMLQuery class from Javascript. More...
 
class  ZxResultItems
 This class provides access to the QXmlResultItems class from Javascript programs. It accumulates the results of an XQuery as an array of QXmlItem objects. More...
 

Typedefs

typedef QMap< QString, ZScriptThread * > ZScriptMap
 
typedef QList< ZblLogRecordzLogRecordList
 
typedef QSharedPointer< ZblLogSearchzblLogSearchPtr
 
typedef QObject *(* sprocketObjectConstructor) (QObject *parent)
 A pointer to a function that creates a Zuble Sprocket object. Sprocket object constructor functions should be thread-safe. More...
 
typedef QMap< QString, ZblSprocket * > sprocketPluginMap
 Map Zuble Sprocket uri's to Sprocket plugin objects. More...
 
typedef QMap< QString, ZblFactory * > factoryMap
 Map Zuble Sprocket uri's to Sprocket object factories. More...
 
typedef QMap< int, ZblSprockOb * > sprocketVersionMap
 Maps sprocket object versions to version-specific object construction wrappers. More...
 
typedef QMap< QString, sprocketVersionMap * > sprocketFoundryMap
 Maps Sprocket object QML type names to object construction wrappers mapped by version. More...
 
typedef QMap< QString, ZblSprockOb * > sprocketObjectMap
 Maps Sprocket QML type names to object construction wrappers. More...
 
typedef QMap< QString, ZblResource * > resourceMap
 Maps resource uri's to Zuble resource objects. More...
 
typedef QSharedPointer< QFile > ZqFilePtr
 
typedef QSharedPointer< QIODevice > ZqIODevicePtr
 
typedef QSharedPointer< QString > ZqStringPtr
 
typedef QSharedPointer< QByteArray > ZqByteArrayPtr
 
typedef QSharedPointer< QProcess > ZqProcessPtr
 
typedef QList< QString > zMetaRow
 
typedef QList< QList< QString > > zStringTable
 
typedef QList< QList< QVariant > > zVariantTable
 
typedef enum Zbl::logFileFormat LogFileFormat
 Specifies the output format for Zuble log files. More...
 
typedef QScopedPointer< ZSettingsZScopedSettings
 
typedef QHash< int, QByteArray > ZRoleNames
 Maps role numbers to role names as a hash table object. More...
 
typedef QList< QVariant > ZDataRow
 Represents a single row (or column for column headers) of data cell values for a single role. More...
 
typedef QMap< int, QList< QVariant > > ZRoleRow
 Represents a single row (or column for column headers) of data cell values for multiple roles. More...
 
typedef QList< QMap< int, QList< QVariant > > > ZRoleRowList
 Represents multiple rows of data cell values for multiple roles for multiple columns. More...
 
typedef QList< QMap< int, QVariant > > ZTableRowList
 Represents multiple rows of data cell values for multiple roles for a single column. More...
 
typedef ZTextFeed &(* Omanip) (ZTextFeed &)
 

Enumerations

enum  logFileFormat { LogFormatText = 0, LogFormatXML = 1, LogFormatJSON = 2 }
 Specifies the output format for Zuble log files. More...
 
enum  textSearchType { SearchCaseSensitive = 0, SearchCaseInsensitive }
 Specifies search case sensitivity. More...
 

Functions

 catch (ZblException ex)
 
return result toVariant ()
 
ZblLogScanner::controlFlags operator~ (ZblLogScanner::controlFlags val_1)
 
ZblLogScanner::controlFlags operator& (ZblLogScanner::controlFlags val_1, ZblLogScanner::controlFlags val_2)
 
ZblLogScanner::controlFlags operator| (ZblLogScanner::controlFlags val_1, ZblLogScanner::controlFlags val_2)
 
 readNumericDataType (qint16, ZDataStream, readInt16) readNumericDataType(quint16
 
readUInt16 readNumericDataType (qint32, ZDataStream, readInt32) readNumericDataType(quint32
 
readUInt16 readUInt32 readNumericDataType (qint64, ZDataStream, readInt64) readNumericDataType(quint64
 
readUInt16 readUInt32 readUInt64 readNumericDataType (float, ZDataStream, readFloat) readNumericDataType(double
 
 writeNumericDataType (qint16, ZDataStream, writeInt16) writeNumericDataType(quint16
 
writeUInt16 writeNumericDataType (qint32, ZDataStream, writeInt32) writeNumericDataType(quint32
 
writeUInt16 writeUInt32 writeNumericDataType (qint64, ZDataStream, writeInt64) writeNumericDataType(quint64
 
writeUInt16 writeUInt32 writeUInt64 writeNumericDataType (float, ZDataStream, writeFloat) writeNumericDataType(double
 
QString ptrToString (void *ptr)
 
bool fromLiterallyTrue (const QString &value)
 
QString toLiterallyTrue (bool value)
 
bool inObjectThread (const QObject &object)
 
bool inObjectThread (const QObject *object)
 
textSearchType zValidateSearchType (int searchType)
 Validates an integer value to be type textSearchType and returns it or a valid default value if out of range. More...
 
ZTextFeedtfendl (ZTextFeed &feed)
 
ZTextFeedoperator<< (ZTextFeed &tf, Omanip f)
 
QTextStream & operator>> (QTextStream &ts, ZTextFeed &tf)
 
 readNumericDataType (signed short, ZTextStream, readShort) readNumericDataType(unsigned short
 
readUShort readNumericDataType (signed int, ZTextStream, readInt) readNumericDataType(unsigned int
 
readUShort readUInt readNumericDataType (signed long, ZTextStream, readLong) readNumericDataType(unsigned long
 
readUShort readUInt readULong readNumericDataType (qlonglong, ZTextStream, readLongLong) readNumericDataType(qulonglong
 
readUShort readUInt readULong readULongLong readNumericDataType (float, ZTextStream, readFloat) readNumericDataType(double
 
 writeNumericDataType (signed short, ZTextStream, writeShort) writeNumericDataType(unsigned short
 
writeUShort writeNumericDataType (signed int, ZTextStream, writeInt) writeNumericDataType(unsigned int
 
writeUShort writeUInt writeNumericDataType (signed long, ZTextStream, writeLong) writeNumericDataType(unsigned long
 
writeUShort writeUInt writeULong writeNumericDataType (qlonglong, ZTextStream, writeLongLong) writeNumericDataType(qulonglong
 
writeUShort writeUInt writeULong writeULongLong writeNumericDataType (float, ZTextStream, writeFloat) writeNumericDataType(double
 

Variables

 ZDataStream
 
 ZTextStream
 

Typedef Documentation

◆ factoryMap

typedef QMap<QString, ZblFactory*> Zbl::factoryMap

Map Zuble Sprocket uri's to Sprocket object factories.

Definition at line 56 of file ZblPlugin.h.

◆ LogFileFormat

Specifies the output format for Zuble log files.

◆ Omanip

typedef ZTextFeed&(* Zbl::Omanip) (ZTextFeed &)

The manipulator for calling tfendl stream operator

Definition at line 155 of file ZTextFeed.h.

◆ resourceMap

typedef QMap<QString, ZblResource*> Zbl::resourceMap

Maps resource uri's to Zuble resource objects.

Definition at line 84 of file ZblPlugin.h.

◆ sprocketFoundryMap

Maps Sprocket object QML type names to object construction wrappers mapped by version.

Definition at line 72 of file ZblPlugin.h.

◆ sprocketObjectConstructor

typedef QObject*(* Zbl::sprocketObjectConstructor) (QObject *parent)

A pointer to a function that creates a Zuble Sprocket object. Sprocket object constructor functions should be thread-safe.

Definition at line 45 of file ZblPlugin.h.

◆ sprocketObjectMap

typedef QMap<QString, ZblSprockOb*> Zbl::sprocketObjectMap

Maps Sprocket QML type names to object construction wrappers.

Definition at line 78 of file ZblPlugin.h.

◆ sprocketPluginMap

typedef QMap<QString, ZblSprocket*> Zbl::sprocketPluginMap

Map Zuble Sprocket uri's to Sprocket plugin objects.

Definition at line 51 of file ZblPlugin.h.

◆ sprocketVersionMap

typedef QMap<int, ZblSprockOb*> Zbl::sprocketVersionMap

Maps sprocket object versions to version-specific object construction wrappers.

Keys are computed as [(majorVersion * 10) + minorVersion]

Definition at line 65 of file ZblPlugin.h.

◆ zblLogSearchPtr

typedef QSharedPointer<ZblLogSearch> Zbl::zblLogSearchPtr

Definition at line 681 of file ZblLogSearch.h.

◆ ZDataRow

typedef QList<QVariant> Zbl::ZDataRow

Represents a single row (or column for column headers) of data cell values for a single role.

Definition at line 57 of file ZTableModel.h.

◆ zLogRecordList

Definition at line 64 of file ZblLogRecord.h.

◆ zMetaRow

typedef QList<QString> Zbl::zMetaRow

Definition at line 169 of file zglobal.h.

◆ ZqByteArrayPtr

typedef QSharedPointer<QByteArray> Zbl::ZqByteArrayPtr

Definition at line 166 of file zglobal.h.

◆ ZqFilePtr

typedef QSharedPointer<QFile> Zbl::ZqFilePtr

Definition at line 163 of file zglobal.h.

◆ ZqIODevicePtr

typedef QSharedPointer<QIODevice> Zbl::ZqIODevicePtr

Definition at line 164 of file zglobal.h.

◆ ZqProcessPtr

typedef QSharedPointer<QProcess> Zbl::ZqProcessPtr

Definition at line 167 of file zglobal.h.

◆ ZqStringPtr

typedef QSharedPointer<QString> Zbl::ZqStringPtr

Definition at line 165 of file zglobal.h.

◆ ZRoleNames

typedef QHash<int, QByteArray> Zbl::ZRoleNames

Maps role numbers to role names as a hash table object.

Definition at line 44 of file ZTableModel.h.

◆ ZRoleRow

typedef QMap<int, QList<QVariant> > Zbl::ZRoleRow

Represents a single row (or column for column headers) of data cell values for multiple roles.

Definition at line 63 of file ZTableModel.h.

◆ ZRoleRowList

typedef QList<QMap<int, QList<QVariant> > > Zbl::ZRoleRowList

Represents multiple rows of data cell values for multiple roles for multiple columns.

Definition at line 69 of file ZTableModel.h.

◆ ZScopedSettings

typedef QScopedPointer<ZSettings> Zbl::ZScopedSettings

Definition at line 516 of file ZSettings.h.

◆ ZScriptMap

typedef QMap<QString, ZScriptThread*> Zbl::ZScriptMap

Definition at line 44 of file ZblApp.h.

◆ zStringTable

typedef QList<QList<QString> > Zbl::zStringTable

Definition at line 170 of file zglobal.h.

◆ ZTableRowList

typedef QList<QMap<int, QVariant> > Zbl::ZTableRowList

Represents multiple rows of data cell values for multiple roles for a single column.

Definition at line 75 of file ZTableModel.h.

◆ zVariantTable

typedef QList<QList<QVariant> > Zbl::zVariantTable

Definition at line 171 of file zglobal.h.

Enumeration Type Documentation

◆ logFileFormat

Specifies the output format for Zuble log files.

Enumerator
LogFormatText 
LogFormatXML 
LogFormatJSON 

Definition at line 197 of file zglobal.h.

◆ textSearchType

Specifies search case sensitivity.

Enumerator
SearchCaseSensitive 
SearchCaseInsensitive 

Definition at line 209 of file zglobal.h.

Function Documentation

◆ catch()

Zbl::catch ( ZblException  ex)

Definition at line 373 of file ZblApp.cpp.

◆ fromLiterallyTrue()

bool Zbl::fromLiterallyTrue ( const QString &  value)
inline

convert QString to bool

Definition at line 64 of file zglobal.h.

◆ inObjectThread() [1/2]

bool Zbl::inObjectThread ( const QObject &  object)
inline

Definition at line 173 of file zglobal.h.

Referenced by Zbl::ZTableModel::addRole(), Zbl::ZApplication::addThreadApp(), Zbl::ZTableModel::appendCells(), Zbl::ZTableModel::appendMissingRow(), Zbl::ZTableModel::appendRow(), Zbl::ZTableModel::appendRowIndex(), Zbl::ZTableModel::appendRows(), Zbl::ZTableModel::copyColumn(), Zbl::ZsqlDatabase::database(), Zbl::ZTableModel::findNextItemRow(), Zbl::ZLogReader::getBookmark(), Zbl::ZLogReader::getBookmarkNames(), Zbl::ZLogReader::getBookmarkSet(), Zbl::ZTableModel::getJsonData(), Zbl::ZTableModel::getRoleCount(), Zbl::ZTableModel::getTableColumnRows(), Zbl::ZLogReclinkModel::getValue(), Zbl::ZTableModel::getValue(), inObjectThread(), Zbl::ZTableModel::insertTableColumnRows(), Zbl::ZLogReclinkModel::invalidateModel(), Zbl::ZTableModel::invalidateModel(), Zbl::ZTableModel::modelColumnCount(), Zbl::ZTableModel::modelRowCount(), Zbl::ZTableModel::moveModelToThread(), Zbl::ZLogReader::newBookmark(), Zbl::ZTableModel::prependCells(), Zbl::ZTableModel::prependRow(), Zbl::ZTableModel::prependRows(), Zbl::ZTableModel::putJsonData(), Zbl::ZTableModel::putValue(), Zbl::ZsqlDatabase::release(), Zbl::ZTableModel::removeRows(), Zbl::ZApplication::removeThreadApp(), Zbl::ZLogReclinkModel::roleMap(), Zbl::ZTableModel::roleMap(), Zbl::ZTableModel::roles(), Zbl::ZTableModel::setColumnCount(), Zbl::ZLogViewport::setLock(), Zbl::ZTableModel::sync(), Zbl::ZTableModel::truncate(), Zbl::ZsqlDatabase::validateThread(), Zbl::ZAndGate::waitGetProperty(), and Zbl::ZblLogManager::zMessageHandler().

◆ inObjectThread() [2/2]

bool Zbl::inObjectThread ( const QObject *  object)
inline

Definition at line 184 of file zglobal.h.

◆ operator&()

Definition at line 262 of file ZblLogScanner.h.

◆ operator<<()

ZTextFeed& Zbl::operator<< ( ZTextFeed tf,
Omanip  f 
)
inline

Stream operator for tfendl

Definition at line 161 of file ZTextFeed.h.

◆ operator>>()

QTextStream& Zbl::operator>> ( QTextStream &  ts,
ZTextFeed tf 
)
inline

manipulator for passing QTextStream object to a ZTextFeed

Definition at line 170 of file ZTextFeed.h.

◆ operator|()

Definition at line 267 of file ZblLogScanner.h.

◆ operator~()

ZblLogScanner::controlFlags Zbl::operator~ ( ZblLogScanner::controlFlags  val_1)
inline

Definition at line 257 of file ZblLogScanner.h.

◆ ptrToString()

QString Zbl::ptrToString ( void *  ptr)
inline

◆ readNumericDataType() [1/9]

Zbl::readNumericDataType ( signed  short,
ZTextStream  ,
readShort   
)

◆ readNumericDataType() [2/9]

readUShort Zbl::readNumericDataType ( signed  int,
ZTextStream  ,
readInt   
)

◆ readNumericDataType() [3/9]

readUShort readUInt Zbl::readNumericDataType ( signed  long,
ZTextStream  ,
readLong   
)

◆ readNumericDataType() [4/9]

readUShort readUInt readULong Zbl::readNumericDataType ( qlonglong  ,
ZTextStream  ,
readLongLong   
)

◆ readNumericDataType() [5/9]

readUShort readUInt readULong readULongLong Zbl::readNumericDataType ( float  ,
ZTextStream  ,
readFloat   
)

◆ readNumericDataType() [6/9]

Zbl::readNumericDataType ( qint16  ,
ZDataStream  ,
readInt16   
)

◆ readNumericDataType() [7/9]

readUInt16 Zbl::readNumericDataType ( qint32  ,
ZDataStream  ,
readInt32   
)

◆ readNumericDataType() [8/9]

readUInt16 readUInt32 Zbl::readNumericDataType ( qint64  ,
ZDataStream  ,
readInt64   
)

◆ readNumericDataType() [9/9]

readUInt16 readUInt32 readUInt64 Zbl::readNumericDataType ( float  ,
ZDataStream  ,
readFloat   
)

◆ tfendl()

ZTextFeed & Zbl::tfendl ( ZTextFeed feed)

This stream manipulator is used as a line terminator similar to std:endl. When called tfendl will insert a line terminator into the text stream and optionally will flush the text buffer.

see setFlushOnEOL method for more information.

Definition at line 111 of file ZTextFeed.cpp.

◆ toLiterallyTrue()

QString Zbl::toLiterallyTrue ( bool  value)
inline

convert bool to QString

Definition at line 76 of file zglobal.h.

Referenced by Zbl::ZblLogManager::getQtLogRule(), and Zbl::ZblLogManager::onZubleSettingsModified().

◆ toVariant()

return result Zbl::toVariant ( )

Referenced by Zbl::ZblApp::alert().

◆ writeNumericDataType() [1/9]

Zbl::writeNumericDataType ( signed  short,
ZTextStream  ,
writeShort   
)

◆ writeNumericDataType() [2/9]

writeUShort Zbl::writeNumericDataType ( signed  int,
ZTextStream  ,
writeInt   
)

◆ writeNumericDataType() [3/9]

writeUShort writeUInt Zbl::writeNumericDataType ( signed  long,
ZTextStream  ,
writeLong   
)

◆ writeNumericDataType() [4/9]

writeUShort writeUInt writeULong Zbl::writeNumericDataType ( qlonglong  ,
ZTextStream  ,
writeLongLong   
)

◆ writeNumericDataType() [5/9]

writeUShort writeUInt writeULong writeULongLong Zbl::writeNumericDataType ( float  ,
ZTextStream  ,
writeFloat   
)

◆ writeNumericDataType() [6/9]

Zbl::writeNumericDataType ( qint16  ,
ZDataStream  ,
writeInt16   
)

◆ writeNumericDataType() [7/9]

writeUInt16 Zbl::writeNumericDataType ( qint32  ,
ZDataStream  ,
writeInt32   
)

◆ writeNumericDataType() [8/9]

writeUInt16 writeUInt32 Zbl::writeNumericDataType ( qint64  ,
ZDataStream  ,
writeInt64   
)

◆ writeNumericDataType() [9/9]

writeUInt16 writeUInt32 writeUInt64 Zbl::writeNumericDataType ( float  ,
ZDataStream  ,
writeFloat   
)

◆ zValidateSearchType()

textSearchType Zbl::zValidateSearchType ( int  searchType)
inline

Validates an integer value to be type textSearchType and returns it or a valid default value if out of range.

Parameters
searchTypethe value to test for validity
Returns
searchType if the vaule is a textSearchType value, or SearchCaseInsensitive if not

Definition at line 222 of file zglobal.h.

Referenced by Zbl::ZblLogSearch::ZblLogSearch(), and Zbl::ZblLogSearchParams::ZblLogSearchParams().

Variable Documentation

◆ ZDataStream

writeUInt16 writeUInt32 writeUInt64 Zbl::ZDataStream

Definition at line 497 of file ZDataStream.cpp.

Referenced by Zbl::ZblApp::newDataStream(), and Zbl::ZFile::zDataStream().

◆ ZTextStream

writeUShort writeUInt writeULong writeULongLong Zbl::ZTextStream

Definition at line 453 of file ZTextStream.cpp.

Referenced by Zbl::ZblApp::newTextStream(), and Zbl::ZFile::zTextStream().