class time : public xobj

XSIL time parameter class.

Inheritance:


Public Methods

time(void)
Default constructor.
time(const char* Name, const char* Type=0, const char* Value=0)
default constructor.
time(const char* Name, const Time& t)
default constructor.
~time(void)
Destructor.
void Spew(Xwriter& xout) const
Write time object to an XML file
xobj* Clone(void) const
Make an exact copy of this object.
const char* getObjType(void) const
Get the object type.
const char* getValue(void) const
Get the time value.
void setValue(const char* Value)
Set the time value.
void setValue(unsigned int Value)
Set the time from GPS seconds.
void setValue(const Time& Value)
Set the time from GPS Time.

Inherited from xobj:

Public Methods

const char* getName(void) const
const char* getType(void) const
const std::string& refName(void) const
const std::string& refType(void) const
void setName(const char* Name)
void setType(const char* Type)

Documentation

XSil time class is equivalent to a parameter but contains an encoded tmie stamp.
time(void)
Default constructor.

time(const char* Name, const char* Type=0, const char* Value=0)
default constructor.
Parameters:
Name - Pointer to the time Name string.
Type - Pointer to the time Type string.
Value - Pointer to the time data string.

time(const char* Name, const Time& t)
default constructor.
Parameters:
Name - Pointer to the time Name string.
t - Pointer to the time data string.

~time(void)
Destructor.

void Spew(Xwriter& xout) const
Write time object to an XML file
Parameters:
xout - XML output object to receive time definition.

xobj* Clone(void) const
Make an exact copy of this object.
Returns:
Pointer to the copy.

const char* getObjType(void) const
Get the object type.
Returns:
Pointer to the object type string.

const char* getValue(void) const
Get the time value.
Returns:
Pointer to the time value string.

void setValue(const char* Value)
Set the time value.
Parameters:
Value - Pointer to the time value string.

void 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.
Parameters:
Time - value in GPS seconds.

void setValue(const Time& Value)
Set the time value from a Time variable.
Parameters:
Time - value.


This class has no child classes.
Author:
J. Zweizig.
Version:
1.1; Modified December 27, 1999.

alphabetic index hierarchy of classes


generated by doc++