|
|
|
|
|
#pragma once
|
|
|
|
|
|
#ifndef AFX_EXT_CLASS
|
|
|
|
|
|
#define AFX_EXT_CLASS Q_DECL_IMPORT
|
|
|
|
|
|
#endif
|
|
|
|
|
|
#include "../GBase/IOFile.h"
|
|
|
|
|
|
namespace GObjects
|
|
|
|
|
|
{
|
|
|
|
|
|
class CMyCurve;
|
|
|
|
|
|
class AFX_EXT_CLASS CDfdFileReader
|
|
|
|
|
|
{
|
|
|
|
|
|
public:
|
|
|
|
|
|
CDfdFileReader(void);
|
|
|
|
|
|
~CDfdFileReader(void);
|
|
|
|
|
|
|
|
|
|
|
|
//<2F>б<EFBFBD><D0B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɵ<EFBFBD>ΪCCurve*<2A><><EFBFBD><EFBFBD>
|
|
|
|
|
|
int ReadCurveAll(CString m_input, TPtrList& CurveList);
|
|
|
|
|
|
//<2F><><EFBFBD>ļ<EFBFBD><C4BC>ж<EFBFBD>ȡcurve*<2A><><EFBFBD><EFBFBD>
|
|
|
|
|
|
int ReadCurveAll(CString m_input, std::vector<CMyCurve*>& curvelist);
|
|
|
|
|
|
|
|
|
|
|
|
//int ReadCurveAll(CString m_input, CCurveList& CurveList);
|
|
|
|
|
|
void ClearCurveList(TPtrList& curveList);
|
|
|
|
|
|
|
|
|
|
|
|
//int ReadCurveAll(CString m_input, TMap<int,void *> & CurveMap);
|
|
|
|
|
|
int ReadLayer(CString& line);
|
|
|
|
|
|
int ReadSuperLink(IOFile& fr, CString& line);
|
|
|
|
|
|
|
|
|
|
|
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8>CCurve*
|
|
|
|
|
|
void* ReadCurve(IOFile& fr, CString& line);
|
|
|
|
|
|
void* ReadNextCurve(IOFile& fr); //<2F><>ȡһ<C8A1><D2BB><EFBFBD><EFBFBD><EFBFBD>ߣ<EFBFBD><DFA3><EFBFBD><EFBFBD><EFBFBD>CCurve*ָ<>룬<EFBFBD><EBA3AC>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD>Ҫ<EFBFBD>ⲿɾ<E2B2BF><C9BE>
|
|
|
|
|
|
|
|
|
|
|
|
int IsSkip(CString& line);
|
|
|
|
|
|
int IsSuperLink(CString& line);
|
|
|
|
|
|
int IsCurve(CString& line);
|
|
|
|
|
|
|
|
|
|
|
|
void* ReadCalibrate(CString m_input);
|
|
|
|
|
|
//void* GetCalibrate(CString m_input,int state);
|
|
|
|
|
|
bool m_bShowProDlg; ///< <20>Ƿ<EFBFBD><C7B7><EFBFBD>ʾ<EFBFBD><CABE><EFBFBD>ȿ<EFBFBD><C8BF><EFBFBD>Ĭ<EFBFBD><C4AC>true
|
|
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
int IsNew;
|
|
|
|
|
|
int ReadNew(CString& line);
|
|
|
|
|
|
int ReadDisplay(CString& line);
|
|
|
|
|
|
};
|
|
|
|
|
|
};
|
|
|
|
|
|
using namespace GObjects;
|