Time.
More...
#include <JTime.hh>
Time.
Definition at line 27 of file JGeometry3D/JTime.hh.
JGEOMETRY3D::JTime::JTime |
( |
| ) |
|
|
inline |
JGEOMETRY3D::JTime::JTime |
( |
const double |
t | ) |
|
|
inline |
JTime& JGEOMETRY3D::JTime::negate |
( |
| ) |
|
|
inline |
JTime& JGEOMETRY3D::JTime::add |
( |
const JTime & |
value | ) |
|
|
inline |
Addition operator.
- Parameters
-
- Returns
- time
Definition at line 67 of file JGeometry3D/JTime.hh.
double getT() const
Get time.
JTime& JGEOMETRY3D::JTime::sub |
( |
const JTime & |
value | ) |
|
|
inline |
Subtraction operator.
- Parameters
-
- Returns
- time
Definition at line 81 of file JGeometry3D/JTime.hh.
double getT() const
Get time.
JTime& JGEOMETRY3D::JTime::mul |
( |
const double |
value | ) |
|
|
inline |
Multiplication operator.
- Parameters
-
value | multiplication factor |
- Returns
- time
Definition at line 95 of file JGeometry3D/JTime.hh.
JTime& JGEOMETRY3D::JTime::div |
( |
const double |
value | ) |
|
|
inline |
Division operator.
- Parameters
-
value | multiplication factor |
- Returns
- time
Definition at line 109 of file JGeometry3D/JTime.hh.
void JGEOMETRY3D::JTime::setT |
( |
const double |
time | ) |
|
|
inline |
double JGEOMETRY3D::JTime::getT |
( |
| ) |
const |
|
inline |
std::istream& operator>> |
( |
std::istream & |
in, |
|
|
JTime & |
time |
|
) |
| |
|
friend |
Read time from input.
- Parameters
-
- Returns
- input stream
Definition at line 146 of file JGeometry3D/JTime.hh.
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const JTime & |
time |
|
) |
| |
|
friend |
Write time to output.
- Parameters
-
out | output stream |
time | time |
- Returns
- output stream
Definition at line 161 of file JGeometry3D/JTime.hh.
163 const JFormat format(out, getFormat<JTime>(
JFormat_t(9, 3, std::ios::fixed | std::ios::showpos)));
Read time from input.
- Parameters
-
- Returns
- reader
Definition at line 178 of file JGeometry3D/JTime.hh.
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
double JGEOMETRY3D::JTime::__t |
|
protected |
The documentation for this class was generated from the following file: