MXL : Media eXchange Layer
MXL
Loading...
Searching...
No Matches
mxl::lib::Duration Struct Reference

#include <Timing.hpp>

Public Types

using value_type = std::int64_t

Public Member Functions

constexpr Duration () noexcept
constexpr Duration (value_type value) noexcept
constexpr operator bool () const noexcept

Public Attributes

value_type value

Detailed Description

Definition at line 246 of file Timing.hpp.

Member Typedef Documentation

◆ value_type

using mxl::lib::Duration::value_type = std::int64_t

Definition at line 248 of file Timing.hpp.

Constructor & Destructor Documentation

◆ Duration() [1/2]

mxl::lib::Duration::Duration ( )
constexprnoexcept

Definition at line 258 of file Timing.hpp.

259 : value{}
260 {}
value_type value
Definition Timing.hpp:250

◆ Duration() [2/2]

mxl::lib::Duration::Duration ( value_type value)
explicitconstexprnoexcept

Definition at line 262 of file Timing.hpp.

263 : value{value}
264 {}

Member Function Documentation

◆ operator bool()

mxl::lib::Duration::operator bool ( ) const
explicitconstexprnoexcept

Definition at line 266 of file Timing.hpp.

267 {
268 return (value != 0);
269 }

Member Data Documentation

◆ value

value_type mxl::lib::Duration::value

Definition at line 250 of file Timing.hpp.


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