source:
Sophya/trunk/Poubelle/archTOI.old/tokenizer.h@
2577
| Last change on this file since 2577 was 534, checked in by , 26 years ago | |
|---|---|
| File size: 366 bytes | |
| Rev | Line | |
|---|---|---|
| [534] | 1 | // tokenizer.h |
| 2 | // Eric Aubourg CEA/DAPNIA/SPP septembre 1999 | |
| 3 | ||
| 4 | #ifndef TOKENIZER_H | |
| 5 | #define TOKENIZER_H | |
| 6 | ||
| 7 | #include <string> | |
| 8 | #include <set> | |
| 9 | #include <vector> | |
| 10 | ||
| 11 | using namespace std; | |
| 12 | ||
| 13 | class Tokenizer { | |
| 14 | public: | |
| 15 | Tokenizer(string str); | |
| 16 | ||
| 17 | set<string> getTokenSet(); | |
| 18 | vector<string> getTokenVector(); | |
| 19 | ||
| 20 | protected: | |
| 21 | string s; | |
| 22 | vector<string> tokens; | |
| 23 | }; | |
| 24 | ||
| 25 | #endif | |
| 26 |
Note:
See TracBrowser
for help on using the repository browser.
![(please configure the [header_logo] section in trac.ini)](/PI/chrome/site/your_project_logo.png)