Main Page   Packages   Class Hierarchy   Alphabetical List   Data Structures   File List   Namespace Members   Data Fields   Globals  

Tokenizer.h

Go to the documentation of this file.
00001 /*
00002  * $Id: Tokenizer.h,v 1.2 2002/08/05 18:56:23 mindstorm2600 Exp $
00003  */
00004 #ifndef __CLAW_TOKENIZER_H__
00005 #define __CLAW_TOKENIZER_H__
00006 #include<Object.h>
00007 #include<String.h>
00008 
00009 namespace clawsoft{
00010 
00015         class Tokenizer:public Object{
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                         String &next();
00046         };
00047 
00048 
00049 }
00050 
00051 #endif

Powered by:

SourceForge Logo