00001 /* 00002 * $Id: Tokenizer.h,v 1.4 2003/09/03 18:21:44 mindstorm2600 Exp $ 00003 */ 00004 #ifndef __CLAW_TOKENIZER_H__ 00005 #define __CLAW_TOKENIZER_H__ 00006 #include<System.h> 00007 #include<String.h> 00008 00009 namespace clawsoft{ 00010 00015 class Tokenizer:public System{ 00016 private: 00018 char *temp; 00020 char *buffer; 00022 char *token; 00024 char *delim; 00026 String str; 00027 protected: 00029 char *cnext(); 00030 public: 00035 Tokenizer(char *string, char *delim) ; 00040 Tokenizer(String string, String delim) ; 00043 ~Tokenizer (); 00045 const String &next(); 00046 }; 00047 00048 00049 } 00050 00051 #endif
Authors:
Juan V. Guerrero
Jannette C. Mejia
Juan C. Guevara
Powered by: