Alphabetical Class Index   File Members   Compound Members   File List  

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