ANSITime Basic Operations


Detailed Description

Default and Copy Constructors, Assignment Operator and Destructor.


Functions

 gpstk::ANSITime::ANSITime (time_t t=0, TimeSystem ts=TimeSystem::Unknown) throw ()
 Default Constructor.
 gpstk::ANSITime::ANSITime (const ANSITime &right) throw ()
 Copy Constructor.
 gpstk::ANSITime::ANSITime (const TimeTag &right) throw ( gpstk::InvalidRequest )
 Alternate Copy Constructor.
 gpstk::ANSITime::ANSITime (const CommonTime &right) throw ( gpstk::InvalidRequest )
 Alternate Copy Constructor.
ANSITime & gpstk::ANSITime::operator= (const ANSITime &right) throw ()
 Assignment Operator.
virtual gpstk::ANSITime::~ANSITime () throw ()
 Virtual Destructor.
 gpstk::UnixTime::UnixTime (int sec=0, int usec=0, TimeSystem ts=TimeSystem::Unknown) throw ()
 Default Constructor.
 gpstk::UnixTime::UnixTime (struct timeval t, TimeSystem ts=TimeSystem::Unknown) throw ()
 struct timeval Constructor.
 gpstk::UnixTime::UnixTime (const UnixTime &right) throw ()
 Copy Constructor.
 gpstk::UnixTime::UnixTime (const TimeTag &right) throw ( gpstk::InvalidRequest )
 Alternate Copy Constructor.
 gpstk::UnixTime::UnixTime (const CommonTime &right) throw ( gpstk::InvalidRequest )
 Alternate Copy Constructor.
UnixTime & gpstk::UnixTime::operator= (const UnixTime &right) throw ()
 Assignment Operator.
virtual gpstk::UnixTime::~UnixTime () throw ()
 Virtual Destructor.


Function Documentation

ANSITime const CommonTime right  )  throw ( gpstk::InvalidRequest ) [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 101 of file ANSITime.hpp.

ANSITime const TimeTag right  )  throw ( gpstk::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 BasicTime object to copy
Exceptions:
InvalidRequest on over-/under-flow

Definition at line 88 of file ANSITime.hpp.

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

Copy Constructor.

Parameters:
right a reference to the ANSITime object to copy

Definition at line 76 of file ANSITime.hpp.

ANSITime time_t  t = 0,
TimeSystem  ts = TimeSystem::Unknown
throw () [inline, inherited]
 

Default Constructor.

All elements are initialized to zero.

Definition at line 66 of file ANSITime.hpp.

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

Assignment Operator.

Parameters:
right a const reference to the UnixTime to copy
Returns:
a reference to this UnixTime

Definition at line 46 of file UnixTime.cpp.

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

Assignment Operator.

Parameters:
right a const reference to the ANSITime to copy
Returns:
a reference to this ANSITime

Definition at line 47 of file ANSITime.cpp.

UnixTime const CommonTime right  )  throw ( gpstk::InvalidRequest ) [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 124 of file UnixTime.hpp.

UnixTime const TimeTag right  )  throw ( gpstk::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 BasicTime object to copy
Exceptions:
InvalidRequest on over-/under-flow

Definition at line 111 of file UnixTime.hpp.

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

Copy Constructor.

Parameters:
right a reference to the UnixTime object to copy

Definition at line 99 of file UnixTime.hpp.

UnixTime struct timeval  t,
TimeSystem  ts = TimeSystem::Unknown
throw () [inline, inherited]
 

struct timeval Constructor.

Sets time according to the given struct timeval.

Definition at line 88 of file UnixTime.hpp.

UnixTime int  sec = 0,
int  usec = 0,
TimeSystem  ts = TimeSystem::Unknown
throw () [inline, inherited]
 

Default Constructor.

All elements are initialized to zero.

Definition at line 79 of file UnixTime.hpp.

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

Virtual Destructor.

Definition at line 116 of file ANSITime.hpp.

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

Virtual Destructor.

Definition at line 139 of file UnixTime.hpp.


Generated on Thu May 23 03:31:36 2013 for GPS ToolKit Software Library by  doxygen 1.3.9.1