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
104 bool hasMoreTokens();
114 unsigned int countTokens();
141 bool isDelimeter(
const XMLCh ch);
164 const XMLCh* fDelimeters;
165 RefArrayVectorOf<XMLCh>* fTokens;
172 inline 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])) {
This class makes it possible to override the C++ memory management by adding new/delete operators to ...
Definition: XMemory.hpp:40
Configurable memory manager.
Definition: MemoryManager.hpp:39
SIZE_T XMLSize_t
Definition: Xerces_autoconf_config.borland.hpp:86
#define XERCES_CPP_NAMESPACE_BEGIN
Definition: XercesDefs.hpp:112
wchar_t XMLCh
Definition: Xerces_autoconf_config.borland.hpp:92
The string tokenizer class breaks a string into tokens.
Definition: XMLStringTokenizer.hpp:42
#define XMLUTIL_EXPORT
Definition: XercesDefs.hpp:162
#define XERCES_CPP_NAMESPACE_END
Definition: XercesDefs.hpp:113
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
static int indexOf(const char *const toSearch, const char ch)
Provides the index of the first occurrence of a character within a string.