Advanced Strategic Command
Public Member Functions | List of all members
StringTokenizer Class Reference

This String Tokenizer is NOT intended to be a general purpose tool. It is exclusively used by the TextFileParser. More...

#include <stringtokenizer.h>

Public Member Functions

 StringTokenizer (const ASCString &_str, bool includeOperators_=false)
 
 StringTokenizer (const ASCString &_str, const ASCString &delimitter_)
 
 StringTokenizer (const ASCString &_str, const char *delimitter_)
 
ASCString getNextToken ()
 
ASCString getRemaining ()
 
void skipTill (char endchar)
 

Detailed Description

This String Tokenizer is NOT intended to be a general purpose tool. It is exclusively used by the TextFileParser.

Definition at line 29 of file stringtokenizer.h.

Constructor & Destructor Documentation

StringTokenizer::StringTokenizer ( const ASCString _str,
bool  includeOperators_ = false 
)

Definition at line 24 of file stringtokenizer.cpp.

StringTokenizer::StringTokenizer ( const ASCString _str,
const ASCString delimitter_ 
)

Definition at line 33 of file stringtokenizer.cpp.

StringTokenizer::StringTokenizer ( const ASCString _str,
const char *  delimitter_ 
)

Definition at line 38 of file stringtokenizer.cpp.

Member Function Documentation

ASCString StringTokenizer::getNextToken ( )
ASCString StringTokenizer::getRemaining ( )

Definition at line 84 of file stringtokenizer.cpp.

Referenced by TextFormatParser::parseLine().

void StringTokenizer::skipTill ( char  endchar)

Definition at line 60 of file stringtokenizer.cpp.


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