22#if !defined(XERCESC_INCLUDE_GUARD_XMLSTRINGTOKENIZER_HPP) 
   23#define XERCESC_INCLUDE_GUARD_XMLSTRINGTOKENIZER_HPP 
   25#include <xercesc/util/RefArrayVectorOf.hpp> 
   77                       , 
const XMLCh* 
const delim
 
  114    unsigned int countTokens();
 
  141    bool isDelimeter(
const XMLCh ch);
 
  164    const XMLCh*        fDelimeters;
 
  165    RefArrayVectorOf<XMLCh>* fTokens;
 
 
  172inline bool XMLStringTokenizer::isDelimeter(
const XMLCh ch) {
 
  186    unsigned int tokCount = 0;
 
  187    bool inToken = 
false;
 
  189    for (
XMLSize_t i= fOffset; i< fStringLen; i++) {
 
  191        if (isDelimeter(fString[i])) {
 
 
#define XERCES_CPP_NAMESPACE_BEGIN
Definition XercesDefs.hpp:112
#define XMLUTIL_EXPORT
Definition XercesDefs.hpp:162
#define XERCES_CPP_NAMESPACE_END
Definition XercesDefs.hpp:113
size_t XMLSize_t
Definition Xerces_autoconf_config.hpp:112
char16_t XMLCh
Definition Xerces_autoconf_config.hpp:120
Configurable memory manager.
Definition MemoryManager.hpp:40
The string tokenizer class breaks a string into tokens.
Definition XMLStringTokenizer.hpp:43
unsigned int countTokens()
Calculates the number of times that this tokenizer's nextToken method can be called to return a valid...
Definition XMLStringTokenizer.hpp:181
XMLStringTokenizer(const XMLCh *const srcStr, const XMLCh *const delim, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
Constructs a string tokenizer for the specified string.
XMLCh * nextToken()
Returns the next token from this string tokenizer.
XMLStringTokenizer(const XMLCh *const srcStr, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
Constructs a string tokenizer for the specified string.
bool hasMoreTokens()
Tests if there are more tokens available from this tokenizer's string.
static int indexOf(const char *const toSearch, const char ch)
Provides the index of the first occurrence of a character within a string.
This class makes it possible to override the C++ memory management by adding new/delete operators to ...
Definition XMemory.hpp:41