diff options
Diffstat (limited to 'doc/html/Unicode_8hpp-source.htm')
-rwxr-xr-x | doc/html/Unicode_8hpp-source.htm | 65 |
1 files changed, 36 insertions, 29 deletions
diff --git a/doc/html/Unicode_8hpp-source.htm b/doc/html/Unicode_8hpp-source.htm index dec76cc..7e3b957 100755 --- a/doc/html/Unicode_8hpp-source.htm +++ b/doc/html/Unicode_8hpp-source.htm @@ -10,19 +10,25 @@ <div id="logo"> <img src="./logo.jpg" width="770" height="200" title="SFML home" alt="SFML logo" /> </div> -<!-- Generated by Doxygen 1.5.2 --> -<div class="tabs"> - <ul> - <li><a href="index.htm"><span>Main Page</span></a></li> - <li><a href="namespaces.htm"><span>Namespaces</span></a></li> - <li><a href="classes.htm"><span>Classes</span></a></li> - <li class="current"><a href="files.htm"><span>Files</span></a></li> - </ul> -</div> +<!-- Generated by Doxygen 1.5.8 --> +<div class="navigation" id="top"> + <div class="tabs"> + <ul> + <li><a href="index.htm"><span>Main Page</span></a></li> + <li><a href="namespaces.htm"><span>Namespaces</span></a></li> + <li><a href="annotated.htm"><span>Classes</span></a></li> + <li class="current"><a href="files.htm"><span>Files</span></a></li> + </ul> + </div> + <div class="tabs"> + <ul> + <li><a href="files.htm"><span>File List</span></a></li> + </ul> + </div> <h1>Unicode.hpp</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <a name="l00002"></a>00002 <span class="comment">//</span> <a name="l00003"></a>00003 <span class="comment">// SFML - Simple and Fast Multimedia Library</span> -<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2007-2008 Laurent Gomila (laurent.gom@gmail.com)</span> +<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com)</span> <a name="l00005"></a>00005 <span class="comment">//</span> <a name="l00006"></a>00006 <span class="comment">// This software is provided 'as-is', without any express or implied warranty.</span> <a name="l00007"></a>00007 <span class="comment">// In no event will the authors be held liable for any damages arising from the use of this software.</span> @@ -55,30 +61,30 @@ <a name="l00037"></a>00037 <a name="l00038"></a>00038 <span class="keyword">namespace </span>sf <a name="l00039"></a>00039 { -<a name="l00044"></a><a class="code" href="classsf_1_1Unicode.htm">00044</a> <span class="keyword">class </span>SFML_API Unicode +<a name="l00044"></a><a class="code" href="classsf_1_1Unicode.htm">00044</a> <span class="keyword">class </span>SFML_API <a class="code" href="classsf_1_1Unicode.htm" title="Provides utility functions to convert from and to any unicode and ASCII encoding...">Unicode</a> <a name="l00045"></a>00045 { <a name="l00046"></a>00046 <span class="keyword">public</span> : <a name="l00047"></a>00047 <a name="l00054"></a><a class="code" href="classsf_1_1Unicode.htm#3c6081f88e93693ff8e713053982a9f9">00054</a> <span class="keyword">typedef</span> std::basic_string<Uint8> UTF8String; -<a name="l00055"></a><a class="code" href="classsf_1_1Unicode.htm#44c61ac017ac0b9d2cba69dd9b1f475e">00055</a> <span class="keyword">typedef</span> std::basic_string<Uint16> UTF16String; -<a name="l00056"></a><a class="code" href="classsf_1_1Unicode.htm#a928ecac4c3ace69888bb209bc75ffae">00056</a> <span class="keyword">typedef</span> std::basic_string<Uint32> UTF32String; +<a name="l00055"></a>00055 <span class="keyword">typedef</span> std::basic_string<Uint16> UTF16String; +<a name="l00056"></a>00056 <span class="keyword">typedef</span> std::basic_string<Uint32> UTF32String; <a name="l00057"></a>00057 -<a name="l00063"></a><a class="code" href="classsf_1_1Unicode_1_1Text.htm">00063</a> <span class="keyword">class </span>SFML_API Text +<a name="l00063"></a><a class="code" href="classsf_1_1Unicode_1_1Text.htm">00063</a> <span class="keyword">class </span>SFML_API <a class="code" href="classsf_1_1Unicode_1_1Text.htm" title="This class is an abstract definition of a unicode text, it can be converted from...">Text</a> <a name="l00064"></a>00064 { <a name="l00065"></a>00065 <span class="keyword">public</span> : <a name="l00066"></a>00066 -<a name="l00071"></a>00071 Text(); +<a name="l00071"></a>00071 <a class="code" href="classsf_1_1Unicode_1_1Text.htm" title="This class is an abstract definition of a unicode text, it can be converted from...">Text</a>(); <a name="l00072"></a>00072 -<a name="l00079"></a>00079 Text(<span class="keyword">const</span> <span class="keywordtype">char</span>* Str); -<a name="l00080"></a>00080 Text(<span class="keyword">const</span> <span class="keywordtype">wchar_t</span>* Str); -<a name="l00081"></a>00081 Text(<span class="keyword">const</span> Uint8* Str); -<a name="l00082"></a>00082 Text(<span class="keyword">const</span> Uint16* Str); -<a name="l00083"></a>00083 Text(<span class="keyword">const</span> Uint32* Str); -<a name="l00084"></a>00084 Text(<span class="keyword">const</span> std::string& Str); -<a name="l00085"></a>00085 Text(<span class="keyword">const</span> std::wstring& Str); -<a name="l00086"></a>00086 Text(<span class="keyword">const</span> <a class="code" href="classsf_1_1Unicode.htm#3c6081f88e93693ff8e713053982a9f9" title="Define a string type for each encoding Warning : in UTF8 and UTF16 strings, one element...">Unicode::UTF8String</a>& Str); -<a name="l00087"></a>00087 Text(<span class="keyword">const</span> <a class="code" href="classsf_1_1Unicode.htm#44c61ac017ac0b9d2cba69dd9b1f475e">Unicode::UTF16String</a>& Str); -<a name="l00088"></a>00088 Text(<span class="keyword">const</span> <a class="code" href="classsf_1_1Unicode.htm#a928ecac4c3ace69888bb209bc75ffae">Unicode::UTF32String</a>& Str); +<a name="l00079"></a>00079 <a class="code" href="classsf_1_1Unicode_1_1Text.htm" title="This class is an abstract definition of a unicode text, it can be converted from...">Text</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* Str); +<a name="l00080"></a>00080 <a class="code" href="classsf_1_1Unicode_1_1Text.htm" title="This class is an abstract definition of a unicode text, it can be converted from...">Text</a>(<span class="keyword">const</span> <span class="keywordtype">wchar_t</span>* Str); +<a name="l00081"></a>00081 <a class="code" href="classsf_1_1Unicode_1_1Text.htm" title="This class is an abstract definition of a unicode text, it can be converted from...">Text</a>(<span class="keyword">const</span> Uint8* Str); +<a name="l00082"></a>00082 <a class="code" href="classsf_1_1Unicode_1_1Text.htm" title="This class is an abstract definition of a unicode text, it can be converted from...">Text</a>(<span class="keyword">const</span> Uint16* Str); +<a name="l00083"></a>00083 <a class="code" href="classsf_1_1Unicode_1_1Text.htm" title="This class is an abstract definition of a unicode text, it can be converted from...">Text</a>(<span class="keyword">const</span> Uint32* Str); +<a name="l00084"></a>00084 <a class="code" href="classsf_1_1Unicode_1_1Text.htm" title="This class is an abstract definition of a unicode text, it can be converted from...">Text</a>(<span class="keyword">const</span> std::string& Str); +<a name="l00085"></a>00085 <a class="code" href="classsf_1_1Unicode_1_1Text.htm" title="This class is an abstract definition of a unicode text, it can be converted from...">Text</a>(<span class="keyword">const</span> std::wstring& Str); +<a name="l00086"></a>00086 <a class="code" href="classsf_1_1Unicode_1_1Text.htm" title="This class is an abstract definition of a unicode text, it can be converted from...">Text</a>(<span class="keyword">const</span> <a class="code" href="classsf_1_1Unicode.htm#3c6081f88e93693ff8e713053982a9f9" title="Define a string type for each encoding Warning : in UTF8 and UTF16 strings, one element...">Unicode::UTF8String</a>& Str); +<a name="l00087"></a>00087 <a class="code" href="classsf_1_1Unicode_1_1Text.htm" title="This class is an abstract definition of a unicode text, it can be converted from...">Text</a>(<span class="keyword">const</span> Unicode::UTF16String& Str); +<a name="l00088"></a>00088 <a class="code" href="classsf_1_1Unicode_1_1Text.htm" title="This class is an abstract definition of a unicode text, it can be converted from...">Text</a>(<span class="keyword">const</span> Unicode::UTF32String& Str); <a name="l00089"></a>00089 <a name="l00096"></a>00096 operator std::string () <span class="keyword">const</span>; <a name="l00097"></a>00097 operator std::wstring () <span class="keyword">const</span>; @@ -89,7 +95,7 @@ <a name="l00102"></a>00102 <span class="keyword">private</span> : <a name="l00103"></a>00103 <a name="l00105"></a>00105 <span class="comment">// Data member</span> -<a name="l00107"></a>00107 <span class="comment"></span> <a class="code" href="classsf_1_1Unicode.htm#a928ecac4c3ace69888bb209bc75ffae">sf::Unicode::UTF32String</a> myUTF32String; +<a name="l00107"></a>00107 <span class="comment"></span> sf::Unicode::UTF32String myUTF32String; <a name="l00108"></a>00108 }; <a name="l00109"></a>00109 <a name="l00123"></a>00123 <span class="keyword">template</span> <<span class="keyword">typename</span> In, <span class="keyword">typename</span> Out> @@ -129,8 +135,8 @@ <a name="l00268"></a>00268 <a name="l00275"></a>00275 <span class="keyword">static</span> <span class="keyword">const</span> std::locale& GetDefaultLocale(); <a name="l00276"></a>00276 -<a name="l00278"></a>00278 <span class="comment">// Static data member</span> -<a name="l00280"></a>00280 <span class="comment"></span> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> UTF8TrailingBytes[256]; +<a name="l00278"></a>00278 <span class="comment">// Static member data</span> +<a name="l00280"></a>00280 <span class="comment"></span> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> UTF8TrailingBytes[256]; <a name="l00281"></a>00281 <span class="keyword">static</span> <span class="keyword">const</span> Uint32 UTF8Offsets[6]; <a name="l00282"></a>00282 <span class="keyword">static</span> <span class="keyword">const</span> Uint8 UTF8FirstBytes[7]; <a name="l00283"></a>00283 }; @@ -141,7 +147,8 @@ <a name="l00288"></a>00288 <a name="l00289"></a>00289 <a name="l00290"></a>00290 <span class="preprocessor">#endif // SFML_UNICODE_HPP</span> -</pre></div> +</pre></div></div> + <p id="footer"> :: Copyright © 2007-2008 Laurent Gomila, all rights reserved :: Documentation generated by <a href="http://www.doxygen.org/" title="doxygen website">doxygen 1.5.2</a> :: |