home *** CD-ROM | disk | FTP | other *** search
/ Mastering MFC Development / MMD.ISO / labs / c08 / lab02 / ex02 / employeedoc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-02-20  |  1.6 KB  |  58 lines

  1. // EmployeeDoc.h : interface of the CEmployeeDoc class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. #if !defined(AFX_EMPLOYEEDOC_H__E708A684_460C_11D0_9C9D_00A0D100E3C8__INCLUDED_)
  6. #define AFX_EMPLOYEEDOC_H__E708A684_460C_11D0_9C9D_00A0D100E3C8__INCLUDED_
  7.  
  8.  
  9. class CEmployeeDoc : public CDocument
  10. {
  11. protected: // create from serialization only
  12.     CEmployeeDoc();
  13.     DECLARE_DYNCREATE(CEmployeeDoc)
  14.  
  15. // Attributes
  16. public:
  17.     CEmployeePaySet m_employeePaySet;
  18.     CEmployeePersonalSet m_employeePersonalInfoSet;
  19.  
  20. // Operations
  21. public:
  22.     CEmployeePaySet * GetEmployeePaySet() {return &m_employeePaySet; }
  23.     CEmployeePersonalSet * GetEmployeeInfoSet()
  24.         {return &m_employeePersonalInfoSet; }
  25.  
  26. // Overrides
  27.     // ClassWizard generated virtual function overrides
  28.     //{{AFX_VIRTUAL(CEmployeeDoc)
  29.     public:
  30.     virtual BOOL OnNewDocument();
  31.     //}}AFX_VIRTUAL
  32.  
  33. // Implementation
  34. public:
  35.     virtual ~CEmployeeDoc();
  36. #ifdef _DEBUG
  37.     virtual void AssertValid() const;
  38.     virtual void Dump(CDumpContext& dc) const;
  39. #endif
  40.  
  41. protected:
  42.  
  43. // Generated message map functions
  44. protected:
  45.     //{{AFX_MSG(CEmployeeDoc)
  46.         // NOTE - the ClassWizard will add and remove member functions here.
  47.         //    DO NOT EDIT what you see in these blocks of generated code !
  48.     //}}AFX_MSG
  49.     DECLARE_MESSAGE_MAP()
  50. };
  51.  
  52. /////////////////////////////////////////////////////////////////////////////
  53.  
  54. //{{AFX_INSERT_LOCATION}}
  55. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  56.  
  57. #endif // !defined(AFX_EMPLOYEEDOC_H__E708A684_460C_11D0_9C9D_00A0D100E3C8__INCLUDED_)
  58.