Alphabetical Class Index   File Members   Compound Members   File List  

CHoopsDoc.h
1 //
2 // Copyright (c) 2000 by Tech Soft 3D, LLC.
3 // The information contained herein is confidential and proprietary to
4 // Tech Soft 3D, LLC., and considered a trade secret as defined under
5 // civil and criminal statutes. Tech Soft 3D shall pursue its civil
6 // and criminal remedies in the event of unauthorized use or misappropriation
7 // of its trade secrets. Use of this information by anyone other than
8 // authorized employees of Tech Soft 3D, LLC. is granted only under a
9 // written non-disclosure agreement, expressly prescribing the scope and
10 // manner of such use.
11 //
12 // $Id: 482778c11e41effa12d33e7fa81a50e7d0e27bec $
13 //
14 
15 // CHoopsDoc.h : interface of the CHoopsDoc class, derived from CDocument
16 // Adds encapsulation of a HOOPS Model Object, which corresponds to a segment
17 // in the HOOPS Include Library
18 
19 #ifndef hoops_doc
20 #define hoops_doc
21 
22 
23 #include "HBaseModel.h"
24 #include "HMFCGlobals.h"
25 
27 
32 class HMFC_API CHoopsDoc : public CDocument
33 {
34 protected: // create from serialization only
35  CHoopsDoc();
36  DECLARE_DYNCREATE(CHoopsDoc);
37 
38 
45 
46 // Operations
47 public:
48 
50  HBaseModel* GetHoopsModel( void ) { return m_pHoopsModel; }
51 
54  HC_KEY GetIncludeKey( void) { return m_include_key; }
55 
56 // Overrides
57  // ClassWizard generated virtual function overrides
58  //{{AFX_VIRTUAL(CHoopsDoc)
59  public:
60  virtual BOOL OnNewDocument();
61  virtual void Serialize(CArchive& ar);
62 #ifdef _UNICODE
63  virtual BOOL OnOpenDocument(__wchar_t const * lpszPathName);
64 #ifdef H_USHORT_OVERLOAD
65  virtual BOOL OnOpenDocument(unsigned short const * lpszPathName);
66 #endif
67 #else
68  virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
69 #endif
70  //}}AFX_VIRTUAL
71 
72 // Implementation
73 public:
74  virtual ~CHoopsDoc();
75 #ifdef _DEBUG
76  virtual void AssertValid() const;
77  virtual void Dump(CDumpContext& dc) const;
78 #endif
79 
80 protected:
81 
82 // Generated message map functions
83 protected:
84  //{{AFX_MSG(CHoopsDoc)
85  // NOTE - the ClassWizard will add and remove member functions here.
86  // DO NOT EDIT what you see in these blocks of generated code !
87  //}}AFX_MSG
88  DECLARE_MESSAGE_MAP()
89 };
90 
91 #endif
92 
The CHoopsDoc class provides a HOOPS-specific implementation of the CDocument object.
Definition: CHoopsDoc.h:32
HC_KEY m_include_key
Definition: CHoopsDoc.h:44
HBaseModel * m_pHoopsModel
Definition: CHoopsDoc.h:39
#define HC_KEY
HC_KEY GetIncludeKey(void)
Definition: CHoopsDoc.h:54
HBaseModel * GetHoopsModel(void)
Definition: CHoopsDoc.h:50