www.pudn.com > ReadDxf.rar > ReadDxfDoc.h
// ReadDxfDoc.h : interface of the CReadDxfDoc class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_READDXFDOC_H__577E275B_EF99_471F_841B_B90BB7FA63D7__INCLUDED_)
#define AFX_READDXFDOC_H__577E275B_EF99_471F_841B_B90BB7FA63D7__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
typedef struct {
float x,y,z;
}MYPOINT;
class CReadDxfDoc : public CDocument
{
protected: // create from serialization only
CReadDxfDoc();
DECLARE_DYNCREATE(CReadDxfDoc)
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CReadDxfDoc)
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
//}}AFX_VIRTUAL
// Implementation
public:
int PointNum;
MYPOINT* pPointList;
virtual ~CReadDxfDoc();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CReadDxfDoc)
afx_msg void OnFileImport();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
int GetPointNum_File(FILE* pf);
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_READDXFDOC_H__577E275B_EF99_471F_841B_B90BB7FA63D7__INCLUDED_)