Moved source files to src/, header files to include/, and documentation to docs/. Updated Visual Studio project files (.vcxproj, .vcxproj.filters) to reference new file locations and added include/ to the compiler's include path. Added .gitignore and docs/STRUCTURE.md to document the new repository structure. Removed build artifacts and user-specific files from version control.
32 lines
931 B
C++
32 lines
931 B
C++
// TParseString.h: interface for the TParseString class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#if !defined(AFX_TPARSESTRING_H__B6B1C1C4_8CBF_11D1_B242_0000C09B5CBE__INCLUDED_)
|
|
#define AFX_TPARSESTRING_H__B6B1C1C4_8CBF_11D1_B242_0000C09B5CBE__INCLUDED_
|
|
|
|
#if _MSC_VER >= 1000
|
|
#pragma once
|
|
#endif // _MSC_VER >= 1000
|
|
class TParseString : public CString {
|
|
public:
|
|
TParseString() { m_iPosition = 0; };
|
|
TParseString(LPCTSTR name) : CString(name) { m_iPosition = 0; };
|
|
|
|
BOOL ParseBracket(TParseString &str);
|
|
BOOL ParseString(CString &str);
|
|
int ParseInteger();
|
|
double ParseDouble();
|
|
void OverreadLeadingSpaces();
|
|
|
|
BOOL HasErrorOccured() const { return m_bErrorOccured; };
|
|
int GetPosition() const { return m_iPosition; };
|
|
void SetPosition(int pos);
|
|
|
|
private:
|
|
int m_iPosition;
|
|
BOOL m_bErrorOccured;
|
|
};
|
|
|
|
#endif // !defined(AFX_TPARSESTRING_H__B6B1C1C4_8CBF_11D1_B242_0000C09B5CBE__INCLUDED_)
|