// FunToken.h: interface for the FunToken class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_FUNTOKEN_H__67AAA741_1195_463E_8425_F53FFE8C5468__INCLUDED_) #define AFX_FUNTOKEN_H__67AAA741_1195_463E_8425_F53FFE8C5468__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 class FunToken { public: FunToken(); virtual ~FunToken(); int GetStartPos(); int GetLineNumber(); void ReturnBack(CString Token); void Reset(); //reset the static variable BOOL GetToken(CString &FunStream,CString &Token); BOOL GetConcept(CString &FunStream,CString &Token); BOOL GetProp(CString &FunStream,CString &Token); BOOL GetDate(CString &FunStream,CString &Token); void WriteToken(CString &FunStream); private: static int StartPos; //the position in the function stream static int LineNumber; //the line number of the function }; #endif // !defined(AFX_FUNTOKEN_H__67AAA741_1195_463E_8425_F53FFE8C5468__INCLUDED_)