/***************************************************************************
**
**    $Header:   D:/EPSLDV1/SRC/LOG/FMTDEC.H__   1.8   20 Jun 1996 09:25:46   ZJRD  $
**
**    $Log:   D:/EPSLDV1/SRC/LOG/FMTDEC.H__  $
** 
**    Rev 1.8   20 Jun 1996 09:25:46   ZJRD
** EasyPack/SLD Version 1.20a
** 
**    Rev 1.6   10 Jun 1996 10:20:24   ZJRD
** EasyPack/SLD Version 1.20
** 
**    Rev 1.4   29 May 1996 09:30:02   ZJRD
** No change.
** 
**    Rev 1.3   16 May 1996 09:07:18   ZJRD
** No change.
** 
**    Rev 1.2   10 May 1996 09:10:18   ZJRD
** No change.
** 
**    Rev 1.1   02 May 1996 10:26:54   ZJRD
** EasyPack/SLD Version 1.92
** 
**    Rev 1.1   18 Apr 1996 12:54:50   Shirley
** No change.
** 
**    Rev 1.0   12 Apr 1996 10:36:38   Shirley
** Initial revision.
** 
****************************************************************************/

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

#ifndef __FMTDEC__H
#define __FMTDEC__H

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

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

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

      CString  GetDecString()    // return the Dec string
      {
         return m_strOriginDecStr;
      };

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

#endif

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