Alphabetical Class Index   File Members   Compound Members   File List  

CHoopsDoc.h
00001 // Copyright (c) 1998-2014 by Tech Soft 3D, Inc.
00002 //
00003 // The information contained herein is confidential and proprietary to Tech Soft 3D, Inc.,
00004 // and considered a trade secret as defined under civil and criminal statutes.
00005 // Tech Soft 3D, Inc. shall pursue its civil and criminal remedies in the event of
00006 // unauthorized use or misappropriation of its trade secrets.  Use of this information
00007 // by anyone other than authorized employees of Tech Soft 3D, Inc. is granted only under
00008 // a written non-disclosure agreement, expressly prescribing the scope and manner of such use.
00009 
00010 // CHoopsDoc.h : interface of the CHoopsDoc class, derived from CDocument
00011 // Adds encapsulation of a HOOPS Model Object, which corresponds to a segment
00012 // in the HOOPS Include Library
00013 
00014 #ifndef hoops_doc
00015 #define hoops_doc 
00016 
00017 
00018 #include "HBaseModel.h"
00019 #include "HMFCGlobals.h"
00020 
00022 
00027 class HMFC_API CHoopsDoc : public CDocument
00028 {
00029 protected: // create from serialization only
00030     CHoopsDoc();
00031     DECLARE_DYNCREATE(CHoopsDoc);  
00032 
00033     
00034     HBaseModel*     m_pHoopsModel;  
00039     HC_KEY          m_include_key;  
00040 
00041 // Operations
00042 public:
00043 
00045     HBaseModel* GetHoopsModel( void ) { return m_pHoopsModel; }
00046 
00049     HC_KEY      GetIncludeKey( void) { return m_include_key; }
00050 
00051 // Overrides
00052     // ClassWizard generated virtual function overrides
00053     //{{AFX_VIRTUAL(CHoopsDoc)
00054     public:
00055     virtual BOOL OnNewDocument();    
00056     virtual void Serialize(CArchive& ar);  
00057 #ifdef _UNICODE
00058     virtual BOOL OnOpenDocument(__wchar_t const * lpszPathName);  
00059 #ifdef H_USHORT_OVERLOAD
00060     virtual BOOL OnOpenDocument(unsigned short const * lpszPathName);  
00061 #endif
00062 #else
00063     virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);  
00064 #endif
00065     //}}AFX_VIRTUAL
00066 
00067 // Implementation
00068 public:
00069     virtual ~CHoopsDoc();
00070 #ifdef _DEBUG
00071     virtual void AssertValid() const;
00072     virtual void Dump(CDumpContext& dc) const;
00073 #endif
00074 
00075 protected:
00076 
00077 // Generated message map functions
00078 protected:
00079     //{{AFX_MSG(CHoopsDoc)
00080         // NOTE - the ClassWizard will add and remove member functions here.
00081         //    DO NOT EDIT what you see in these blocks of generated code !
00082     //}}AFX_MSG
00083     DECLARE_MESSAGE_MAP()
00084 };
00085 
00086 #endif
00087