<!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> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <title>ICU 52.1: icu::LECharMapper Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">ICU 52.1  <span id="projectnumber">52.1</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.1.2 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="classes.html"><span>Data Structure Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Data Fields</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceicu.html">icu</a></li><li class="navelem"><a class="el" href="classicu_1_1LECharMapper.html">LECharMapper</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> </div> <div class="headertitle"> <div class="title">icu::LECharMapper Class Reference</div> </div> </div><!--header--> <div class="contents"> <p>Instances of this class are used by <code><a class="el" href="classicu_1_1LEFontInstance.html#a6b8e36bc95ba4fa3a2af5a3548dc8d7b" title="This method maps an array of character codes to an array of glyph indices, using the font's character...">LEFontInstance::mapCharsToGlyphs</a></code> and <code><a class="el" href="classicu_1_1LEFontInstance.html#ae6d42b1467060adbdf00d30bde96a5fe" title="This method maps a single character to a glyph index, using the font's character to glyph map...">LEFontInstance::mapCharToGlyph</a></code> to adjust character codes before the character to glyph mapping process. <a href="classicu_1_1LECharMapper.html#details">More...</a></p> <p><code>#include <<a class="el" href="LEFontInstance_8h_source.html">LEFontInstance.h</a>></code></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a6f6f0f0a7524662b5f35cefbf171863d"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1LECharMapper.html#a6f6f0f0a7524662b5f35cefbf171863d">~LECharMapper</a> ()</td></tr> <tr class="memdesc:a6f6f0f0a7524662b5f35cefbf171863d"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#a6f6f0f0a7524662b5f35cefbf171863d"></a><br/></td></tr> <tr class="memitem:a51bf5f563a3c60b8b0e26afdb2c94e45"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="LETypes_8h.html#a25ed173b2a50d1ab11df41caf054fdb7">LEUnicode32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1LECharMapper.html#a51bf5f563a3c60b8b0e26afdb2c94e45">mapChar</a> (<a class="el" href="LETypes_8h.html#a25ed173b2a50d1ab11df41caf054fdb7">LEUnicode32</a> ch) const =0</td></tr> <tr class="memdesc:a51bf5f563a3c60b8b0e26afdb2c94e45"><td class="mdescLeft"> </td><td class="mdescRight">This method does the adjustments. <a href="#a51bf5f563a3c60b8b0e26afdb2c94e45"></a><br/></td></tr> </table> <a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Instances of this class are used by <code><a class="el" href="classicu_1_1LEFontInstance.html#a6b8e36bc95ba4fa3a2af5a3548dc8d7b" title="This method maps an array of character codes to an array of glyph indices, using the font's character...">LEFontInstance::mapCharsToGlyphs</a></code> and <code><a class="el" href="classicu_1_1LEFontInstance.html#ae6d42b1467060adbdf00d30bde96a5fe" title="This method maps a single character to a glyph index, using the font's character to glyph map...">LEFontInstance::mapCharToGlyph</a></code> to adjust character codes before the character to glyph mapping process. </p> <p>Examples of this are filtering out control characters and character mirroring - replacing a character which has both a left and a right hand form with the opposite form.</p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005161">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl> <p>Definition at line <a class="el" href="LEFontInstance_8h_source.html#l00028">28</a> of file <a class="el" href="LEFontInstance_8h_source.html">LEFontInstance.h</a>.</p> </div><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a6f6f0f0a7524662b5f35cefbf171863d"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual icu::LECharMapper::~LECharMapper </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Destructor. </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005164">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl> </div> </div> <h2>Member Function Documentation</h2> <a class="anchor" id="a51bf5f563a3c60b8b0e26afdb2c94e45"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="LETypes_8h.html#a25ed173b2a50d1ab11df41caf054fdb7">LEUnicode32</a> icu::LECharMapper::mapChar </td> <td>(</td> <td class="paramtype"><a class="el" href="LETypes_8h.html#a25ed173b2a50d1ab11df41caf054fdb7">LEUnicode32</a> </td> <td class="paramname"><em>ch</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>This method does the adjustments. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">ch</td><td>- the input character</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the adjusted character</dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable005165">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="LEFontInstance_8h_source.html">LEFontInstance.h</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Fri Oct 4 2013 14:10:26 for ICU 52.1 by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.1.2 </small></address> </body> </html>