source:
Sophya/trunk/Poubelle/archTOI.old/tokenizer.h@
1634
      
      | Last change on this file since 1634 was 534, checked in by , 26 years ago | |
|---|---|
| File size: 366 bytes | |
| Line | |
|---|---|
| 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)
