#include "ccfwd.h"
#include <iosfwd>
Go to the source code of this file.
|
| void | test_in_game_time () |
| | Test this class and its free functions.
|
| |
| std::string | to_str (const in_game_time &t) noexcept |
| | Convert to literal string, with all the digits behind the comma.
|
| |
| std::string | to_human_str (const in_game_time &t) noexcept |
| | Convert to string, rounded off to two digits.
|
| |
| bool | operator== (const in_game_time &lhs, const in_game_time &rhs) noexcept |
| |
| bool | operator< (const in_game_time &lhs, const in_game_time &rhs) noexcept |
| |
| bool | operator<= (const in_game_time &lhs, const in_game_time &rhs) noexcept |
| |
| bool | operator> (const in_game_time &lhs, const in_game_time &rhs) noexcept |
| |
| bool | operator>= (const in_game_time &lhs, const in_game_time &rhs) noexcept |
| |
| in_game_time & | operator+= (in_game_time &game_time, const delta_t &dt) noexcept |
| |
| in_game_time | operator+ (const in_game_time &game_time, const delta_t &dt) noexcept |
| |
| in_game_time | operator- (const in_game_time &game_time, const delta_t &dt) noexcept |
| |
| delta_t | operator- (const in_game_time &lhs, const in_game_time &rhs) noexcept |
| |
| std::ostream & | operator<< (std::ostream &os, const in_game_time &dt) noexcept |
| |
◆ operator+()
◆ operator+=()
◆ operator-() [1/2]
◆ operator-() [2/2]
◆ operator<()
◆ operator<<()
| std::ostream & operator<< |
( |
std::ostream & |
os, |
|
|
const in_game_time & |
dt |
|
) |
| |
|
noexcept |
◆ operator<=()
◆ operator==()
◆ operator>()
◆ operator>=()
◆ test_in_game_time()
| void test_in_game_time |
( |
| ) |
|
Test this class and its free functions.
◆ to_human_str()
Convert to string, rounded off to two digits.
For example: 1.23
◆ to_str()
Convert to literal string, with all the digits behind the comma.
For example: 1.23456789