xml/StringUtils.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2005 Palmsource, Inc.
00003  * 
00004  * This software is licensed as described in the file LICENSE, which
00005  * you should have received as part of this distribution. The terms
00006  * are also available at http://www.openbinder.org/license.html.
00007  * 
00008  * This software consists of voluntary contributions made by many
00009  * individuals. For the exact contribution history, see the revision
00010  * history and logs, available at http://www.openbinder.org
00011  */
00012 
00013 #ifndef _B_XML2_STRINGUTILS_H
00014 #define _B_XML2_STRINGUTILS_H
00015 
00016 #include <support/Vector.h>
00017 #include <support/String.h>
00018 #include <support/SupportDefs.h>
00019 
00020 #if _SUPPORTS_NAMESPACE
00021 namespace palmos {
00022 namespace xml {
00023 using namespace support;
00024 #endif
00025 
00026 // Functions
00027 // =====================================================================
00028 // Functions that do some fun stuff to strings
00029 bool SplitStringOnWhitespace(const SString & str, SString & split, int32_t * pos);
00030 
00031 #if _SUPPORTS_NAMESPACE
00032 }; // namespace xml
00033 }; // namespace palmos
00034 #endif
00035 
00036 #endif // _B_XML2_STRINGUTILS_H