Xalan-C++ API Reference  1.12.0
Public Types | Public Member Functions | List of all members
xalanc::ElemNumber::NumberFormatStringTokenizer Class Reference

This class returns tokens using non-alphanumberic characters as delimiters. More...

#include <xalanc/XSLT/ElemNumber.hpp>

Public Types

typedef XalanDOMString::size_type size_type
 

Public Member Functions

 NumberFormatStringTokenizer (const XalanDOMString &theString)
 Construct a NumberFormatStringTokenizer. More...
 
void setString (const XalanDOMString &theString)
 Sets the string to tokenize. More...
 
void reset ()
 Reset tokenizer so that nextToken() starts from the beginning. More...
 
void nextToken (XalanDOMString &theToken)
 Retrieve the next token to be parsed. More...
 
bool hasMoreTokens () const
 Determine if there are tokens remaining. More...
 
size_type countTokens () const
 Count the number of tokens yet to be parsed. More...
 

Detailed Description

This class returns tokens using non-alphanumberic characters as delimiters.

Definition at line 436 of file ElemNumber.hpp.

Member Typedef Documentation

◆ size_type

Definition at line 440 of file ElemNumber.hpp.

Constructor & Destructor Documentation

◆ NumberFormatStringTokenizer()

xalanc::ElemNumber::NumberFormatStringTokenizer::NumberFormatStringTokenizer ( const XalanDOMString theString)

Construct a NumberFormatStringTokenizer.

Parameters
theStringstring to tokenize

Member Function Documentation

◆ countTokens()

size_type xalanc::ElemNumber::NumberFormatStringTokenizer::countTokens ( ) const

Count the number of tokens yet to be parsed.

Returns
number of remaining tokens

◆ hasMoreTokens()

bool xalanc::ElemNumber::NumberFormatStringTokenizer::hasMoreTokens ( ) const
inline

Determine if there are tokens remaining.

Returns
true if there are more tokens

Definition at line 481 of file ElemNumber.hpp.

◆ nextToken()

void xalanc::ElemNumber::NumberFormatStringTokenizer::nextToken ( XalanDOMString theToken)

Retrieve the next token to be parsed.

Parameters
theTokenThe next token string

◆ reset()

void xalanc::ElemNumber::NumberFormatStringTokenizer::reset ( )
inline

Reset tokenizer so that nextToken() starts from the beginning.

Definition at line 461 of file ElemNumber.hpp.

◆ setString()

void xalanc::ElemNumber::NumberFormatStringTokenizer::setString ( const XalanDOMString theString)

Sets the string to tokenize.

Parameters
theStringnew string to tokenize

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