xml::xsilTime Class Reference
[Output stream manipulators.]

#include <Xsil.hh>

Inheritance diagram for xml::xsilTime:

xml::xsil_base

List of all members.

Public Types

typedef unsigned long gdstime_t
 time format

Public Member Functions

 xsilTime (const char *name, const Time &time, int level=2)
 Constructor with name, time and indent level.
 xsilTime (const char *name, gdstime_t sec, gdstime_t nsec, int level=2)
 Constructor with name, time and indent level.
std::ostream & write (std::ostream &os, int format=1) const

Protected Attributes

gdstime_t fSec
 GPS sec.
gdstime_t fNSec
 GPS nsec.


Detailed Description

Xsil time manipulator. This manipulator adds a time object to the output stream. Example: {verbatim} os << xsilTime ("Time", sec, nsec) << endl; {verbatim}

brief Xsil time manipulator.

Author:
Written June 2000 by Daniel Sigg
Version:
1.0

Member Function Documentation

std::ostream& xml::xsilTime::write ( std::ostream &  os,
int  format = 1 
) const

Write time to output stream format: 0 - gps, 1 - gps and utc


The documentation for this class was generated from the following file:
Generated on Sun Mar 8 19:21:41 2009 for dmt by  doxygen 1.5.4