| 
                Last change
                  on this file since 8741 was
                  8724,
                  checked in by bensch, 19 years ago
           | 
        
        
          | 
               
merged the bsp-model-stuff back here 
 
           | 
        
        | 
            File size:
            366 bytes
           | 
      
      
        
  | Rev | Line |   | 
|---|
| [8531] | 1 |  | 
|---|
 | 2 | /*! | 
|---|
 | 3 |  * @file tokenzier.h | 
|---|
 | 4 |  * @brief Definition of Tokenizer | 
|---|
 | 5 |  * | 
|---|
 | 6 |  */ | 
|---|
 | 7 |  | 
|---|
 | 8 | #ifndef _TOKENIZER_H | 
|---|
 | 9 | #define _TOKENIZER_H | 
|---|
 | 10 |  | 
|---|
 | 11 |  | 
|---|
 | 12 | #include <vector> | 
|---|
 | 13 | #include <string> | 
|---|
 | 14 |  | 
|---|
 | 15 |  | 
|---|
 | 16 | //! A class to handle time itself | 
|---|
 | 17 | class Tokenizer | 
|---|
 | 18 | { | 
|---|
 | 19 |  | 
|---|
 | 20 |   public: | 
|---|
 | 21 |     static void tokenize(const std::string& str, std::vector<std::string>& tokens, const std::string& delimiters = " "); | 
|---|
 | 22 |  | 
|---|
 | 23 |  | 
|---|
 | 24 | }; | 
|---|
 | 25 |  | 
|---|
 | 26 | #endif /* _TOKENIZER_H */ | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.