This document is for a version of USD that is under development. See this page for the current release.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
timeCode.h File Reference
+ Include dependency graph for timeCode.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SdfTimeCode
 Value type that represents a time code. More...
 

Functions

Related

Binary arithmetic and comparison operators with double valued lefthand side.

constexpr SdfTimeCode operator* (double time, const SdfTimeCode &timeCode) noexcept
 
constexpr SdfTimeCode operator/ (double time, const SdfTimeCode &timeCode) noexcept
 
constexpr SdfTimeCode operator+ (double time, const SdfTimeCode &timeCode) noexcept
 
constexpr SdfTimeCode operator- (double time, const SdfTimeCode &timeCode) noexcept
 
constexpr bool operator== (double time, const SdfTimeCode &timeCode) noexcept
 
constexpr bool operator!= (double time, const SdfTimeCode &timeCode) noexcept
 
constexpr bool operator< (double time, const SdfTimeCode &timeCode) noexcept
 
constexpr bool operator> (double time, const SdfTimeCode &timeCode) noexcept
 
constexpr bool operator<= (double time, const SdfTimeCode &timeCode) noexcept
 
constexpr bool operator>= (double time, const SdfTimeCode &timeCode) noexcept
 
SDF_API std::ostream & operator<< (std::ostream &out, const SdfTimeCode &ap)
 Stream insertion operator for the string representation of this time code.
 

Function Documentation

◆ operator!=()

constexpr bool operator!= ( double  time,
const SdfTimeCode timeCode 
)
inlineconstexprnoexcept

Definition at line 129 of file timeCode.h.

◆ operator*()

constexpr SdfTimeCode operator* ( double  time,
const SdfTimeCode timeCode 
)
inlineconstexprnoexcept

Definition at line 109 of file timeCode.h.

◆ operator+()

constexpr SdfTimeCode operator+ ( double  time,
const SdfTimeCode timeCode 
)
inlineconstexprnoexcept

Definition at line 117 of file timeCode.h.

◆ operator-()

constexpr SdfTimeCode operator- ( double  time,
const SdfTimeCode timeCode 
)
inlineconstexprnoexcept

Definition at line 121 of file timeCode.h.

◆ operator/()

constexpr SdfTimeCode operator/ ( double  time,
const SdfTimeCode timeCode 
)
inlineconstexprnoexcept

Definition at line 113 of file timeCode.h.

◆ operator<()

constexpr bool operator< ( double  time,
const SdfTimeCode timeCode 
)
inlineconstexprnoexcept

Definition at line 133 of file timeCode.h.

◆ operator<<()

SDF_API std::ostream & operator<< ( std::ostream &  out,
const SdfTimeCode ap 
)

Stream insertion operator for the string representation of this time code.

◆ operator<=()

constexpr bool operator<= ( double  time,
const SdfTimeCode timeCode 
)
inlineconstexprnoexcept

Definition at line 141 of file timeCode.h.

◆ operator==()

constexpr bool operator== ( double  time,
const SdfTimeCode timeCode 
)
inlineconstexprnoexcept

Definition at line 125 of file timeCode.h.

◆ operator>()

constexpr bool operator> ( double  time,
const SdfTimeCode timeCode 
)
inlineconstexprnoexcept

Definition at line 137 of file timeCode.h.

◆ operator>=()

constexpr bool operator>= ( double  time,
const SdfTimeCode timeCode 
)
inlineconstexprnoexcept

Definition at line 145 of file timeCode.h.