Source: fun/StringTokenizer.h


Annotated List
Files
Globals
Hierarchy
Index
//   This file was part of the KDE libraries
//    Copyright (C) 1997 Martin Jones (mjones@kde.org)
//              (C) 1997 Torben Weis (weis@kde.org)
//
//    This copy is part of the QUB project.
//    Copyright (C) 2000 Stephan Beal & Rusty Ballinger
//                       stephan@wanderinghorse.net & rusty@sgi.com
//
//    This program is free software; you can redistribute it and/or modify
//    it under the terms of the GNU General Public License as published by
//    the Free Software Foundation; either version 2 of the License, or
//    (at your option) any later version.
//
// ***************************************************************************

#ifndef STRINGTOKENIZER_H
#define STRINGTOKENIZER_H

#include 
#include 
#include 

class StringTokenizer
{
public:
    StringTokenizer();
    ~StringTokenizer();

    void tokenize( const char *, const char * );
    const char* nextToken();
    bool hasMoreTokens() { return ( pos != 0 ); }

protected:
    char *pos;
    char *end;
    char *buffer;
    int  bufLen;
};

#endif // STRINGTOKENIZER_H


Generated by: stephan on cheyenne on Mon Aug 11 14:06:52 2003, using kdoc 2.0a54.