zda.hpp

来自「This is a GPS communication source code 」· HPP 代码 · 共 53 行

HPP
53
字号
#if ! defined( ZDA_CLASS_HEADER )

#define ZDA_CLASS_HEADER

/*
** Author: Samuel R. Blackburn
** Internet: sam_blackburn@pobox.com
**
** You can use it any way you like as long as you don't try to sell it.
**
** Copyright, 1996, Samuel R. Blackburn
**
** $Workfile: zda.hpp $
** $Revision: 4 $
** $Modtime: 10/10/98 4:41p $
*/

class ZDA : public RESPONSE
{
   public:

      ZDA();
      virtual ~ZDA();

      /*
      ** Data
      */

      CString UTCTime;
      CTime   Time;
      int     Day;
      int     Month;
      int     Year;
      int     LocalHourDeviation;
      int     LocalMinutesDeviation;

      /*
      ** Methods
      */

      virtual void Empty( void );
      virtual BOOL Parse( const SENTENCE& sentence );
      virtual BOOL Write( SENTENCE& sentence );

      /*
      ** Operators
      */

      virtual const ZDA& operator = ( const ZDA& source );
};

#endif // ZDA_CLASS_HEADER

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?