DotNX::Core::Tokenizer Class Reference

Splits a string at each occurrence of one in a set of separator characters. More...

List of all members.

Public Member Functions

 Tokenizer (string s, string separators, bool retained)
 Constructor.
bool HasMore ()
 Indicates whether there are tokens left.
string Next ()
 Returns the subsequent token.


Detailed Description

Splits a string at each occurrence of one in a set of separator characters.


Constructor & Destructor Documentation

DotNX::Core::Tokenizer::Tokenizer ( string  s,
string  separators,
bool  retained 
)

Constructor.

Parameters:
s The string to be split.
separators A string containing the separators.
retained If true each separator is considered a token.


Member Function Documentation

bool DotNX::Core::Tokenizer::HasMore (  ) 

Indicates whether there are tokens left.

Returns:
true if the string's end hasn't been reached, false otherwise.

string DotNX::Core::Tokenizer::Next (  ) 

Returns the subsequent token.

Returns:
The next token.


The documentation for this class was generated from the following file:

SourceForge.net Logo
Generated on Sat Oct 18 14:13:26 2008 for .Nick's 0.1.0 by  doxygen 1.5.7.1