Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QTaggedTimePoint< ValueType, Tag > Class Template Reference

#include <qtaggedtime_p.h>

Inheritance diagram for QTaggedTimePoint< ValueType, Tag >:
Collaboration diagram for QTaggedTimePoint< ValueType, Tag >:

Public Types

using Duration = QTaggedDuration<ValueType, Tag>
using Base = BaseTime<ValueType, QTaggedTimePoint, Duration>

Public Member Functions

constexpr Duration asDuration () const noexcept
Public Member Functions inherited from BaseTime< ValueType, QTaggedTimePoint< ValueType, Tag >, QTaggedDuration< ValueType, Tag > >
constexpr ValueType get () const noexcept
constexpr BaseTime (ValueType value) noexcept
constexpr QTaggedTimePoint< ValueType, Tag > & operator= (const QTaggedTimePoint< ValueType, Tag > &other) noexcept
 Q_DECLARE_STRONGLY_ORDERED (QTaggedTimePoint< ValueType, Tag >)
constexpr QTaggedTimePoint< ValueType, Tagoperator- () const

Friends

constexpr Duration operator- (const QTaggedTimePoint &lhs, const QTaggedTimePoint &rhs) noexcept

Detailed Description

template<typename ValueType, typename Tag>
class QTaggedTimePoint< ValueType, Tag >

Definition at line 98 of file qtaggedtime_p.h.

Member Typedef Documentation

◆ Base

template<typename ValueType, typename Tag>
using QTaggedTimePoint< ValueType, Tag >::Base = BaseTime<ValueType, QTaggedTimePoint, Duration>

Definition at line 103 of file qtaggedtime_p.h.

◆ Duration

template<typename ValueType, typename Tag>
using QTaggedTimePoint< ValueType, Tag >::Duration = QTaggedDuration<ValueType, Tag>

Definition at line 102 of file qtaggedtime_p.h.

Member Function Documentation

◆ asDuration()

template<typename ValueType, typename Tag>
Duration QTaggedTimePoint< ValueType, Tag >::asDuration ( ) const
inlineconstexprnoexcept

Definition at line 112 of file qtaggedtime_p.h.

◆ operator-

template<typename ValueType, typename Tag>
Duration operator- ( const QTaggedTimePoint< ValueType, Tag > & lhs,
const QTaggedTimePoint< ValueType, Tag > & rhs )
friend

Definition at line 106 of file qtaggedtime_p.h.


The documentation for this class was generated from the following file: