43 lines
940 B
C++
43 lines
940 B
C++
//-------------------------------------------------------------------------------------------------------+
|
|
// Copyright (C), 1998-2007, SH Software Co. Ltd.
|
|
// = FileName : SymbolTable 类
|
|
// = Version : ver2.0
|
|
// = Author : zjq
|
|
// = CreateDate : 2002-09-09
|
|
// = Description: XSymbolTable 声明符号表
|
|
// = Maintainers:
|
|
//
|
|
//-------------------------------------------------------------------------------------------------------+
|
|
#ifndef _SYMBOLTABLE_H_
|
|
#define _SYMBOLTABLE_H_
|
|
|
|
#ifndef _RBLIST_H_
|
|
#include "RBList.h"
|
|
#endif
|
|
|
|
class GEOAPI SymbolTable : public RBList
|
|
{
|
|
public:
|
|
|
|
SymbolTable();
|
|
|
|
SymbolTable(SymbolTable &);
|
|
|
|
SymbolTable(LPCTSTR tblname, LPCTSTR sym, int setnext = 0);
|
|
|
|
~SymbolTable();
|
|
|
|
static resbuf *tblsearch(LPCTSTR tblname, LPCTSTR sym, int setnext = 0);
|
|
|
|
resbuf * tblnext(int rewind = 0);
|
|
|
|
protected:
|
|
|
|
TCHAR *tblName;
|
|
};
|
|
|
|
typedef class SymbolTable XSymbolTable;
|
|
|
|
#endif
|
|
|