<!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"/> <meta name="generator" content="Doxygen 1.8.5"/> <title>ZenLib: ZenLib::Translation 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">ZenLib </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.5 --> <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="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</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>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceZenLib.html">ZenLib</a></li><li class="navelem"><a class="el" href="classZenLib_1_1Translation.html">Translation</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pro-attribs">Protected Attributes</a> | <a href="classZenLib_1_1Translation-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">ZenLib::Translation Class Reference</div> </div> </div><!--header--> <div class="contents"> <p>Helper for translation. <a href="classZenLib_1_1Translation.html#details">More...</a></p> <p><code>#include <<a class="el" href="Translation_8h_source.html">Translation.h</a>></code></p> <div class="dynheader"> Inheritance diagram for ZenLib::Translation:</div> <div class="dyncontent"> <div class="center"> <img src="classZenLib_1_1Translation.png" usemap="#ZenLib::Translation_map" alt=""/> <map id="ZenLib::Translation_map" name="ZenLib::Translation_map"> </map> </div></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a3c581cf3f5dd320bbba0f7b65ac2012d"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classZenLib_1_1Translation.html#a3c581cf3f5dd320bbba0f7b65ac2012d">Translation</a> ()</td></tr> <tr class="separator:a3c581cf3f5dd320bbba0f7b65ac2012d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a36fef66540241265bfb5dbd33ed4d0fd"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classZenLib_1_1Translation.html#a36fef66540241265bfb5dbd33ed4d0fd">Translation</a> (const <a class="el" href="classZenLib_1_1Ztring.html">Ztring</a> &Source)</td></tr> <tr class="separator:a36fef66540241265bfb5dbd33ed4d0fd"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a99ff24a795f52b9352cf1096eff69dc0"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classZenLib_1_1Translation.html#a99ff24a795f52b9352cf1096eff69dc0">Translation</a> (const <a class="el" href="namespaceZenLib.html#a30670db81d05c6a0dedbb71925817989">Char</a> *Source)</td></tr> <tr class="separator:a99ff24a795f52b9352cf1096eff69dc0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a066b4e9b42fe732068f9cdb5beb0c5fc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classZenLib_1_1Ztring.html">Ztring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classZenLib_1_1Translation.html#a066b4e9b42fe732068f9cdb5beb0c5fc">Get</a> () const </td></tr> <tr class="separator:a066b4e9b42fe732068f9cdb5beb0c5fc"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4c826fa694d17a6665d1a202de78b253"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classZenLib_1_1Ztring.html">Ztring</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classZenLib_1_1Translation.html#a4c826fa694d17a6665d1a202de78b253">Get</a> (const <a class="el" href="classZenLib_1_1Ztring.html">Ztring</a> &Value)</td></tr> <tr class="separator:a4c826fa694d17a6665d1a202de78b253"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7a099b5fc0262c105ce1d46284fb4af0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classZenLib_1_1Ztring.html">Ztring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classZenLib_1_1Translation.html#a7a099b5fc0262c105ce1d46284fb4af0">Get</a> (const <a class="el" href="classZenLib_1_1Ztring.html">Ztring</a> &Count, const <a class="el" href="classZenLib_1_1Ztring.html">Ztring</a> &Value)</td></tr> <tr class="separator:a7a099b5fc0262c105ce1d46284fb4af0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3aaa66645e3528909c55c8f9a61c2757"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classZenLib_1_1Translation.html#a3aaa66645e3528909c55c8f9a61c2757">Write</a> (const <a class="el" href="classZenLib_1_1Ztring.html">Ztring</a> &NewLanguage)</td></tr> <tr class="separator:a3aaa66645e3528909c55c8f9a61c2757"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4a03fd588e95c8d8e92d94cc5f9fba13"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classZenLib_1_1Translation.html#a4a03fd588e95c8d8e92d94cc5f9fba13">Write</a> (const <a class="el" href="classZenLib_1_1Ztring.html">Ztring</a> &Value, const <a class="el" href="classZenLib_1_1Ztring.html">Ztring</a> &NewLanguage)</td></tr> <tr class="separator:a4a03fd588e95c8d8e92d94cc5f9fba13"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a20354912bc00c9248f316b60047bce2d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classZenLib_1_1Translation.html#a20354912bc00c9248f316b60047bce2d">Separator_Set</a> (size_type Level, const <a class="el" href="classZenLib_1_1Ztring.html">Ztring</a> &NewSeparator)</td></tr> <tr class="memdesc:a20354912bc00c9248f316b60047bce2d"><td class="mdescLeft"> </td><td class="mdescRight">Set the Separator character. <a href="#a20354912bc00c9248f316b60047bce2d">More...</a><br/></td></tr> <tr class="separator:a20354912bc00c9248f316b60047bce2d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab5b6780ce481c13e3c83914a6c64e6e0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classZenLib_1_1Translation.html#ab5b6780ce481c13e3c83914a6c64e6e0">Quote_Set</a> (const <a class="el" href="classZenLib_1_1Ztring.html">Ztring</a> &NewQuote)</td></tr> <tr class="memdesc:ab5b6780ce481c13e3c83914a6c64e6e0"><td class="mdescLeft"> </td><td class="mdescRight">Set the Quote character During Read() or <a class="el" href="classZenLib_1_1Translation.html#a3aaa66645e3528909c55c8f9a61c2757">Write()</a> method, if Separator is in the sequence, we must quote it. <a href="#ab5b6780ce481c13e3c83914a6c64e6e0">More...</a><br/></td></tr> <tr class="separator:ab5b6780ce481c13e3c83914a6c64e6e0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9451adf6be12270c3df65488359f7d9a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classZenLib_1_1Translation.html#a9451adf6be12270c3df65488359f7d9a">Max_Set</a> (size_type Level, size_type <a class="el" href="classZenLib_1_1Translation.html#a9137ead7f8a48c505054759e89078988">Max</a>)</td></tr> <tr class="memdesc:a9451adf6be12270c3df65488359f7d9a"><td class="mdescLeft"> </td><td class="mdescRight">Set the Maximum number of element to read During Read() or <a class="el" href="classZenLib_1_1Translation.html#a3aaa66645e3528909c55c8f9a61c2757">Write()</a> method, if there is more elements, merge them with the last element. <a href="#a9451adf6be12270c3df65488359f7d9a">More...</a><br/></td></tr> <tr class="separator:a9451adf6be12270c3df65488359f7d9a"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a> Protected Attributes</h2></td></tr> <tr class="memitem:a8bf2e7d4a701b5b75aee0b9b60c6e9dd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classZenLib_1_1Ztring.html">Ztring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classZenLib_1_1Translation.html#a8bf2e7d4a701b5b75aee0b9b60c6e9dd">Separator</a> [2]</td></tr> <tr class="separator:a8bf2e7d4a701b5b75aee0b9b60c6e9dd"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a75157765bf3e5d821d63e8547670f97d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classZenLib_1_1Ztring.html">Ztring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classZenLib_1_1Translation.html#a75157765bf3e5d821d63e8547670f97d">Quote</a></td></tr> <tr class="separator:a75157765bf3e5d821d63e8547670f97d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9137ead7f8a48c505054759e89078988"><td class="memItemLeft" align="right" valign="top">size_type </td><td class="memItemRight" valign="bottom"><a class="el" href="classZenLib_1_1Translation.html#a9137ead7f8a48c505054759e89078988">Max</a> [2]</td></tr> <tr class="separator:a9137ead7f8a48c505054759e89078988"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Helper for translation. </p> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="a3c581cf3f5dd320bbba0f7b65ac2012d"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">ZenLib::Translation::Translation </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> </div> </div> <a class="anchor" id="a36fef66540241265bfb5dbd33ed4d0fd"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">ZenLib::Translation::Translation </td> <td>(</td> <td class="paramtype">const <a class="el" href="classZenLib_1_1Ztring.html">Ztring</a> & </td> <td class="paramname"><em>Source</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> </div> </div> <a class="anchor" id="a99ff24a795f52b9352cf1096eff69dc0"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">ZenLib::Translation::Translation </td> <td>(</td> <td class="paramtype">const <a class="el" href="namespaceZenLib.html#a30670db81d05c6a0dedbb71925817989">Char</a> * </td> <td class="paramname"><em>Source</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a066b4e9b42fe732068f9cdb5beb0c5fc"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classZenLib_1_1Ztring.html">Ztring</a> ZenLib::Translation::Get </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> </div> </div> <a class="anchor" id="a4c826fa694d17a6665d1a202de78b253"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classZenLib_1_1Ztring.html">Ztring</a>& ZenLib::Translation::Get </td> <td>(</td> <td class="paramtype">const <a class="el" href="classZenLib_1_1Ztring.html">Ztring</a> & </td> <td class="paramname"><em>Value</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> </div> </div> <a class="anchor" id="a7a099b5fc0262c105ce1d46284fb4af0"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classZenLib_1_1Ztring.html">Ztring</a> ZenLib::Translation::Get </td> <td>(</td> <td class="paramtype">const <a class="el" href="classZenLib_1_1Ztring.html">Ztring</a> & </td> <td class="paramname"><em>Count</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classZenLib_1_1Ztring.html">Ztring</a> & </td> <td class="paramname"><em>Value</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> </div> </div> <a class="anchor" id="a9451adf6be12270c3df65488359f7d9a"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void ZenLib::Translation::Max_Set </td> <td>(</td> <td class="paramtype">size_type </td> <td class="paramname"><em>Level</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">size_type </td> <td class="paramname"><em>Max</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set the Maximum number of element to read During Read() or <a class="el" href="classZenLib_1_1Translation.html#a3aaa66645e3528909c55c8f9a61c2757">Write()</a> method, if there is more elements, merge them with the last element. </p> </div> </div> <a class="anchor" id="ab5b6780ce481c13e3c83914a6c64e6e0"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void ZenLib::Translation::Quote_Set </td> <td>(</td> <td class="paramtype">const <a class="el" href="classZenLib_1_1Ztring.html">Ztring</a> & </td> <td class="paramname"><em>NewQuote</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Set the Quote character During Read() or <a class="el" href="classZenLib_1_1Translation.html#a3aaa66645e3528909c55c8f9a61c2757">Write()</a> method, if Separator is in the sequence, we must quote it. </p> </div> </div> <a class="anchor" id="a20354912bc00c9248f316b60047bce2d"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void ZenLib::Translation::Separator_Set </td> <td>(</td> <td class="paramtype">size_type </td> <td class="paramname"><em>Level</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classZenLib_1_1Ztring.html">Ztring</a> & </td> <td class="paramname"><em>NewSeparator</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set the Separator character. </p> </div> </div> <a class="anchor" id="a3aaa66645e3528909c55c8f9a61c2757"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void ZenLib::Translation::Write </td> <td>(</td> <td class="paramtype">const <a class="el" href="classZenLib_1_1Ztring.html">Ztring</a> & </td> <td class="paramname"><em>NewLanguage</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> </div> </div> <a class="anchor" id="a4a03fd588e95c8d8e92d94cc5f9fba13"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void ZenLib::Translation::Write </td> <td>(</td> <td class="paramtype">const <a class="el" href="classZenLib_1_1Ztring.html">Ztring</a> & </td> <td class="paramname"><em>Value</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classZenLib_1_1Ztring.html">Ztring</a> & </td> <td class="paramname"><em>NewLanguage</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> </div> </div> <h2 class="groupheader">Member Data Documentation</h2> <a class="anchor" id="a9137ead7f8a48c505054759e89078988"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">size_type ZenLib::Translation::Max[2]</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> </div> </div> <a class="anchor" id="a75157765bf3e5d821d63e8547670f97d"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classZenLib_1_1Ztring.html">Ztring</a> ZenLib::Translation::Quote</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> </div> </div> <a class="anchor" id="a8bf2e7d4a701b5b75aee0b9b60c6e9dd"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classZenLib_1_1Ztring.html">Ztring</a> ZenLib::Translation::Separator[2]</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="Translation_8h_source.html">Translation.h</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Sat Oct 19 2013 00:11:17 for ZenLib by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.5 </small></address> </body> </html>