1 // CTerminalRuleCollection class
2 // Copyright © 2009 The University of Chicago
3 #ifndef TERMINALRULECOLLECTION_H
4 #define TERMINALRULECOLLECTION_H
6 class CTerminalRuleCollection
;
8 #include "CollectionTemplate.h"
9 template<class T
> class Q3PtrList
;
11 class CTerminalRuleCollection
: public TCollection
<class CTerminalRule
> {
13 CTerminalRuleCollection();
14 virtual ~CTerminalRuleCollection();
17 CTerminalRule
* operator<<(CTerminalRule
* rule
);
19 void FindSubstrings(CStringSurrogate
& str
,
20 Q3PtrList
<CTerminalRule
>& out
);
24 #endif // TERMINALRULECOLLECTION_H