<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Struct Poco::UTF8</title> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <meta name="author" content="Applied Informatics Software Engineering GmbH and Contributors"/> <meta name="publisher" content="Applied Informatics Software Engineering GmbH and Contributors"/> <meta name="copyright" content="Copyright (c) 2009, Applied Informatics Software Engineering GmbH and Contributors"/> <meta name="language" content="en"/> <meta name="date" content="2009-11-24"/> <meta name="generator" content="PocoDoc"/> <link rel="stylesheet" href="css/styles.css" type="text/css"/> </head> <body bgcolor="#ffffff" leftmargin="0" topmargin="0"> <div class="header"> <h1 class="namespace"><a href="Poco.html" class="namespace">Poco</a></h1> <h1 class="symbol">struct UTF8</h1> </div> <div class="body"> <p> <b>Library:</b> Foundation<br /> <b>Package:</b> Text<br /> <b>Header:</b> Poco/UTF8String.h</p> <h2>Description</h2> <div class="description"> <p>This class provides static methods that are UTF-8 capable variants of the same functions in <a href="Poco.html" title="namespace Poco">Poco</a>/String.h. </p> <p>The various variants of <a href="Poco.UTF8.html#11615" title="Poco::UTF8::icompare()">icompare</a>() provide case insensitive comparison for UTF-8 encoded strings. </p> <p><a href="Poco.UTF8.html#11663" title="Poco::UTF8::toUpper()">toUpper</a>(), <a href="Poco.UTF8.html#11665" title="Poco::UTF8::toUpperInPlace()">toUpperInPlace</a>(), <a href="Poco.UTF8.html#11667" title="Poco::UTF8::toLower()">toLower</a>() and <a href="Poco.UTF8.html#11669" title="Poco::UTF8::toLowerInPlace()">toLowerInPlace</a>() provide <a href="Poco.Unicode.html" title="class Poco::Unicode">Unicode</a>-based character case transformation for UTF-8 encoded strings. </p> </div> <h2>Member Summary</h2> <p><b>Member Functions: </b><a href="Poco.UTF8.html#11615" title="Poco::UTF8::icompare()">icompare</a>, <a href="Poco.UTF8.html#11667" title="Poco::UTF8::toLower()">toLower</a>, <a href="Poco.UTF8.html#11669" title="Poco::UTF8::toLowerInPlace()">toLowerInPlace</a>, <a href="Poco.UTF8.html#11663" title="Poco::UTF8::toUpper()">toUpper</a>, <a href="Poco.UTF8.html#11665" title="Poco::UTF8::toUpperInPlace()">toUpperInPlace</a></p> <h2>Member Functions</h2> <h3><a name="11615">icompare</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl">static int icompare(<br /> const std::string & str,<br /> std::string::size_type pos,<br /> std::string::size_type n,<br /> std::string::const_iterator it2,<br /> std::string::const_iterator end2<br />);</p> <div class="description"> <p></p> </div> <h3><a name="11621">icompare</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl">static int icompare(<br /> const std::string & str1,<br /> const std::string & str2<br />);</p> <div class="description"> <p></p> </div> <h3><a name="11624">icompare</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl">static int icompare(<br /> const std::string & str1,<br /> std::string::size_type n1,<br /> const std::string & str2,<br /> std::string::size_type n2<br />);</p> <div class="description"> <p></p> </div> <h3><a name="11629">icompare</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl">static int icompare(<br /> const std::string & str1,<br /> std::string::size_type n,<br /> const std::string & str2<br />);</p> <div class="description"> <p></p> </div> <h3><a name="11633">icompare</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl">static int icompare(<br /> const std::string & str1,<br /> std::string::size_type pos,<br /> std::string::size_type n,<br /> const std::string & str2<br />);</p> <div class="description"> <p></p> </div> <h3><a name="11638">icompare</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl">static int icompare(<br /> const std::string & str1,<br /> std::string::size_type pos1,<br /> std::string::size_type n1,<br /> const std::string & str2,<br /> std::string::size_type pos2,<br /> std::string::size_type n2<br />);</p> <div class="description"> <p></p> </div> <h3><a name="11645">icompare</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl">static int icompare(<br /> const std::string & str1,<br /> std::string::size_type pos1,<br /> std::string::size_type n,<br /> const std::string & str2,<br /> std::string::size_type pos2<br />);</p> <div class="description"> <p></p> </div> <h3><a name="11651">icompare</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl">static int icompare(<br /> const std::string & str,<br /> std::string::size_type pos,<br /> std::string::size_type n,<br /> const std::string::value_type * ptr<br />);</p> <div class="description"> <p></p> </div> <h3><a name="11656">icompare</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl">static int icompare(<br /> const std::string & str,<br /> std::string::size_type pos,<br /> const std::string::value_type * ptr<br />);</p> <div class="description"> <p></p> </div> <h3><a name="11660">icompare</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl">static int icompare(<br /> const std::string & str,<br /> const std::string::value_type * ptr<br />);</p> <div class="description"> <p></p> </div> <h3><a name="11667">toLower</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl">static std::string toLower(<br /> const std::string & str<br />);</p> <div class="description"> <p></p> </div> <h3><a name="11669">toLowerInPlace</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl">static std::string & toLowerInPlace(<br /> std::string & str<br />);</p> <div class="description"> <p></p> </div> <h3><a name="11663">toUpper</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl">static std::string toUpper(<br /> const std::string & str<br />);</p> <div class="description"> <p></p> </div> <h3><a name="11665">toUpperInPlace</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl">static std::string & toUpperInPlace(<br /> std::string & str<br />);</p> <div class="description"> <p></p> </div> <p class="footer">POCO C++ Libraries 1.3.6-all<br /> Copyright © 2009, <a href="http://pocoproject.org/" target="_blank">Applied Informatics Software Engineering GmbH and Contributors</a></p> </div> </body> </html>