1751 lines
88 KiB
HTML
1751 lines
88 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.9.1"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>SDL Utility: Time Class Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="resize.js"></script>
|
|
<script type="text/javascript" src="navtreedata.js"></script>
|
|
<script type="text/javascript" src="navtree.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">SDL Utility
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.9.1 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></div>
|
|
</div><!-- top -->
|
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
|
<div id="nav-tree">
|
|
<div id="nav-tree-contents">
|
|
<div id="nav-sync" class="sync"></div>
|
|
</div>
|
|
</div>
|
|
<div id="splitbar" style="-moz-user-select:none;"
|
|
class="ui-resizable-handle">
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(document).ready(function(){initNavTree('class_time.html',''); initResizable(); });
|
|
/* @license-end */
|
|
</script>
|
|
<div id="doc-content">
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pub-static-methods">Static Public Member Functions</a> |
|
|
<a href="#friends">Friends</a> |
|
|
<a href="class_time-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">Time Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>This class wraps std::chrono::duration and defines some conversions for commonly used times.
|
|
<a href="class_time.html#details">More...</a></p>
|
|
|
|
<p><code>#include <<a class="el" href="_time_8hpp_source.html">Time.hpp</a>></code></p>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:a4245e409c7347d1d671858962c2ca3b5"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_time.html#a4245e409c7347d1d671858962c2ca3b5">Time</a> ()</td></tr>
|
|
<tr class="memdesc:a4245e409c7347d1d671858962c2ca3b5"><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. Constructs a time with value 0. <a href="class_time.html#a4245e409c7347d1d671858962c2ca3b5">More...</a><br /></td></tr>
|
|
<tr class="separator:a4245e409c7347d1d671858962c2ca3b5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a390653f89d18d9755ef3d4d149600ece"><td class="memTemplParams" colspan="2">template<typename Rep = Int64, typename Period = std::ratio<1>> </td></tr>
|
|
<tr class="memitem:a390653f89d18d9755ef3d4d149600ece"><td class="memTemplItemLeft" align="right" valign="top">Rep </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_time.html#a390653f89d18d9755ef3d4d149600ece">AsValue</a> () const</td></tr>
|
|
<tr class="memdesc:a390653f89d18d9755ef3d4d149600ece"><td class="mdescLeft"> </td><td class="mdescRight">Returns the stored time in the specified format as a scalar. <a href="class_time.html#a390653f89d18d9755ef3d4d149600ece">More...</a><br /></td></tr>
|
|
<tr class="separator:a390653f89d18d9755ef3d4d149600ece"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2193058fee71c2d63de3c113d92a2de7"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_time.html#a2193058fee71c2d63de3c113d92a2de7">AsSeconds</a> () const</td></tr>
|
|
<tr class="memdesc:a2193058fee71c2d63de3c113d92a2de7"><td class="mdescLeft"> </td><td class="mdescRight">Returns the stored time in seconds. <a href="class_time.html#a2193058fee71c2d63de3c113d92a2de7">More...</a><br /></td></tr>
|
|
<tr class="separator:a2193058fee71c2d63de3c113d92a2de7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7c6ad1774af8c8f70bd7d0a4f1f2928d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_util_8hpp.html#a20b0c262d9ef5d263888e463dfa99638">Int32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_time.html#a7c6ad1774af8c8f70bd7d0a4f1f2928d">AsMilliseconds</a> () const</td></tr>
|
|
<tr class="memdesc:a7c6ad1774af8c8f70bd7d0a4f1f2928d"><td class="mdescLeft"> </td><td class="mdescRight">Returns the stored time in milliseconds. <a href="class_time.html#a7c6ad1774af8c8f70bd7d0a4f1f2928d">More...</a><br /></td></tr>
|
|
<tr class="separator:a7c6ad1774af8c8f70bd7d0a4f1f2928d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7cdacd27ba57fdc59daeca5e787ed433"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_util_8hpp.html#a2de3f49eadcae5078cd57134586ee25d">Int64</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_time.html#a7cdacd27ba57fdc59daeca5e787ed433">AsMicroseconds</a> () const</td></tr>
|
|
<tr class="memdesc:a7cdacd27ba57fdc59daeca5e787ed433"><td class="mdescLeft"> </td><td class="mdescRight">Returns the stored time in microseconds. <a href="class_time.html#a7cdacd27ba57fdc59daeca5e787ed433">More...</a><br /></td></tr>
|
|
<tr class="separator:a7cdacd27ba57fdc59daeca5e787ed433"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab1f48322b99266fea871d67a1fee90cd"><td class="memTemplParams" colspan="2">template<typename Rep = Int64, typename Period = std::ratio<1>> </td></tr>
|
|
<tr class="memitem:ab1f48322b99266fea871d67a1fee90cd"><td class="memTemplItemLeft" align="right" valign="top">std::chrono::duration< Rep, Period > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_time.html#ab1f48322b99266fea871d67a1fee90cd">AsChrono</a> () const</td></tr>
|
|
<tr class="memdesc:ab1f48322b99266fea871d67a1fee90cd"><td class="mdescLeft"> </td><td class="mdescRight">Returns the stored time in the specified format as a std::duration. <a href="class_time.html#ab1f48322b99266fea871d67a1fee90cd">More...</a><br /></td></tr>
|
|
<tr class="separator:ab1f48322b99266fea871d67a1fee90cd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a927a66f4a96151c1e241ba69755fa982"><td class="memItemLeft" align="right" valign="top">std::chrono::seconds </td><td class="memItemRight" valign="bottom"><a class="el" href="class_time.html#a927a66f4a96151c1e241ba69755fa982">AsChronoSeconds</a> () const</td></tr>
|
|
<tr class="memdesc:a927a66f4a96151c1e241ba69755fa982"><td class="mdescLeft"> </td><td class="mdescRight">Returns the stored time in std::chrono::seconds. <a href="class_time.html#a927a66f4a96151c1e241ba69755fa982">More...</a><br /></td></tr>
|
|
<tr class="separator:a927a66f4a96151c1e241ba69755fa982"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3c3dad1ce180f5759e1228713b2c30e6"><td class="memItemLeft" align="right" valign="top">std::chrono::milliseconds </td><td class="memItemRight" valign="bottom"><a class="el" href="class_time.html#a3c3dad1ce180f5759e1228713b2c30e6">AsChronoMilliseconds</a> () const</td></tr>
|
|
<tr class="memdesc:a3c3dad1ce180f5759e1228713b2c30e6"><td class="mdescLeft"> </td><td class="mdescRight">Returns the stored time in std::chrono::milliseconds. <a href="class_time.html#a3c3dad1ce180f5759e1228713b2c30e6">More...</a><br /></td></tr>
|
|
<tr class="separator:a3c3dad1ce180f5759e1228713b2c30e6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a953a4bbac412bf3064879a495bf91a96"><td class="memItemLeft" align="right" valign="top">std::chrono::microseconds </td><td class="memItemRight" valign="bottom"><a class="el" href="class_time.html#a953a4bbac412bf3064879a495bf91a96">AsChronoMicroseconds</a> () const</td></tr>
|
|
<tr class="memdesc:a953a4bbac412bf3064879a495bf91a96"><td class="mdescLeft"> </td><td class="mdescRight">Returns the stored time in std::chrono::microseconds. <a href="class_time.html#a953a4bbac412bf3064879a495bf91a96">More...</a><br /></td></tr>
|
|
<tr class="separator:a953a4bbac412bf3064879a495bf91a96"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
|
|
Static Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:a000b522aafdbb493acc70be9fe5abc4a"><td class="memTemplParams" colspan="2">template<typename Rep = Int64, typename Period = std::ratio<1>> </td></tr>
|
|
<tr class="memitem:a000b522aafdbb493acc70be9fe5abc4a"><td class="memTemplItemLeft" align="right" valign="top">static <a class="el" href="class_time.html">Time</a> </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_time.html#a000b522aafdbb493acc70be9fe5abc4a">Create</a> (const Rep &duration)</td></tr>
|
|
<tr class="memdesc:a000b522aafdbb493acc70be9fe5abc4a"><td class="mdescLeft"> </td><td class="mdescRight">Stores the given scalar as a time, using the given format. <a href="class_time.html#a000b522aafdbb493acc70be9fe5abc4a">More...</a><br /></td></tr>
|
|
<tr class="separator:a000b522aafdbb493acc70be9fe5abc4a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2155604a8ee3ede7afb38b9196068e29"><td class="memTemplParams" colspan="2">template<typename Rep = Int64, typename Period = std::ratio<1>> </td></tr>
|
|
<tr class="memitem:a2155604a8ee3ede7afb38b9196068e29"><td class="memTemplItemLeft" align="right" valign="top">static <a class="el" href="class_time.html">Time</a> </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_time.html#a2155604a8ee3ede7afb38b9196068e29">Create</a> (const std::chrono::duration< Rep, Period > &duration)</td></tr>
|
|
<tr class="memdesc:a2155604a8ee3ede7afb38b9196068e29"><td class="mdescLeft"> </td><td class="mdescRight">Stores the given std::duration. <a href="class_time.html#a2155604a8ee3ede7afb38b9196068e29">More...</a><br /></td></tr>
|
|
<tr class="separator:a2155604a8ee3ede7afb38b9196068e29"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a93c19710e3f655d6fd0053d156a953a2"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_time.html">Time</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_time.html#a93c19710e3f655d6fd0053d156a953a2">Now</a> ()</td></tr>
|
|
<tr class="memdesc:a93c19710e3f655d6fd0053d156a953a2"><td class="mdescLeft"> </td><td class="mdescRight">Creates a <a class="el" href="class_time.html" title="This class wraps std::chrono::duration and defines some conversions for commonly used times.">Time</a> object storing the current point in time. <a href="class_time.html#a93c19710e3f655d6fd0053d156a953a2">More...</a><br /></td></tr>
|
|
<tr class="separator:a93c19710e3f655d6fd0053d156a953a2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
|
|
Friends</h2></td></tr>
|
|
<tr class="memitem:aaea901fceef777e45cb7b50099a8dd25"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_time.html">Time</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_time.html#aaea901fceef777e45cb7b50099a8dd25">Seconds</a> (float seconds)</td></tr>
|
|
<tr class="memdesc:aaea901fceef777e45cb7b50099a8dd25"><td class="mdescLeft"> </td><td class="mdescRight">Creates a <a class="el" href="class_time.html" title="This class wraps std::chrono::duration and defines some conversions for commonly used times.">Time</a> object from a given number of seconds. <a href="class_time.html#aaea901fceef777e45cb7b50099a8dd25">More...</a><br /></td></tr>
|
|
<tr class="separator:aaea901fceef777e45cb7b50099a8dd25"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8d0e9f87d5b0fdd8d12b0cc35cfd4e56"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_time.html">Time</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_time.html#a8d0e9f87d5b0fdd8d12b0cc35cfd4e56">Milliseconds</a> (<a class="el" href="_util_8hpp.html#a20b0c262d9ef5d263888e463dfa99638">Int32</a> milliseconds)</td></tr>
|
|
<tr class="memdesc:a8d0e9f87d5b0fdd8d12b0cc35cfd4e56"><td class="mdescLeft"> </td><td class="mdescRight">Creates a <a class="el" href="class_time.html" title="This class wraps std::chrono::duration and defines some conversions for commonly used times.">Time</a> object from a given number of milliseconds. <a href="class_time.html#a8d0e9f87d5b0fdd8d12b0cc35cfd4e56">More...</a><br /></td></tr>
|
|
<tr class="separator:a8d0e9f87d5b0fdd8d12b0cc35cfd4e56"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab2361ddfe30cda51480b066eac103fb4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_time.html">Time</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_time.html#ab2361ddfe30cda51480b066eac103fb4">Microseconds</a> (<a class="el" href="_util_8hpp.html#a2de3f49eadcae5078cd57134586ee25d">Int64</a> microseconds)</td></tr>
|
|
<tr class="memdesc:ab2361ddfe30cda51480b066eac103fb4"><td class="mdescLeft"> </td><td class="mdescRight">Creates a <a class="el" href="class_time.html" title="This class wraps std::chrono::duration and defines some conversions for commonly used times.">Time</a> object from a given number of microseconds. <a href="class_time.html#ab2361ddfe30cda51480b066eac103fb4">More...</a><br /></td></tr>
|
|
<tr class="separator:ab2361ddfe30cda51480b066eac103fb4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a90988eb9657b79c370253c0cc952386a"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_time.html#a90988eb9657b79c370253c0cc952386a">operator==</a> (const <a class="el" href="class_time.html">Time</a> &left, const <a class="el" href="class_time.html">Time</a> &right)</td></tr>
|
|
<tr class="memdesc:a90988eb9657b79c370253c0cc952386a"><td class="mdescLeft"> </td><td class="mdescRight">Overload of == operator comparing two Times. <a href="class_time.html#a90988eb9657b79c370253c0cc952386a">More...</a><br /></td></tr>
|
|
<tr class="separator:a90988eb9657b79c370253c0cc952386a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a07472e52ba2ce81714f231d23adf8547"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_time.html#a07472e52ba2ce81714f231d23adf8547">operator!=</a> (const <a class="el" href="class_time.html">Time</a> &left, const <a class="el" href="class_time.html">Time</a> &right)</td></tr>
|
|
<tr class="memdesc:a07472e52ba2ce81714f231d23adf8547"><td class="mdescLeft"> </td><td class="mdescRight">Overload of != operator comparing two Times. <a href="class_time.html#a07472e52ba2ce81714f231d23adf8547">More...</a><br /></td></tr>
|
|
<tr class="separator:a07472e52ba2ce81714f231d23adf8547"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac32257e5c86d2e57b56b0915e1809ead"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_time.html#ac32257e5c86d2e57b56b0915e1809ead">operator<</a> (const <a class="el" href="class_time.html">Time</a> &left, const <a class="el" href="class_time.html">Time</a> &right)</td></tr>
|
|
<tr class="memdesc:ac32257e5c86d2e57b56b0915e1809ead"><td class="mdescLeft"> </td><td class="mdescRight">Overload of < operator comparing two Times. <a href="class_time.html#ac32257e5c86d2e57b56b0915e1809ead">More...</a><br /></td></tr>
|
|
<tr class="separator:ac32257e5c86d2e57b56b0915e1809ead"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:afef5512f7171297e82db0046b7028562"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_time.html#afef5512f7171297e82db0046b7028562">operator></a> (const <a class="el" href="class_time.html">Time</a> &left, const <a class="el" href="class_time.html">Time</a> &right)</td></tr>
|
|
<tr class="memdesc:afef5512f7171297e82db0046b7028562"><td class="mdescLeft"> </td><td class="mdescRight">Overload of > operator comparing two Times. <a href="class_time.html#afef5512f7171297e82db0046b7028562">More...</a><br /></td></tr>
|
|
<tr class="separator:afef5512f7171297e82db0046b7028562"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:afaa678c360a26ff8f65d6e1a8e22a2ba"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_time.html#afaa678c360a26ff8f65d6e1a8e22a2ba">operator<=</a> (const <a class="el" href="class_time.html">Time</a> &left, const <a class="el" href="class_time.html">Time</a> &right)</td></tr>
|
|
<tr class="memdesc:afaa678c360a26ff8f65d6e1a8e22a2ba"><td class="mdescLeft"> </td><td class="mdescRight">Overload of <= operator comparing two Times. <a href="class_time.html#afaa678c360a26ff8f65d6e1a8e22a2ba">More...</a><br /></td></tr>
|
|
<tr class="separator:afaa678c360a26ff8f65d6e1a8e22a2ba"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af7a34ee9cd59bb411822899ad5132814"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_time.html#af7a34ee9cd59bb411822899ad5132814">operator>=</a> (const <a class="el" href="class_time.html">Time</a> &left, const <a class="el" href="class_time.html">Time</a> &right)</td></tr>
|
|
<tr class="memdesc:af7a34ee9cd59bb411822899ad5132814"><td class="mdescLeft"> </td><td class="mdescRight">Overload of < operator comparing two Times. <a href="class_time.html#af7a34ee9cd59bb411822899ad5132814">More...</a><br /></td></tr>
|
|
<tr class="separator:af7a34ee9cd59bb411822899ad5132814"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad79e35ba7b47ff8c6fa44a91ba7e1db3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_time.html">Time</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_time.html#ad79e35ba7b47ff8c6fa44a91ba7e1db3">operator-</a> (const <a class="el" href="class_time.html">Time</a> &right)</td></tr>
|
|
<tr class="memdesc:ad79e35ba7b47ff8c6fa44a91ba7e1db3"><td class="mdescLeft"> </td><td class="mdescRight">Overload of the unary - operator. <a href="class_time.html#ad79e35ba7b47ff8c6fa44a91ba7e1db3">More...</a><br /></td></tr>
|
|
<tr class="separator:ad79e35ba7b47ff8c6fa44a91ba7e1db3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3220188faf2f26989df18166286bfe43"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_time.html">Time</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_time.html#a3220188faf2f26989df18166286bfe43">operator+</a> (const <a class="el" href="class_time.html">Time</a> &left, const <a class="el" href="class_time.html">Time</a> &right)</td></tr>
|
|
<tr class="memdesc:a3220188faf2f26989df18166286bfe43"><td class="mdescLeft"> </td><td class="mdescRight">Overload of + operator to add two Times. <a href="class_time.html#a3220188faf2f26989df18166286bfe43">More...</a><br /></td></tr>
|
|
<tr class="separator:a3220188faf2f26989df18166286bfe43"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac113395867bbeb311793564b53b992fa"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_time.html">Time</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_time.html#ac113395867bbeb311793564b53b992fa">operator+=</a> (<a class="el" href="class_time.html">Time</a> &left, const <a class="el" href="class_time.html">Time</a> &right)</td></tr>
|
|
<tr class="memdesc:ac113395867bbeb311793564b53b992fa"><td class="mdescLeft"> </td><td class="mdescRight">Overload of += operator to add two Times. <a href="class_time.html#ac113395867bbeb311793564b53b992fa">More...</a><br /></td></tr>
|
|
<tr class="separator:ac113395867bbeb311793564b53b992fa"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a000bf792d7b6f0b77248cff9f8003e29"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_time.html">Time</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_time.html#a000bf792d7b6f0b77248cff9f8003e29">operator-</a> (const <a class="el" href="class_time.html">Time</a> &left, const <a class="el" href="class_time.html">Time</a> &right)</td></tr>
|
|
<tr class="memdesc:a000bf792d7b6f0b77248cff9f8003e29"><td class="mdescLeft"> </td><td class="mdescRight">Overload of - operator to subtract two Times. <a href="class_time.html#a000bf792d7b6f0b77248cff9f8003e29">More...</a><br /></td></tr>
|
|
<tr class="separator:a000bf792d7b6f0b77248cff9f8003e29"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:accdb29e09b8488f69817d8b51b87db0d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_time.html">Time</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_time.html#accdb29e09b8488f69817d8b51b87db0d">operator-=</a> (<a class="el" href="class_time.html">Time</a> &left, const <a class="el" href="class_time.html">Time</a> &right)</td></tr>
|
|
<tr class="memdesc:accdb29e09b8488f69817d8b51b87db0d"><td class="mdescLeft"> </td><td class="mdescRight">Overload of -= operator to subtract two Times. <a href="class_time.html#accdb29e09b8488f69817d8b51b87db0d">More...</a><br /></td></tr>
|
|
<tr class="separator:accdb29e09b8488f69817d8b51b87db0d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aadaa37244866e6de72d68f5c30c2fe32"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_time.html">Time</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_time.html#aadaa37244866e6de72d68f5c30c2fe32">operator*</a> (const <a class="el" href="class_time.html">Time</a> &left, float right)</td></tr>
|
|
<tr class="memdesc:aadaa37244866e6de72d68f5c30c2fe32"><td class="mdescLeft"> </td><td class="mdescRight">Overload of * operator to multiply a <a class="el" href="class_time.html" title="This class wraps std::chrono::duration and defines some conversions for commonly used times.">Time</a> with a scalar. <a href="class_time.html#aadaa37244866e6de72d68f5c30c2fe32">More...</a><br /></td></tr>
|
|
<tr class="separator:aadaa37244866e6de72d68f5c30c2fe32"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a26c778130ebbffc45d4e9dec2669d761"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_time.html">Time</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_time.html#a26c778130ebbffc45d4e9dec2669d761">operator*</a> (const <a class="el" href="class_time.html">Time</a> &left, <a class="el" href="_util_8hpp.html#a2de3f49eadcae5078cd57134586ee25d">Int64</a> right)</td></tr>
|
|
<tr class="memdesc:a26c778130ebbffc45d4e9dec2669d761"><td class="mdescLeft"> </td><td class="mdescRight">Overload of * operator to multiply a <a class="el" href="class_time.html" title="This class wraps std::chrono::duration and defines some conversions for commonly used times.">Time</a> with a scalar. <a href="class_time.html#a26c778130ebbffc45d4e9dec2669d761">More...</a><br /></td></tr>
|
|
<tr class="separator:a26c778130ebbffc45d4e9dec2669d761"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a963d4b276627f9971ac89d24d9764c05"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_time.html">Time</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_time.html#a963d4b276627f9971ac89d24d9764c05">operator*</a> (float left, const <a class="el" href="class_time.html">Time</a> &right)</td></tr>
|
|
<tr class="memdesc:a963d4b276627f9971ac89d24d9764c05"><td class="mdescLeft"> </td><td class="mdescRight">Overload of * operator to multiply a <a class="el" href="class_time.html" title="This class wraps std::chrono::duration and defines some conversions for commonly used times.">Time</a> with a scalar. <a href="class_time.html#a963d4b276627f9971ac89d24d9764c05">More...</a><br /></td></tr>
|
|
<tr class="separator:a963d4b276627f9971ac89d24d9764c05"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9a42ea3e8a757b74ffb13b5de927fb30"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_time.html">Time</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_time.html#a9a42ea3e8a757b74ffb13b5de927fb30">operator*</a> (<a class="el" href="_util_8hpp.html#a2de3f49eadcae5078cd57134586ee25d">Int64</a> left, const <a class="el" href="class_time.html">Time</a> &right)</td></tr>
|
|
<tr class="memdesc:a9a42ea3e8a757b74ffb13b5de927fb30"><td class="mdescLeft"> </td><td class="mdescRight">Overload of * operator to multiply a <a class="el" href="class_time.html" title="This class wraps std::chrono::duration and defines some conversions for commonly used times.">Time</a> with a scalar. <a href="class_time.html#a9a42ea3e8a757b74ffb13b5de927fb30">More...</a><br /></td></tr>
|
|
<tr class="separator:a9a42ea3e8a757b74ffb13b5de927fb30"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ada2793fbd13ff189dedbb312b7e85b20"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_time.html">Time</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_time.html#ada2793fbd13ff189dedbb312b7e85b20">operator*=</a> (<a class="el" href="class_time.html">Time</a> &left, float right)</td></tr>
|
|
<tr class="memdesc:ada2793fbd13ff189dedbb312b7e85b20"><td class="mdescLeft"> </td><td class="mdescRight">Overload of *= operator to multiply a <a class="el" href="class_time.html" title="This class wraps std::chrono::duration and defines some conversions for commonly used times.">Time</a> with a scalar. <a href="class_time.html#ada2793fbd13ff189dedbb312b7e85b20">More...</a><br /></td></tr>
|
|
<tr class="separator:ada2793fbd13ff189dedbb312b7e85b20"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a92903308f09b4e214b82f5d77cc9450b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_time.html">Time</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_time.html#a92903308f09b4e214b82f5d77cc9450b">operator*=</a> (<a class="el" href="class_time.html">Time</a> &left, <a class="el" href="_util_8hpp.html#a2de3f49eadcae5078cd57134586ee25d">Int64</a> right)</td></tr>
|
|
<tr class="memdesc:a92903308f09b4e214b82f5d77cc9450b"><td class="mdescLeft"> </td><td class="mdescRight">Overload of *= operator to multiply a <a class="el" href="class_time.html" title="This class wraps std::chrono::duration and defines some conversions for commonly used times.">Time</a> with a scalar. <a href="class_time.html#a92903308f09b4e214b82f5d77cc9450b">More...</a><br /></td></tr>
|
|
<tr class="separator:a92903308f09b4e214b82f5d77cc9450b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab26c444540fdcff4d1cfa06f10fd4e39"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_time.html">Time</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_time.html#ab26c444540fdcff4d1cfa06f10fd4e39">operator/</a> (const <a class="el" href="class_time.html">Time</a> &left, float right)</td></tr>
|
|
<tr class="memdesc:ab26c444540fdcff4d1cfa06f10fd4e39"><td class="mdescLeft"> </td><td class="mdescRight">Overload of / operator to divide a <a class="el" href="class_time.html" title="This class wraps std::chrono::duration and defines some conversions for commonly used times.">Time</a> by a scalar. <a href="class_time.html#ab26c444540fdcff4d1cfa06f10fd4e39">More...</a><br /></td></tr>
|
|
<tr class="separator:ab26c444540fdcff4d1cfa06f10fd4e39"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae86e3c3598a3f0b712fabb219e0c2e7e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_time.html">Time</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_time.html#ae86e3c3598a3f0b712fabb219e0c2e7e">operator/</a> (const <a class="el" href="class_time.html">Time</a> &left, <a class="el" href="_util_8hpp.html#a2de3f49eadcae5078cd57134586ee25d">Int64</a> right)</td></tr>
|
|
<tr class="memdesc:ae86e3c3598a3f0b712fabb219e0c2e7e"><td class="mdescLeft"> </td><td class="mdescRight">Overload of / operator to divide a <a class="el" href="class_time.html" title="This class wraps std::chrono::duration and defines some conversions for commonly used times.">Time</a> by a scalar. <a href="class_time.html#ae86e3c3598a3f0b712fabb219e0c2e7e">More...</a><br /></td></tr>
|
|
<tr class="separator:ae86e3c3598a3f0b712fabb219e0c2e7e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a471ce6cdae8759db5ec95194cc90aaf8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_time.html">Time</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_time.html#a471ce6cdae8759db5ec95194cc90aaf8">operator/=</a> (<a class="el" href="class_time.html">Time</a> &left, float right)</td></tr>
|
|
<tr class="memdesc:a471ce6cdae8759db5ec95194cc90aaf8"><td class="mdescLeft"> </td><td class="mdescRight">Overload of /= operator to divide a <a class="el" href="class_time.html" title="This class wraps std::chrono::duration and defines some conversions for commonly used times.">Time</a> by a scalar. <a href="class_time.html#a471ce6cdae8759db5ec95194cc90aaf8">More...</a><br /></td></tr>
|
|
<tr class="separator:a471ce6cdae8759db5ec95194cc90aaf8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0916454a50c60ca9488b98d715baaaa7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_time.html">Time</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_time.html#a0916454a50c60ca9488b98d715baaaa7">operator/=</a> (<a class="el" href="class_time.html">Time</a> &left, <a class="el" href="_util_8hpp.html#a2de3f49eadcae5078cd57134586ee25d">Int64</a> right)</td></tr>
|
|
<tr class="memdesc:a0916454a50c60ca9488b98d715baaaa7"><td class="mdescLeft"> </td><td class="mdescRight">Overload of /= operator to divide a <a class="el" href="class_time.html" title="This class wraps std::chrono::duration and defines some conversions for commonly used times.">Time</a> by a scalar. <a href="class_time.html#a0916454a50c60ca9488b98d715baaaa7">More...</a><br /></td></tr>
|
|
<tr class="separator:a0916454a50c60ca9488b98d715baaaa7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab43b815f827c470721c837da24758b58"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_time.html#ab43b815f827c470721c837da24758b58">operator/</a> (const <a class="el" href="class_time.html">Time</a> &left, const <a class="el" href="class_time.html">Time</a> &right)</td></tr>
|
|
<tr class="memdesc:ab43b815f827c470721c837da24758b58"><td class="mdescLeft"> </td><td class="mdescRight">Overload of / operator to divide two Times. <a href="class_time.html#ab43b815f827c470721c837da24758b58">More...</a><br /></td></tr>
|
|
<tr class="separator:ab43b815f827c470721c837da24758b58"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8849ab5e3c1954a8590dfd4f978caf01"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_time.html">Time</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_time.html#a8849ab5e3c1954a8590dfd4f978caf01">operator%</a> (const <a class="el" href="class_time.html">Time</a> &left, const <a class="el" href="class_time.html">Time</a> &right)</td></tr>
|
|
<tr class="memdesc:a8849ab5e3c1954a8590dfd4f978caf01"><td class="mdescLeft"> </td><td class="mdescRight">Overload of % operator to calculate the modulo of a <a class="el" href="class_time.html" title="This class wraps std::chrono::duration and defines some conversions for commonly used times.">Time</a>. <a href="class_time.html#a8849ab5e3c1954a8590dfd4f978caf01">More...</a><br /></td></tr>
|
|
<tr class="separator:a8849ab5e3c1954a8590dfd4f978caf01"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af56e896bfd738245c2cc6c3c706f06f4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_time.html">Time</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_time.html#af56e896bfd738245c2cc6c3c706f06f4">operator%=</a> (<a class="el" href="class_time.html">Time</a> &left, const <a class="el" href="class_time.html">Time</a> &right)</td></tr>
|
|
<tr class="memdesc:af56e896bfd738245c2cc6c3c706f06f4"><td class="mdescLeft"> </td><td class="mdescRight">Overload of % operator to calculate the modulo of a <a class="el" href="class_time.html" title="This class wraps std::chrono::duration and defines some conversions for commonly used times.">Time</a>. <a href="class_time.html#af56e896bfd738245c2cc6c3c706f06f4">More...</a><br /></td></tr>
|
|
<tr class="separator:af56e896bfd738245c2cc6c3c706f06f4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>This class wraps std::chrono::duration and defines some conversions for commonly used times. </p>
|
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a id="a4245e409c7347d1d671858962c2ca3b5"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4245e409c7347d1d671858962c2ca3b5">◆ </a></span>Time()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Time::Time </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Default constructor. Constructs a time with value 0. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a id="ab1f48322b99266fea871d67a1fee90cd"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab1f48322b99266fea871d67a1fee90cd">◆ </a></span>AsChrono()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename Rep , typename Period > </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::chrono::duration< Rep, Period > Time::AsChrono</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns the stored time in the specified format as a std::duration. </p>
|
|
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
|
<table class="tparams">
|
|
<tr><td class="paramname">Rep</td><td>The datatype to be returned </td></tr>
|
|
<tr><td class="paramname">Period</td><td>An std::ratio representing the resolution of the time format. E.g. the number of seconds per time step</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>A std::duration value representing the stored time </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a953a4bbac412bf3064879a495bf91a96"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a953a4bbac412bf3064879a495bf91a96">◆ </a></span>AsChronoMicroseconds()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::chrono::microseconds Time::AsChronoMicroseconds </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns the stored time in std::chrono::microseconds. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a3c3dad1ce180f5759e1228713b2c30e6"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a3c3dad1ce180f5759e1228713b2c30e6">◆ </a></span>AsChronoMilliseconds()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::chrono::milliseconds Time::AsChronoMilliseconds </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns the stored time in std::chrono::milliseconds. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a927a66f4a96151c1e241ba69755fa982"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a927a66f4a96151c1e241ba69755fa982">◆ </a></span>AsChronoSeconds()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::chrono::seconds Time::AsChronoSeconds </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns the stored time in std::chrono::seconds. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a7cdacd27ba57fdc59daeca5e787ed433"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7cdacd27ba57fdc59daeca5e787ed433">◆ </a></span>AsMicroseconds()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="_util_8hpp.html#a2de3f49eadcae5078cd57134586ee25d">Int64</a> Time::AsMicroseconds </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns the stored time in microseconds. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a7c6ad1774af8c8f70bd7d0a4f1f2928d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7c6ad1774af8c8f70bd7d0a4f1f2928d">◆ </a></span>AsMilliseconds()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="_util_8hpp.html#a20b0c262d9ef5d263888e463dfa99638">Int32</a> Time::AsMilliseconds </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns the stored time in milliseconds. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a2193058fee71c2d63de3c113d92a2de7"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a2193058fee71c2d63de3c113d92a2de7">◆ </a></span>AsSeconds()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">float Time::AsSeconds </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns the stored time in seconds. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a390653f89d18d9755ef3d4d149600ece"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a390653f89d18d9755ef3d4d149600ece">◆ </a></span>AsValue()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename Rep , typename Period > </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Rep Time::AsValue</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns the stored time in the specified format as a scalar. </p>
|
|
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
|
<table class="tparams">
|
|
<tr><td class="paramname">Rep</td><td>The datatype to be returned </td></tr>
|
|
<tr><td class="paramname">Period</td><td>An std::ratio representing the resolution of the time format. E.g. the number of seconds per time step</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>A scalar value representing the stored time </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a000b522aafdbb493acc70be9fe5abc4a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a000b522aafdbb493acc70be9fe5abc4a">◆ </a></span>Create() <span class="overload">[1/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename Rep , typename Period > </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_time.html">Time</a> Time::Create </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const Rep & </td>
|
|
<td class="paramname"><em>duration</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Stores the given scalar as a time, using the given format. </p>
|
|
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
|
<table class="tparams">
|
|
<tr><td class="paramname">Rep</td><td>The datatype to be returned </td></tr>
|
|
<tr><td class="paramname">Period</td><td>An std::ratio representing the resolution of the time format. E.g. the number of seconds per time step</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="class_time.html" title="This class wraps std::chrono::duration and defines some conversions for commonly used times.">Time</a> object storing the given scalar </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a2155604a8ee3ede7afb38b9196068e29"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a2155604a8ee3ede7afb38b9196068e29">◆ </a></span>Create() <span class="overload">[2/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename Rep , typename Period > </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_time.html">Time</a> Time::Create </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const std::chrono::duration< Rep, Period > & </td>
|
|
<td class="paramname"><em>duration</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Stores the given std::duration. </p>
|
|
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
|
<table class="tparams">
|
|
<tr><td class="paramname">Rep</td><td>The datatype to be returned </td></tr>
|
|
<tr><td class="paramname">Period</td><td>An std::ratio representing the resolution of the time format. E.g. the number of seconds per time step</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="class_time.html" title="This class wraps std::chrono::duration and defines some conversions for commonly used times.">Time</a> object storing the given std::duration </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a93c19710e3f655d6fd0053d156a953a2"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a93c19710e3f655d6fd0053d156a953a2">◆ </a></span>Now()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_time.html">Time</a> Time::Now </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Creates a <a class="el" href="class_time.html" title="This class wraps std::chrono::duration and defines some conversions for commonly used times.">Time</a> object storing the current point in time. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="class_time.html" title="This class wraps std::chrono::duration and defines some conversions for commonly used times.">Time</a> object storing the current time </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Friends And Related Function Documentation</h2>
|
|
<a id="ab2361ddfe30cda51480b066eac103fb4"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab2361ddfe30cda51480b066eac103fb4">◆ </a></span>Microseconds</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_time.html">Time</a> Microseconds </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="_util_8hpp.html#a2de3f49eadcae5078cd57134586ee25d">Int64</a> </td>
|
|
<td class="paramname"><em>microseconds</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Creates a <a class="el" href="class_time.html" title="This class wraps std::chrono::duration and defines some conversions for commonly used times.">Time</a> object from a given number of microseconds. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">seconds</td><td>The number of microseconds to store</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>@ret A <a class="el" href="class_time.html" title="This class wraps std::chrono::duration and defines some conversions for commonly used times.">Time</a> object storing the given microseconds </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a8d0e9f87d5b0fdd8d12b0cc35cfd4e56"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8d0e9f87d5b0fdd8d12b0cc35cfd4e56">◆ </a></span>Milliseconds</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_time.html">Time</a> Milliseconds </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="_util_8hpp.html#a20b0c262d9ef5d263888e463dfa99638">Int32</a> </td>
|
|
<td class="paramname"><em>milliseconds</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Creates a <a class="el" href="class_time.html" title="This class wraps std::chrono::duration and defines some conversions for commonly used times.">Time</a> object from a given number of milliseconds. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">seconds</td><td>The number of milliseconds to store</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>@ret A <a class="el" href="class_time.html" title="This class wraps std::chrono::duration and defines some conversions for commonly used times.">Time</a> object storing the given milliseconds </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a07472e52ba2ce81714f231d23adf8547"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a07472e52ba2ce81714f231d23adf8547">◆ </a></span>operator!=</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool operator!= </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_time.html">Time</a> & </td>
|
|
<td class="paramname"><em>left</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="class_time.html">Time</a> & </td>
|
|
<td class="paramname"><em>right</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Overload of != operator comparing two Times. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">left</td><td>Left operand </td></tr>
|
|
<tr><td class="paramname">right</td><td>Right operand</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>true if the two times are not the same </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a8849ab5e3c1954a8590dfd4f978caf01"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8849ab5e3c1954a8590dfd4f978caf01">◆ </a></span>operator%</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_time.html">Time</a> operator% </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_time.html">Time</a> & </td>
|
|
<td class="paramname"><em>left</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="class_time.html">Time</a> & </td>
|
|
<td class="paramname"><em>right</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Overload of % operator to calculate the modulo of a <a class="el" href="class_time.html" title="This class wraps std::chrono::duration and defines some conversions for commonly used times.">Time</a>. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">left</td><td>Left operand </td></tr>
|
|
<tr><td class="paramname">right</td><td>Right operand</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><code>left</code> % <code>right</code> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="af56e896bfd738245c2cc6c3c706f06f4"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af56e896bfd738245c2cc6c3c706f06f4">◆ </a></span>operator%=</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_time.html">Time</a>& operator%= </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="class_time.html">Time</a> & </td>
|
|
<td class="paramname"><em>left</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="class_time.html">Time</a> & </td>
|
|
<td class="paramname"><em>right</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Overload of % operator to calculate the modulo of a <a class="el" href="class_time.html" title="This class wraps std::chrono::duration and defines some conversions for commonly used times.">Time</a>. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">left</td><td>Left operand </td></tr>
|
|
<tr><td class="paramname">right</td><td>Right operand</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><code>left</code> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aadaa37244866e6de72d68f5c30c2fe32"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aadaa37244866e6de72d68f5c30c2fe32">◆ </a></span>operator* <span class="overload">[1/4]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_time.html">Time</a> operator* </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_time.html">Time</a> & </td>
|
|
<td class="paramname"><em>left</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">float </td>
|
|
<td class="paramname"><em>right</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Overload of * operator to multiply a <a class="el" href="class_time.html" title="This class wraps std::chrono::duration and defines some conversions for commonly used times.">Time</a> with a scalar. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">left</td><td>Left operand </td></tr>
|
|
<tr><td class="paramname">right</td><td>Right operand</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><code>left</code> scaled by a factor of <code>right</code> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a26c778130ebbffc45d4e9dec2669d761"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a26c778130ebbffc45d4e9dec2669d761">◆ </a></span>operator* <span class="overload">[2/4]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_time.html">Time</a> operator* </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_time.html">Time</a> & </td>
|
|
<td class="paramname"><em>left</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="_util_8hpp.html#a2de3f49eadcae5078cd57134586ee25d">Int64</a> </td>
|
|
<td class="paramname"><em>right</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Overload of * operator to multiply a <a class="el" href="class_time.html" title="This class wraps std::chrono::duration and defines some conversions for commonly used times.">Time</a> with a scalar. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">left</td><td>Left operand </td></tr>
|
|
<tr><td class="paramname">right</td><td>Right operand</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><code>left</code> scaled by a factor of <code>right</code> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a963d4b276627f9971ac89d24d9764c05"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a963d4b276627f9971ac89d24d9764c05">◆ </a></span>operator* <span class="overload">[3/4]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_time.html">Time</a> operator* </td>
|
|
<td>(</td>
|
|
<td class="paramtype">float </td>
|
|
<td class="paramname"><em>left</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="class_time.html">Time</a> & </td>
|
|
<td class="paramname"><em>right</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Overload of * operator to multiply a <a class="el" href="class_time.html" title="This class wraps std::chrono::duration and defines some conversions for commonly used times.">Time</a> with a scalar. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">left</td><td>Left operand </td></tr>
|
|
<tr><td class="paramname">right</td><td>Right operand</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><code>right</code> scaled by a factor of <code>left</code> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a9a42ea3e8a757b74ffb13b5de927fb30"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a9a42ea3e8a757b74ffb13b5de927fb30">◆ </a></span>operator* <span class="overload">[4/4]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_time.html">Time</a> operator* </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="_util_8hpp.html#a2de3f49eadcae5078cd57134586ee25d">Int64</a> </td>
|
|
<td class="paramname"><em>left</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="class_time.html">Time</a> & </td>
|
|
<td class="paramname"><em>right</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Overload of * operator to multiply a <a class="el" href="class_time.html" title="This class wraps std::chrono::duration and defines some conversions for commonly used times.">Time</a> with a scalar. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">left</td><td>Left operand </td></tr>
|
|
<tr><td class="paramname">right</td><td>Right operand</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><code>right</code> scaled by a factor of <code>left</code> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ada2793fbd13ff189dedbb312b7e85b20"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ada2793fbd13ff189dedbb312b7e85b20">◆ </a></span>operator*= <span class="overload">[1/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_time.html">Time</a>& operator*= </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="class_time.html">Time</a> & </td>
|
|
<td class="paramname"><em>left</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">float </td>
|
|
<td class="paramname"><em>right</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Overload of *= operator to multiply a <a class="el" href="class_time.html" title="This class wraps std::chrono::duration and defines some conversions for commonly used times.">Time</a> with a scalar. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">left</td><td>Left operand </td></tr>
|
|
<tr><td class="paramname">right</td><td>Right operand</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><code>left</code> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a92903308f09b4e214b82f5d77cc9450b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a92903308f09b4e214b82f5d77cc9450b">◆ </a></span>operator*= <span class="overload">[2/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_time.html">Time</a>& operator*= </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="class_time.html">Time</a> & </td>
|
|
<td class="paramname"><em>left</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="_util_8hpp.html#a2de3f49eadcae5078cd57134586ee25d">Int64</a> </td>
|
|
<td class="paramname"><em>right</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Overload of *= operator to multiply a <a class="el" href="class_time.html" title="This class wraps std::chrono::duration and defines some conversions for commonly used times.">Time</a> with a scalar. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">left</td><td>Left operand </td></tr>
|
|
<tr><td class="paramname">right</td><td>Right operand</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><code>left</code> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a3220188faf2f26989df18166286bfe43"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a3220188faf2f26989df18166286bfe43">◆ </a></span>operator+</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_time.html">Time</a> operator+ </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_time.html">Time</a> & </td>
|
|
<td class="paramname"><em>left</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="class_time.html">Time</a> & </td>
|
|
<td class="paramname"><em>right</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Overload of + operator to add two Times. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">left</td><td>Left operand </td></tr>
|
|
<tr><td class="paramname">right</td><td>Right operand</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The sum of the two times </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ac113395867bbeb311793564b53b992fa"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac113395867bbeb311793564b53b992fa">◆ </a></span>operator+=</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_time.html">Time</a>& operator+= </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="class_time.html">Time</a> & </td>
|
|
<td class="paramname"><em>left</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="class_time.html">Time</a> & </td>
|
|
<td class="paramname"><em>right</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Overload of += operator to add two Times. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">left</td><td>Left operand </td></tr>
|
|
<tr><td class="paramname">right</td><td>Right operand</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><code>left</code> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a000bf792d7b6f0b77248cff9f8003e29"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a000bf792d7b6f0b77248cff9f8003e29">◆ </a></span>operator- <span class="overload">[1/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_time.html">Time</a> operator- </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_time.html">Time</a> & </td>
|
|
<td class="paramname"><em>left</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="class_time.html">Time</a> & </td>
|
|
<td class="paramname"><em>right</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Overload of - operator to subtract two Times. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">left</td><td>Left operand </td></tr>
|
|
<tr><td class="paramname">right</td><td>Right operand</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The difference of the two times </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ad79e35ba7b47ff8c6fa44a91ba7e1db3"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ad79e35ba7b47ff8c6fa44a91ba7e1db3">◆ </a></span>operator- <span class="overload">[2/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_time.html">Time</a> operator- </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_time.html">Time</a> & </td>
|
|
<td class="paramname"><em>right</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Overload of the unary - operator. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">right</td><td>Right operand</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The negated time stored in <code>right</code> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="accdb29e09b8488f69817d8b51b87db0d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#accdb29e09b8488f69817d8b51b87db0d">◆ </a></span>operator-=</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_time.html">Time</a>& operator-= </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="class_time.html">Time</a> & </td>
|
|
<td class="paramname"><em>left</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="class_time.html">Time</a> & </td>
|
|
<td class="paramname"><em>right</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Overload of -= operator to subtract two Times. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">left</td><td>Left operand </td></tr>
|
|
<tr><td class="paramname">right</td><td>Right operand</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><code>left</code> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab43b815f827c470721c837da24758b58"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab43b815f827c470721c837da24758b58">◆ </a></span>operator/ <span class="overload">[1/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">float operator/ </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_time.html">Time</a> & </td>
|
|
<td class="paramname"><em>left</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="class_time.html">Time</a> & </td>
|
|
<td class="paramname"><em>right</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Overload of / operator to divide two Times. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">left</td><td>Left operand </td></tr>
|
|
<tr><td class="paramname">right</td><td>Right operand</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The ratio of two times </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab26c444540fdcff4d1cfa06f10fd4e39"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab26c444540fdcff4d1cfa06f10fd4e39">◆ </a></span>operator/ <span class="overload">[2/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_time.html">Time</a> operator/ </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_time.html">Time</a> & </td>
|
|
<td class="paramname"><em>left</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">float </td>
|
|
<td class="paramname"><em>right</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Overload of / operator to divide a <a class="el" href="class_time.html" title="This class wraps std::chrono::duration and defines some conversions for commonly used times.">Time</a> by a scalar. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">left</td><td>Left operand </td></tr>
|
|
<tr><td class="paramname">right</td><td>Right operand</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><code>left</code> divided by <code>right</code> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae86e3c3598a3f0b712fabb219e0c2e7e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae86e3c3598a3f0b712fabb219e0c2e7e">◆ </a></span>operator/ <span class="overload">[3/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_time.html">Time</a> operator/ </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_time.html">Time</a> & </td>
|
|
<td class="paramname"><em>left</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="_util_8hpp.html#a2de3f49eadcae5078cd57134586ee25d">Int64</a> </td>
|
|
<td class="paramname"><em>right</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Overload of / operator to divide a <a class="el" href="class_time.html" title="This class wraps std::chrono::duration and defines some conversions for commonly used times.">Time</a> by a scalar. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">left</td><td>Left operand </td></tr>
|
|
<tr><td class="paramname">right</td><td>Right operand</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><code>left</code> divided by <code>right</code> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a471ce6cdae8759db5ec95194cc90aaf8"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a471ce6cdae8759db5ec95194cc90aaf8">◆ </a></span>operator/= <span class="overload">[1/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_time.html">Time</a>& operator/= </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="class_time.html">Time</a> & </td>
|
|
<td class="paramname"><em>left</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">float </td>
|
|
<td class="paramname"><em>right</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Overload of /= operator to divide a <a class="el" href="class_time.html" title="This class wraps std::chrono::duration and defines some conversions for commonly used times.">Time</a> by a scalar. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">left</td><td>Left operand </td></tr>
|
|
<tr><td class="paramname">right</td><td>Right operand</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><code>left</code> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a0916454a50c60ca9488b98d715baaaa7"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0916454a50c60ca9488b98d715baaaa7">◆ </a></span>operator/= <span class="overload">[2/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_time.html">Time</a>& operator/= </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="class_time.html">Time</a> & </td>
|
|
<td class="paramname"><em>left</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="_util_8hpp.html#a2de3f49eadcae5078cd57134586ee25d">Int64</a> </td>
|
|
<td class="paramname"><em>right</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Overload of /= operator to divide a <a class="el" href="class_time.html" title="This class wraps std::chrono::duration and defines some conversions for commonly used times.">Time</a> by a scalar. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">left</td><td>Left operand </td></tr>
|
|
<tr><td class="paramname">right</td><td>Right operand</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><code>left</code> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ac32257e5c86d2e57b56b0915e1809ead"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac32257e5c86d2e57b56b0915e1809ead">◆ </a></span>operator<</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool operator< </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_time.html">Time</a> & </td>
|
|
<td class="paramname"><em>left</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="class_time.html">Time</a> & </td>
|
|
<td class="paramname"><em>right</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Overload of < operator comparing two Times. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">left</td><td>Left operand </td></tr>
|
|
<tr><td class="paramname">right</td><td>Right operand</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>true if <code>left</code> is less than <code>right</code> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="afaa678c360a26ff8f65d6e1a8e22a2ba"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#afaa678c360a26ff8f65d6e1a8e22a2ba">◆ </a></span>operator<=</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool operator<= </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_time.html">Time</a> & </td>
|
|
<td class="paramname"><em>left</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="class_time.html">Time</a> & </td>
|
|
<td class="paramname"><em>right</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Overload of <= operator comparing two Times. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">left</td><td>Left operand </td></tr>
|
|
<tr><td class="paramname">right</td><td>Right operand</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>true if <code>left</code> is less than or equal to <code>right</code> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a90988eb9657b79c370253c0cc952386a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a90988eb9657b79c370253c0cc952386a">◆ </a></span>operator==</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool operator== </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_time.html">Time</a> & </td>
|
|
<td class="paramname"><em>left</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="class_time.html">Time</a> & </td>
|
|
<td class="paramname"><em>right</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Overload of == operator comparing two Times. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">left</td><td>Left operand </td></tr>
|
|
<tr><td class="paramname">right</td><td>Right operand</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>true if the two times are the same </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="afef5512f7171297e82db0046b7028562"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#afef5512f7171297e82db0046b7028562">◆ </a></span>operator></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool operator> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_time.html">Time</a> & </td>
|
|
<td class="paramname"><em>left</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="class_time.html">Time</a> & </td>
|
|
<td class="paramname"><em>right</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Overload of > operator comparing two Times. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">left</td><td>Left operand </td></tr>
|
|
<tr><td class="paramname">right</td><td>Right operand</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>true if <code>left</code> is greater than <code>right</code> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="af7a34ee9cd59bb411822899ad5132814"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af7a34ee9cd59bb411822899ad5132814">◆ </a></span>operator>=</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool operator>= </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_time.html">Time</a> & </td>
|
|
<td class="paramname"><em>left</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="class_time.html">Time</a> & </td>
|
|
<td class="paramname"><em>right</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Overload of < operator comparing two Times. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">left</td><td>Left operand </td></tr>
|
|
<tr><td class="paramname">right</td><td>Right operand</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>true if <code>left</code> is greater than or equal to <code>right</code> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aaea901fceef777e45cb7b50099a8dd25"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aaea901fceef777e45cb7b50099a8dd25">◆ </a></span>Seconds</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_time.html">Time</a> Seconds </td>
|
|
<td>(</td>
|
|
<td class="paramtype">float </td>
|
|
<td class="paramname"><em>seconds</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Creates a <a class="el" href="class_time.html" title="This class wraps std::chrono::duration and defines some conversions for commonly used times.">Time</a> object from a given number of seconds. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">seconds</td><td>The number of seconds to store</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>@ret A <a class="el" href="class_time.html" title="This class wraps std::chrono::duration and defines some conversions for commonly used times.">Time</a> object storing the given seconds </p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
|
<li>C:/Users/Robert/source/repos/SDLU/include/structures/<a class="el" href="_time_8hpp_source.html">Time.hpp</a></li>
|
|
</ul>
|
|
</div><!-- contents -->
|
|
</div><!-- doc-content -->
|
|
<!-- start footer part -->
|
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="class_time.html">Time</a></li>
|
|
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|