Media duration stored as nanoseconds.
More...
#include <StormByte/multimedia/property/duration.hxx>
Media duration stored as nanoseconds.
◆ Duration() [1/3]
| StormByte::Multimedia::Property::Duration::Duration |
( |
std::chrono::nanoseconds |
value | ) |
|
|
explicitnoexcept |
Constructs from nanoseconds.
- Parameters
-
◆ Duration() [2/3]
| StormByte::Multimedia::Property::Duration::Duration |
( |
const Duration & |
| ) |
|
|
default |
◆ Duration() [3/3]
| StormByte::Multimedia::Property::Duration::Duration |
( |
Duration && |
| ) |
|
|
defaultnoexcept |
◆ ~Duration()
| StormByte::Multimedia::Property::Duration::~Duration |
( |
| ) |
|
|
defaultnoexcept |
◆ Nanoseconds()
| std::chrono::nanoseconds StormByte::Multimedia::Property::Duration::Nanoseconds |
( |
| ) |
const |
|
noexcept |
Duration in nanoseconds.
- Returns
- Stored value.
◆ operator<=>()
| auto StormByte::Multimedia::Property::Duration::operator<=> |
( |
const Duration & |
| ) |
const |
|
defaultnoexcept |
◆ operator=() [1/2]
| Duration & StormByte::Multimedia::Property::Duration::operator= |
( |
const Duration & |
| ) |
|
|
default |
Copy assignment.
- Returns
- *this.
◆ operator=() [2/2]
Move assignment.
- Returns
- *this.
◆ ToString()
| std::string StormByte::Multimedia::Property::Duration::ToString |
( |
| ) |
const |
|
noexcept |
[HH:][MM:]SS.mmm (hours/minutes omitted when zero).
- Returns
- Human-readable text.
The documentation for this class was generated from the following file: