CivilTime Basic Operations


Detailed Description

Default and Copy Constructors, Assignment Operator and Destructor.


Functions

 gpstk::CivilTime::CivilTime (int yr=0, int mo=0, int dy=0, int hr=0, int mn=0, double s=0.0) throw ()
 Default Constructor.
 gpstk::CivilTime::CivilTime (const CivilTime &right) throw ()
 Copy Constructor.
 gpstk::CivilTime::CivilTime (const TimeTag &right) throw ( InvalidRequest )
 Alternate Copy Constructor.
 gpstk::CivilTime::CivilTime (const CommonTime &right) throw ()
 Alternate Copy Constructor.
CivilTime & gpstk::CivilTime::operator= (const CivilTime &right) throw ()
 Assignment Operator.
virtual gpstk::CivilTime::~CivilTime () throw ()
 Virtual Destructor.


Function Documentation

CivilTime const CommonTime right  )  throw () [inline, inherited]
 

Alternate Copy Constructor.

Takes a const CommonTime reference and copies its contents via the convertFromCommonTime method.

Parameters:
right a const reference to the CommonTime object to copy
Exceptions:
InvalidRequest on over-/under-flow

Definition at line 92 of file CivilTime.hpp.

CivilTime const TimeTag right  )  throw ( InvalidRequest ) [inline, inherited]
 

Alternate Copy Constructor.

Takes a const TimeTag reference and copies its contents via conversion to CommonTime.

Parameters:
right a const reference to the TimeTag-based object to copy
Exceptions:
InvalidRequest on over-/under-flow

Definition at line 79 of file CivilTime.hpp.

CivilTime const CivilTime right  )  throw () [inline, inherited]
 

Copy Constructor.

Parameters:
right a const reference to the CivilTime object to copy

Definition at line 65 of file CivilTime.hpp.

CivilTime int  yr = 0,
int  mo = 0,
int  dy = 0,
int  hr = 0,
int  mn = 0,
double  s = 0.0
throw () [inline, inherited]
 

Default Constructor.

All elements default to zero.

Definition at line 51 of file CivilTime.hpp.

CivilTime & operator= const CivilTime right  )  throw () [inherited]
 

Assignment Operator.

Parameters:
right a const reference to the CivilTime object to copy
Returns:
a reference to this CivilTime object

Definition at line 49 of file CivilTime.cpp.

virtual ~CivilTime  )  throw () [inline, virtual, inherited]
 

Virtual Destructor.

Definition at line 107 of file CivilTime.hpp.


Generated on Tue Feb 7 03:31:26 2012 for GPS ToolKit Software Library by  doxygen 1.3.9.1