home *** CD-ROM | disk | FTP | other *** search
/ Mastering MFC Development / MMD.ISO / samples / c07 / tmpgraph / tgrafdoc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-02-20  |  1.2 KB  |  49 lines

  1. // TGrafDoc.h : interface of the CTemperatureGraphDoc class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. class CTemperatureGraphDoc : public CDocument
  6. {
  7. protected: // create from serialization only
  8.     CTemperatureGraphDoc();
  9.     DECLARE_DYNCREATE(CTemperatureGraphDoc)
  10.  
  11. // Attributes
  12. public:
  13.  
  14. // Operations
  15. public:
  16.     CString m_city;
  17.     CString m_month;
  18.     UINT m_year;
  19.     CArray<CPoint, CPoint&> temps;
  20.  
  21. // Overrides
  22.     // ClassWizard generated virtual function overrides
  23.     //{{AFX_VIRTUAL(CTemperatureGraphDoc)
  24.     public:
  25.     virtual BOOL OnNewDocument();
  26.     virtual void Serialize(CArchive& ar);
  27.     //}}AFX_VIRTUAL
  28.  
  29. // Implementation
  30. public:
  31.     virtual ~CTemperatureGraphDoc();
  32. #ifdef _DEBUG
  33.     virtual void AssertValid() const;
  34.     virtual void Dump(CDumpContext& dc) const;
  35. #endif
  36.  
  37. protected:
  38.  
  39. // Generated message map functions
  40. protected:
  41.     //{{AFX_MSG(CTemperatureGraphDoc)
  42.         // NOTE - the ClassWizard will add and remove member functions here.
  43.         //    DO NOT EDIT what you see in these blocks of generated code !
  44.     //}}AFX_MSG
  45.     DECLARE_MESSAGE_MAP()
  46. };
  47.  
  48. /////////////////////////////////////////////////////////////////////////////
  49.