/** * Alternate Copy Constructor. * Takes a const TimeTag reference and copies its contents via * conversion to CommonTime. * @param right a const reference to the TimeTag-based object to copy * @throw InvalidRequest on over-/under-flow */ CivilTime( const TimeTag& right ) throw() { convertFromCommonTime( right.convertToCommonTime() ); }
/** * Alternate Copy Constructor. * Takes a const CommonTime reference and copies its contents via * the convertFromCommonTime method. * @param right a const reference to the CommonTime object to copy * @throw InvalidRequest on over-/under-flow */ WeekSecond( const CommonTime& right ) { convertFromCommonTime( right ); }
/** * Alternate Copy Constructor. * Takes a const CommonTime reference and copies its contents via * the convertFromCommonTime method. * @param right a const reference to the CommonTime object to copy * @throw InvalidRequest on over-/under-flow */ CivilTime( const CommonTime& right ) throw() { convertFromCommonTime( right ); }
/** * Alternate Copy Constructor. * Takes a const TimeTag reference and copies its contents via * conversion to CommonTime. * @param right a const reference to the BasicTime object to copy * @throw InvalidRequest on over-/under-flow */ WeekSecond( const TimeTag& right ) { convertFromCommonTime( right.convertToCommonTime() ); }
/** * Alternate Copy Constructor. * Takes a const CommonTime reference and copies its contents via * the convertFromCommonTime method. * @param right a const reference to the CommonTime object to copy * @throw InvalidRequest on over-/under-flow */ MJD( const CommonTime& right ) { convertFromCommonTime( right ); }
/** * Alternate Copy Constructor. * Takes a const TimeTag reference and copies its contents via * conversion to CommonTime. * @param right a const reference to the BasicTime object to copy * @throw InvalidRequest on over-/under-flow */ ANSITime( const TimeTag& right ) { convertFromCommonTime( right.convertToCommonTime() ); }
/** * Alternate Copy Constructor. * Takes a const TimeTag reference and copies its contents via * conversion to CommonTime. * @param right a const reference to the TimeTag-based object to copy * @throw InvalidRequest on over-/under-flow */ CivilTime( const TimeTag& right ) throw( InvalidRequest ) { convertFromCommonTime( right.convertToCommonTime() ); }
/** * Alternate Copy Constructor. * Takes a const TimeTag reference and copies its contents via * conversion to CommonTime. * @param right a const reference to the BasicTime object to copy * @throw InvalidRequest on over-/under-flow */ MJD( const TimeTag& right ) throw( gpstk::InvalidRequest ) { convertFromCommonTime( right.convertToCommonTime() ); }