CARMA C++
|
Common time functions. More...
Go to the source code of this file.
Classes | |
class | carma::util::Time |
This class deals primarily with Frames and Times. More... | |
Namespaces | |
module | carma |
IDL for bima Rx Control, inherits from antenna::common::RxControl. | |
carma::util | |
Utility classes. | |
Functions | |
::std::ostream & | operator<< (::std::ostream &os, const carma::util::Time &time) |
Insert (i.e. output) a presentation of the current time from an instance of carma::util::Time into an output stream. More... | |
Common time functions.
Also support for time of half-second frames.
$CarmaCopyright$
Definition in file Time.h.
std::ostream & operator<< | ( | ::std::ostream & | os, |
const carma::util::Time & | time | ||
) |
Insert (i.e. output) a presentation of the current time from an instance of carma::util::Time into an output stream.
The precision with which the seconds field is presented is determined by the precision of the stream. Hence, usage like this:
would produce output that looks like this:
os | The output stream to insert the presentation into. |
time | The carma::util::Time instance to get the current time from. |
os
output stream parameter so that stream insertions can be chained in the usual C++ way (as shown in the example).