casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
asdm::UTCCorrection Class Reference

#include <UTCCorrection.h>

Inheritance diagram for asdm::UTCCorrection:
asdm::Interval

Public Member Functions

 UTCCorrection (double jd, double taiMinusUTC)
 The UTCCorrestion class is used in the table of corrections to obtain UTC time from TAI time. More...
 
double getJD () const
 
double getTAIMinusUTC () const
 
- Public Member Functions inherited from asdm::Interval
 Interval ()
 Interval constructors. More...
 
 Interval (const Interval &)
 
 Interval (const std::string &s)
 
 Interval (const asdmIDLTypes::IDLInterval &)
 
 Interval (int64_t value)
 
virtual ~Interval ()
 Interval destructor. More...
 
Intervaloperator= (const Interval &)
 assignment operator More...
 
Intervaloperator= (const int64_t)
 assignment operator More...
 
Intervaloperator+= (const Interval &)
 assignment with arithmetic operators More...
 
Intervaloperator-= (const Interval &)
 
Intervaloperator*= (const int64_t)
 
Intervaloperator/= (const int64_t)
 
Interval operator+ (const Interval &) const
 arithmetic functions More...
 
Interval operator- (const Interval &) const
 
Interval operator* (const int64_t) const
 
Interval operator/ (const int64_t) const
 
bool operator< (const Interval &) const
 comparison operators More...
 
bool operator> (const Interval &) const
 
bool operator<= (const Interval &) const
 
bool operator>= (const Interval &) const
 
bool operator== (const Interval &) const
 
bool equals (const Interval &) const
 
bool operator!= (const Interval &) const
 
bool isZero () const
 
Interval operator- () const
 unary - and + operators More...
 
Interval operator+ () const
 
std::string toString () const
 
std::string toStringI () const
 
void toBin (EndianOSStream &eoss)
 Write the binary representation of this into an EndianOSStream. More...
 
 operator std::string () const
 Conversion functions. More...
 
int64_t get () const
 
asdmIDLTypes::IDLInterval toIDLInterval () const
 

Private Attributes

double jd
 
double taiMinusUTC
 

Additional Inherited Members

- Static Public Member Functions inherited from asdm::Interval
static int64_t fromString (const std::string &)
 
static std::string toString (int64_t)
 
static Interval getInterval (StringTokenizer &t) throw (NumberFormatException)
 
static void toBin (std::vector< Interval > interval, EndianOSStream &eoss)
 Write the binary representation of a vector of Interval into a EndianOSStream. More...
 
static void toBin (std::vector< std::vector< Interval > > interval, EndianOSStream &eoss)
 Write the binary representation of a vector of vector of Interval into a EndianOSStream. More...
 
static Interval fromBin (EndianIStream &eis)
 Read the binary representation of an Interval from an EndianIStream and use the read value to set an Interval. More...
 
static std::vector< Intervalfrom1DBin (EndianIStream &eis)
 Read the binary representation of a vector of Interval from a EndianIStream and use the read value to set a vector of Interval. More...
 
static std::vector
< std::vector< Interval > > 
from2DBin (EndianIStream &eis)
 Read the binary representation of a vector of vector of Interval from a EndianIStream and use the read value to set a vector of vector of Interval. More...
 
static std::string unit ()
 

Detailed Description

Definition at line 32 of file UTCCorrection.h.

Constructor & Destructor Documentation

asdm::UTCCorrection::UTCCorrection ( double  jd,
double  taiMinusUTC 
)
inline

The UTCCorrestion class is used in the table of corrections to obtain UTC time from TAI time.

A UTCCorrection instance has the Julian day on which a leap second was added to UTC time and the cumulative number of added leap seconds at that time.

Version
1.00 Nov 16, 2004
Author
Allen Farris

Definition at line 52 of file UTCCorrection.h.

References jd, and taiMinusUTC.

Member Function Documentation

double asdm::UTCCorrection::getJD ( ) const
inline

Definition at line 57 of file UTCCorrection.h.

References jd.

double asdm::UTCCorrection::getTAIMinusUTC ( ) const
inline

Definition at line 61 of file UTCCorrection.h.

References taiMinusUTC.

Member Data Documentation

double asdm::UTCCorrection::jd
private

Definition at line 47 of file UTCCorrection.h.

Referenced by getJD(), and UTCCorrection().

double asdm::UTCCorrection::taiMinusUTC
private

Definition at line 48 of file UTCCorrection.h.

Referenced by getTAIMinusUTC(), and UTCCorrection().


The documentation for this class was generated from the following file: