/***************************************************************************
**
**    $Header$
**
**    $Log$
** 
****************************************************************************/

/****************************************************************************
**
**  Name:   AdFmtnum.h
**
**  Description:  This file describe the class of CFormatNuber deprived from
**                CFormatType.
**                CFormatNumber process the numerica data. Convert it to
**                string. Check it.
**
**  Status:       Initialization
**                1996/02/16                    Daniel Lin
**
**  Copyright (C) 1996 Microtek International.  All rights reserved.
**
*****************************************************************************/

#ifndef __ADFMTNUM__H
#define __ADFMTNUM__H

class CFormatNumber : public CFormatType
{
private:
    DWORD    m_dwData;
    CString  m_strHexStr;
    CString  m_strDecStr;

public:
    // Constructor
    CFormatNumber(const DWORD dw);

    //Implementation
    virtual void   Convert();

    CString  GetHexString()
    {
        return   m_strHexStr;
    };
    CString  GetDecString()
    {
        return   m_strDecStr;
    };
};

#endif

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