Main Page | Class Hierarchy | Class List | File List | Class Members

StringTokenizer Class Reference

class StringTokenizer More...

#include <StringUtils.h>

List of all members.

Public Member Functions

 StringTokenizer (const std::string &strToken, const std::string &strDelimiter)
 StringTokenizer (const char *strToken, const char *strDelimiter)
bool nextToken (std::string &strText)
 Get next token.

bool nextToken (QByteArray &strText)
bool nextToken (GBufferString &strText)


Detailed Description

class StringTokenizer

Simple and fast variant of StringTokenizer class


Constructor & Destructor Documentation

StringTokenizer::StringTokenizer const std::string &  strToken,
const std::string &  strDelimiter
 

StringUtils.h

Copyright (C) 2007 ScalingWeb.com All rights reserved.

Authors: Yuriy Soroka <ysoroka@scalingweb.com> Anton Fedoruk <afedoruk@scalingweb.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.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA


Member Function Documentation

bool StringTokenizer::nextToken std::string &  strText  ) 
 

Get next token.

Parameters:
strText -- string object where returned next token
Returns:
true if success or false if no more tokens


The documentation for this class was generated from the following files:
Generated on Tue Oct 16 10:00:38 2007 for EmailParser by doxygen 1.3.4