/***************************************************************************
**
**    $Header:   D:/EPSLDV1/SRC/LOG/FMTHEX.H__   1.8   20 Jun 1996 09:30:40   ZJRD  $
**
**    $Log:   D:/EPSLDV1/SRC/LOG/FMTHEX.H__  $
** 
**    Rev 1.8   20 Jun 1996 09:30:40   ZJRD
** EasyPack/SLD Version 1.20a
** 
**    Rev 1.6   10 Jun 1996 10:25:18   ZJRD
** EasyPack/SLD Version 1.20
** 
**    Rev 1.4   29 May 1996 09:38:12   ZJRD
** No change.
** 
**    Rev 1.3   16 May 1996 09:00:30   ZJRD
** No change.
** 
**    Rev 1.2   10 May 1996 09:14:56   ZJRD
** No change.
** 
**    Rev 1.1   02 May 1996 10:22:48   ZJRD
** EasyPack/SLD Version 1.92
** 
**    Rev 1.1   18 Apr 1996 13:02:34   Shirley
** No change.
** 
**    Rev 1.0   12 Apr 1996 10:36:40   Shirley
** Initial revision.
** 
****************************************************************************/

/***************************************************************************
**
**  Name:      FmtHex.h
**
**  Description:  This file describe the hexadecimal string class. Deprivde
**                from the class CFormatString.
**                This class process the hex string, convert it to data(number)
**
**  Status: Initialization
**          1996/02/15        Daniel Lin
**
**  Copyright (C) 1996 Microtek International.  All rights reserved.
*****************************************************************************/

#ifndef __FMTHEX__H
#define __FMTHEX__H

class CFormatHexStr : public CFormatString
{
   private:
      CString  m_strOriginHexStr;   // Original string from constructor
      DWORD    m_dwData;            // Converted data(DWORD)

   public:
      //Constructor
      CFormatHexStr(CString& str);
      CFormatHexStr(char* lpsz);

      //Implementation
      void Convert();               // Process the convert

      CString  GetHexString()       // return the hex string
      {
         return m_strOriginHexStr;
      };

      DWORD    GetAddress()         // Return the data of the dex string
      {
         return   m_dwData;
      };
};

#endif

//////////////////////////////////(EOF)////////////////////////////////////////
