struct used to hold the duration information
More...
#include <metaStructure.h>
|
std::ostream & | operator<< (std::ostream &out, const Time &time) |
| out the given right hand side duration to standard out stream More...
|
|
struct used to hold the duration information
◆ Time() [1/4]
◆ Time() [2/4]
irafhy::Time::Time |
( |
const Time & |
time | ) |
|
|
default |
copy constructor
- Parameters
-
◆ Time() [3/4]
irafhy::Time::Time |
( |
Time && |
time | ) |
|
|
defaultnoexcept |
move constructor
- Parameters
-
◆ Time() [4/4]
irafhy::Time::Time |
( |
const double & |
start, |
|
|
const double & |
end |
|
) |
| |
|
inline |
constructor with given start and end of the duration
- Parameters
-
start | start of the duration |
end | end of the duration |
References end(), and start().
◆ ~Time()
◆ end()
double irafhy::Time::end |
( |
| ) |
const |
|
inline |
◆ operator<()
bool irafhy::Time::operator< |
( |
const Time & |
rhs | ) |
const |
|
inline |
relational operator
- Parameters
-
rhs | right hand side duration |
- Returns
- TRUE if start or end less than the right hand side one
References end(), operator=(), start(), and ~Time().
◆ operator=() [1/2]
Time& irafhy::Time::operator= |
( |
const Time & |
time | ) |
|
|
inlinedefault |
assignment operator
- Parameters
-
time | right hand side duration |
- Returns
- resulting duration
Referenced by operator<().
◆ operator=() [2/2]
Time& irafhy::Time::operator= |
( |
Time && |
time | ) |
|
|
inlinedefaultnoexcept |
assignment operator
- Parameters
-
time | right hand side duration |
- Returns
- resulting duration
◆ range()
double irafhy::Time::range |
( |
| ) |
const |
|
inline |
◆ start()
double irafhy::Time::start |
( |
| ) |
const |
|
inline |
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const Time & |
time |
|
) |
| |
|
friend |
out the given right hand side duration to standard out stream
- Parameters
-
out | given out stream |
time | given right hand side duration |
- Returns
- resulting out stream
◆ end_
double irafhy::Time::end_ = 0.0 |
end of the duration
Referenced by end().
◆ start_
double irafhy::Time::start_ = 0.0 |
The documentation for this struct was generated from the following file:
- /home/jianqiang/CLionProjects/irafhy/include/irafhy/utility/definition/metaStructure.h