xsil::time Class Reference
[Xsil document preparation]

#include <time.hh>

Inheritance diagram for xsil::time:

xsil::xobj

List of all members.

Public Member Functions

 time (void)
 time (const char *Name, const char *Type=0, const char *Value=0)
 time (const char *Name, const Time &t)
 ~time (void)
void Spew (Xwriter &xout) const
timeClone (void) const
const char * getObjType (void) const
Time getTime (void) const
const char * getValue (void) const
void setValue (const char *Value)
void setValue (unsigned int Value)
void setValue (const std::string &Value)
void setValue (const Time &Value)


Detailed Description

XSil time class is equivalent to a parameter but contains an encoded time stamp. brief XSIL time parameter class.
Author:
J. Zweizig.
Version:
1.1; Modified December 27, 1999.

Constructor & Destructor Documentation

xsil::time::time ( void   ) 

Default constructor. brief Default constructor.

xsil::time::time ( const char *  Name,
const char *  Type = 0,
const char *  Value = 0 
)

Data constructor. brief default constructor.

Parameters:
Name Pointer to the time Name string.
Type Pointer to the time Type string.
Value Pointer to the time data string.

xsil::time::time ( const char *  Name,
const Time &  t 
)

Data constructor. brief default constructor.

Parameters:
Name Pointer to the time Name string.
t Pointer to the time data string.

xsil::time::~time ( void   ) 

Destructor. brief Destructor.


Member Function Documentation

void xsil::time::Spew ( Xwriter xout  )  const [virtual]

Write time object to an XML file. brief Write time object to an XML file

Parameters:
xout XML output object to receive time definition.

Implements xsil::xobj.

time* xsil::time::Clone ( void   )  const [virtual]

Make an exact copy of this object. brief Make an exact copy of this object.

Returns:
Pointer to the copy.

Implements xsil::xobj.

const char* xsil::time::getObjType ( void   )  const [virtual]

Get the object type. brief Get the object type.

Returns:
Pointer to the object type string.

Implements xsil::xobj.

Time xsil::time::getTime ( void   )  const

Get the time value. brief Get the time value.

Returns:
Pointer to the time value string.

const char * xsil::time::getValue ( void   )  const [inline]

Get the time value. brief Get the time value.

Returns:
Pointer to the time value string.

void xsil::time::setValue ( const char *  Value  ) 

Set the time value. brief Set the time value.

Parameters:
Value Pointer to the time value string.

void xsil::time::setValue ( unsigned int  Value  ) 

Set the time value from a unsigned int variable containing the number of seconds since the start of the GPS epoch. brief Set the time from GPS seconds.

Parameters:
Value Time value in GPS seconds.

void xsil::time::setValue ( const std::string &  Value  ) 

Set the time value from a stl string. brief Set the time.

Parameters:
Value Time value string.

void xsil::time::setValue ( const Time &  Value  ) 

Set the time value from a Time variable. brief Set the time from GPS Time.

Parameters:
Value Time value.


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