11 #ifndef ClassStMessageCounter
12 #define ClassStMessageCounter
14 #include "StMessTypeList.h"
18 typedef StVector(
char*) messCharVec;
19 typedef StVector(
char*)::iterator messCharVecIter;
26 const char* limitMessage;
29 messCharVecIter curString;
35 intVector limitTCountList;
36 messCharVec limitList;
38 intVector limitNCountList;
39 messCharVec limitWList;
40 intVector limitWNList;
45 void SetLimit(
const char* str,
int n=0);
46 int GetLimit(
const char* str);
48 void AddType(
const char* type);
49 int CheckLimit(
char* mess,
const char* type);
50 void NoLimits() {noLimits = 1;}