|
| enum | ColumnIndex {
IndexId = CPropertyIndexRef::GlobalIndexCUrlLog
, IndexSuccess
, IndexUrl
, IndexResponseTimestamp
,
IndexResponseTime
} |
| | Properties by index. More...
|
| using | base_type |
| | Base class.
|
| using | base_type = CEmpty |
| | Base class is alias of itself.
|
| enum | ColumnIndex |
| | Base class enums. More...
|
| enum | ColumnIndex {
IndexUtcTimestamp = CPropertyIndexRef::GlobalIndexITimestampBased
, IndexUtcTimestampFormattedYmdhms
, IndexUtcTimestampFormattedYmdhmsz
, IndexUtcTimestampFormattedMdhms
,
IndexUtcTimestampFormattedMdhmsz
, IndexUtcTimestampFormattedDhms
, IndexUtcTimestampFormattedHms
, IndexUtcTimestampFormattedHm
,
IndexMSecsSinceEpoch
} |
| | Properties by index. More...
|
|
| | CUrlLog (const CUrl &url={}) |
| | Constructor, setting created to now and getting a valid id.
|
| int | getId () const |
| | Unique id.
|
| const CUrl & | getUrl () const |
| | Get URL.
|
| QDateTime | getResponseTimestamp () const |
| | Response timestamp.
|
| qint64 | getResponseTimeMSecsSinceEpoch () const |
| | Response timestamp milliseconds since epoch.
|
| void | setResponseTimestampToNow () |
| | Set response time and response timestamp.
|
| qint64 | getResponseTimeMs () const |
| | Response time.
|
| bool | isPending () const |
| | Pending.
|
| bool | isSuccess () const |
| | Success?
|
| void | setSuccess (bool s) |
| | Set success.
|
| QVariant | propertyByIndex (swift::misc::CPropertyIndexRef index) const |
| | Property by index.
|
| void | setPropertyByIndex (swift::misc::CPropertyIndexRef index, const QVariant &variant) |
| | Set property by index.
|
| QString | convertToQString (bool i18n=false) const |
| | Cast as QString.
|
| int | getMetaTypeId () const |
| | Returns the Qt meta type ID of this object.
|
| QString | getClassName () const |
| | Class name.
|
| bool | isA (int metaTypeId) const |
| | Returns true if this object is an instance of the class with the given meta type ID, or one of its subclasses.
|
| void | marshallToDbus (QDBusArgument &arg, Tags...) const |
| | Marshall without begin/endStructure, for when composed within another object.
|
| void | unmarshallFromDbus (const QDBusArgument &arg, Tags...) |
| | Unmarshall without begin/endStructure, for when composed within another object.
|
| void | marshalToDataStream (QDataStream &stream) const |
| | Marshal a value to a QDataStream.
|
| void | unmarshalFromDataStream (QDataStream &stream) |
| | Unmarshal a value from a QDataStream.
|
| QJsonObject | toJson () const |
| | Cast to JSON object.
|
| QString | toJsonString (QJsonDocument::JsonFormat format=QJsonDocument::Indented) const |
| | Convenience function JSON as string.
|
| void | convertFromJson (const QJsonObject &json) |
| | Assign from JSON object.
|
| QString | toQString (bool i18n=false) const |
| | Cast as QString.
|
| std::string | toStdString (bool i18n=false) const |
| | To std string.
|
| QString | stringForStreaming () const |
| | String for streaming operators.
|
| CPropertyIndexList | apply (const CPropertyIndexVariantMap &indexMap, bool skipEqualValues=false) |
| | Update by variant map.
|
| void | setPropertyByIndex (CPropertyIndexRef index, const QVariant &variant) |
| | Set property by index.
|
| QVariant | propertyByIndex (CPropertyIndexRef index) const |
| | Property by index.
|
| int | comparePropertyByIndex (CPropertyIndexRef index, const CUrlLog &compareValue) const |
| | Compare for index.
|
| bool | equalsPropertyByIndex (const QVariant &compareValue, CPropertyIndexRef index) const |
| | Is given variant equal to value of property index?
|
| CIcons::CIcons::StandardIconUnknown16 | toIcon () const |
| | As icon, not implemented by all classes.
|
| QDateTime | getUtcTimestamp () const |
| | Get timestamp.
|
| qint64 | getMSecsSinceEpoch () const |
| | Timestamp as ms value.
|
| qint64 | getTimeDifferenceMs (qint64 compareTime) const |
| | Time difference in ms.
|
| qint64 | getTimeDifferenceAbsMs (qint64 compareTime) const |
| | Time difference in ms.
|
| qint64 | getTimeDifferenceToNowMs () const |
| | Time difference to now.
|
| qint64 | getTimeDifferenceMs (const ITimestampBased &compare) const |
| | Time difference in ms.
|
| qint64 | getAbsTimeDifferenceMs (qint64 compareTime) const |
| | Time difference in ms.
|
| qint64 | getAbsTimeDifferenceMs (const ITimestampBased &compare) const |
| | Time difference in ms.
|
| void | setTimestampToNull () |
| | Set to null.
|
| void | setMSecsSinceEpoch (qint64 mSecsSinceEpoch) |
| | Timestamp as ms value.
|
| void | setByYearMonthDayHourMinute (const QString &yyyyMMddhhmmss) |
| | Set by value such as "20141003231045".
|
| void | setUtcTimestamp (const QDateTime ×tamp) |
| | Set timestamp.
|
| bool | isNewerThan (const ITimestampBased &otherTimestampObj) const |
| | Is this newer than other?
|
| bool | isNewerThan (qint64 mSecsSinceEpoch) const |
| | Is newer than epoch value?
|
| bool | isOlderThan (const ITimestampBased &otherTimestampObj) const |
| | Is this older than other?
|
| bool | isOlderThan (qint64 mSecsSinceEpoch) const |
| | Is this older than other?
|
| bool | isOlderThanNowMinusOffset (int offsetMs) const |
| | Older than now-offset.
|
| bool | isSame (const ITimestampBased &otherTimestampObj) const |
| | Same timestamp.
|
| qint64 | msecsTo (const ITimestampBased &otherTimestampObj) const |
| | Time difference.
|
| qint64 | absMsecsTo (const ITimestampBased &otherTimestampObj) const |
| | Time difference.
|
| qint64 | msecsToNow () const |
| | Milliseconds to now.
|
| void | setCurrentUtcTime () |
| | Set the current time as timestamp.
|
| void | addMsecs (qint64 ms) |
| | Add the given number of milliseconds to the timestamp.
|
| QString | getFormattedUtcTimestampHms () const |
| | As hh:mm:ss.
|
| QString | getFormattedUtcTimestampHmsz () const |
| | As hh:mm:ss.zzz.
|
| QString | getFormattedUtcTimestampHm () const |
| | As hh:mm.
|
| QString | getFormattedUtcTimestampDhms () const |
| | As dd HH mm ss.
|
| QString | getFormattedUtcTimestampMdhms () const |
| | As MM dd HH mm ss.
|
| QString | getFormattedUtcTimestampMdhmsz () const |
| | As MM dd HH mm ss.zzz.
|
| QString | getFormattedUtcTimestampYmdhms () const |
| | As yyyy MM dd HH mm ss.
|
| QString | getFormattedUtcTimestampYmdhmsz () const |
| | As yyyy MM dd HH mm ss.zzz.
|
| bool | hasValidTimestamp () const |
| | Valid timestamp?
|
Information about accessing one URL over the network.
Definition at line 23 of file urllog.h.