diff options
Diffstat (limited to 'Doc/doxygen/html/_format_util_8cpp.html')
-rw-r--r-- | Doc/doxygen/html/_format_util_8cpp.html | 498 |
1 files changed, 498 insertions, 0 deletions
diff --git a/Doc/doxygen/html/_format_util_8cpp.html b/Doc/doxygen/html/_format_util_8cpp.html new file mode 100644 index 0000000..3f6fe04 --- /dev/null +++ b/Doc/doxygen/html/_format_util_8cpp.html @@ -0,0 +1,498 @@ +<!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>Starshatter_Open: D:/SRC/StarshatterSVN/nGenEx/FormatUtil.cpp File 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="navtree.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="resize.js"></script> +<script type="text/javascript" src="navtree.js"></script> +<script type="text/javascript"> + $(document).ready(initResizable); +</script> +<link href="search/search.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="search/search.js"></script> +<script type="text/javascript"> + $(document).ready(function() { searchBox.OnSelectItem(0); }); +</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">Starshatter_Open + </div> + <div id="projectbrief">Open source Starshatter engine</div> + </td> + </tr> + </tbody> +</table> +</div> +<!-- end header part --> +<!-- Generated by Doxygen 1.8.1 --> +<script type="text/javascript"> +var searchBox = new SearchBox("searchBox", "search",false,'Search'); +</script> + <div id="navrow1" class="tabs"> + <ul class="tablist"> + <li><a href="index.html"><span>Main Page</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li class="current"><a href="files.html"><span>Files</span></a></li> + <li> + <div id="MSearchBox" class="MSearchBoxInactive"> + <span class="left"> + <img id="MSearchSelect" src="search/mag_sel.png" + onmouseover="return searchBox.OnSearchSelectShow()" + onmouseout="return searchBox.OnSearchSelectHide()" + alt=""/> + <input type="text" id="MSearchField" value="Search" accesskey="S" + onfocus="searchBox.OnSearchFieldFocus(true)" + onblur="searchBox.OnSearchFieldFocus(false)" + onkeyup="searchBox.OnSearchFieldChange(event)"/> + </span><span class="right"> + <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> + </span> + </div> + </li> + </ul> + </div> + <div id="navrow2" class="tabs2"> + <ul class="tablist"> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul> + </div> +</div><!-- top --> +<div id="side-nav" class="ui-resizable side-nav-resizable"> + <div id="nav-tree"> + <div id="nav-tree-contents"> + </div> + </div> + <div id="splitbar" style="-moz-user-select:none;" + class="ui-resizable-handle"> + </div> +</div> +<script type="text/javascript"> +$(document).ready(function(){initNavTree('_format_util_8cpp.html','');}); +</script> +<div id="doc-content"> +<!-- window showing the filter options --> +<div id="MSearchSelectWindow" + onmouseover="return searchBox.OnSearchSelectShow()" + onmouseout="return searchBox.OnSearchSelectHide()" + onkeydown="return searchBox.OnSearchSelectKey(event)"> +<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Macros</a></div> + +<!-- iframe showing the search results (closed by default) --> +<div id="MSearchResultsWindow"> +<iframe src="javascript:void(0)" frameborder="0" + name="MSearchResults" id="MSearchResults"> +</iframe> +</div> + +<div class="header"> + <div class="summary"> +<a href="#func-members">Functions</a> | +<a href="#var-members">Variables</a> </div> + <div class="headertitle"> +<div class="title">FormatUtil.cpp File Reference</div> </div> +</div><!--header--> +<div class="contents"> +<div class="textblock"><code>#include "<a class="el" href="_mem_debug_8h_source.html">MemDebug.h</a>"</code><br/> +<code>#include "<a class="el" href="_format_util_8h_source.html">FormatUtil.h</a>"</code><br/> +</div> +<p><a href="_format_util_8cpp_source.html">Go to the source code of this file.</a></p> +<table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2><a name="func-members"></a> +Functions</h2></td></tr> +<tr class="memitem:abb81c01c15eb633b5ecdec623a323211"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="_format_util_8cpp.html#abb81c01c15eb633b5ecdec623a323211">FormatNumber</a> (char *txt, double n)</td></tr> +<tr class="memitem:a7964be426151fc6dfdaaa17d69de742d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="_format_util_8cpp.html#a7964be426151fc6dfdaaa17d69de742d">FormatNumberExp</a> (char *txt, double n)</td></tr> +<tr class="memitem:a00e356c892f750ff9ce4cebdb7959776"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="_format_util_8cpp.html#a00e356c892f750ff9ce4cebdb7959776">FormatTime</a> (char *txt, double time)</td></tr> +<tr class="memitem:abf81def894ebca05ce6c67123077a39d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="_format_util_8cpp.html#abf81def894ebca05ce6c67123077a39d">FormatTimeOfDay</a> (char *txt, double time)</td></tr> +<tr class="memitem:a861da42febc1238aa4b13301d913bde2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="_format_util_8cpp.html#a861da42febc1238aa4b13301d913bde2">FormatDayTime</a> (char *txt, double time, bool short_format)</td></tr> +<tr class="memitem:a3ecbcd92810c5418bd20c1a6045c9eab"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="_format_util_8cpp.html#a3ecbcd92810c5418bd20c1a6045c9eab">FormatDay</a> (char *txt, double time)</td></tr> +<tr class="memitem:a8b04353b3b41728a092f6c90c1e34b3b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="_format_util_8cpp.html#a8b04353b3b41728a092f6c90c1e34b3b">FormatPoint</a> (char *txt, const <a class="el" href="struct_point.html">Point</a> &p)</td></tr> +<tr class="memitem:a110179ff8fbb77f26f7f7685be1fc335"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_text.html">Text</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="_format_util_8cpp.html#a110179ff8fbb77f26f7f7685be1fc335">FormatTimeString</a> (int utc)</td></tr> +<tr class="memitem:a6c825bd6a74166d2a31399a7bf05c1d3"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="_format_util_8cpp.html#a6c825bd6a74166d2a31399a7bf05c1d3">SafeString</a> (const char *s)</td></tr> +<tr class="memitem:a6ab1cac56285238452f314d51b2ac36b"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="_format_util_8cpp.html#a6ab1cac56285238452f314d51b2ac36b">SafeQuotes</a> (const char *msg)</td></tr> +<tr class="memitem:a88135d45f6491241c8395ba6502baca2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_text.html">Text</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="_format_util_8cpp.html#a88135d45f6491241c8395ba6502baca2">FormatTextReplace</a> (const char *msg, const char *tgt, const char *val)</td></tr> +<tr class="memitem:a007b47f8ed24439606f6582306fc8edf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_text.html">Text</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="_format_util_8cpp.html#a007b47f8ed24439606f6582306fc8edf">FormatTextEscape</a> (const char *msg)</td></tr> +</table><table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2><a name="var-members"></a> +Variables</h2></td></tr> +<tr class="memitem:af1c4b08e7a8f6e900e32807591d024b8"><td class="memItemLeft" align="right" valign="top">const int </td><td class="memItemRight" valign="bottom"><a class="el" href="_format_util_8cpp.html#af1c4b08e7a8f6e900e32807591d024b8">MINUTE</a> = 60</td></tr> +<tr class="memitem:abaaba32d5f01990c3e203acf86637318"><td class="memItemLeft" align="right" valign="top">const int </td><td class="memItemRight" valign="bottom"><a class="el" href="_format_util_8cpp.html#abaaba32d5f01990c3e203acf86637318">HOUR</a> = 60 * <a class="el" href="_format_util_8cpp.html#af1c4b08e7a8f6e900e32807591d024b8">MINUTE</a></td></tr> +<tr class="memitem:a355f083e62c725a5f9a30358e2a50908"><td class="memItemLeft" align="right" valign="top">const int </td><td class="memItemRight" valign="bottom"><a class="el" href="_format_util_8cpp.html#a355f083e62c725a5f9a30358e2a50908">DAY</a> = 24 * <a class="el" href="_format_util_8cpp.html#abaaba32d5f01990c3e203acf86637318">HOUR</a></td></tr> +</table> +<hr/><h2>Function Documentation</h2> +<a class="anchor" id="a3ecbcd92810c5418bd20c1a6045c9eab"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void FormatDay </td> + <td>(</td> + <td class="paramtype">char * </td> + <td class="paramname"><em>txt</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">double </td> + <td class="paramname"><em>time</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="_format_util_8cpp_source.html#l00126">126</a> of file <a class="el" href="_format_util_8cpp_source.html">FormatUtil.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="a861da42febc1238aa4b13301d913bde2"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void FormatDayTime </td> + <td>(</td> + <td class="paramtype">char * </td> + <td class="paramname"><em>txt</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">double </td> + <td class="paramname"><em>time</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">bool </td> + <td class="paramname"><em>short_format</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="_format_util_8cpp_source.html#l00095">95</a> of file <a class="el" href="_format_util_8cpp_source.html">FormatUtil.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="abb81c01c15eb633b5ecdec623a323211"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void FormatNumber </td> + <td>(</td> + <td class="paramtype">char * </td> + <td class="paramname"><em>txt</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">double </td> + <td class="paramname"><em>n</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="_format_util_8cpp_source.html#l00019">19</a> of file <a class="el" href="_format_util_8cpp_source.html">FormatUtil.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="a7964be426151fc6dfdaaa17d69de742d"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void FormatNumberExp </td> + <td>(</td> + <td class="paramtype">char * </td> + <td class="paramname"><em>txt</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">double </td> + <td class="paramname"><em>n</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="_format_util_8cpp_source.html#l00044">44</a> of file <a class="el" href="_format_util_8cpp_source.html">FormatUtil.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="a8b04353b3b41728a092f6c90c1e34b3b"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void FormatPoint </td> + <td>(</td> + <td class="paramtype">char * </td> + <td class="paramname"><em>txt</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="struct_point.html">Point</a> & </td> + <td class="paramname"><em>p</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="_format_util_8cpp_source.html#l00142">142</a> of file <a class="el" href="_format_util_8cpp_source.html">FormatUtil.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="a007b47f8ed24439606f6582306fc8edf"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="class_text.html">Text</a> FormatTextEscape </td> + <td>(</td> + <td class="paramtype">const char * </td> + <td class="paramname"><em>msg</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="_format_util_8cpp_source.html#l00296">296</a> of file <a class="el" href="_format_util_8cpp_source.html">FormatUtil.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="a88135d45f6491241c8395ba6502baca2"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="class_text.html">Text</a> FormatTextReplace </td> + <td>(</td> + <td class="paramtype">const char * </td> + <td class="paramname"><em>msg</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const char * </td> + <td class="paramname"><em>tgt</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const char * </td> + <td class="paramname"><em>val</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="_format_util_8cpp_source.html#l00256">256</a> of file <a class="el" href="_format_util_8cpp_source.html">FormatUtil.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="a00e356c892f750ff9ce4cebdb7959776"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void FormatTime </td> + <td>(</td> + <td class="paramtype">char * </td> + <td class="paramname"><em>txt</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">double </td> + <td class="paramname"><em>time</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="_format_util_8cpp_source.html#l00061">61</a> of file <a class="el" href="_format_util_8cpp_source.html">FormatUtil.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="abf81def894ebca05ce6c67123077a39d"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void FormatTimeOfDay </td> + <td>(</td> + <td class="paramtype">char * </td> + <td class="paramname"><em>txt</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">double </td> + <td class="paramname"><em>time</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="_format_util_8cpp_source.html#l00077">77</a> of file <a class="el" href="_format_util_8cpp_source.html">FormatUtil.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="a110179ff8fbb77f26f7f7685be1fc335"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="class_text.html">Text</a> FormatTimeString </td> + <td>(</td> + <td class="paramtype">int </td> + <td class="paramname"><em>utc</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="_format_util_8cpp_source.html#l00157">157</a> of file <a class="el" href="_format_util_8cpp_source.html">FormatUtil.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="a6ab1cac56285238452f314d51b2ac36b"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const char* SafeQuotes </td> + <td>(</td> + <td class="paramtype">const char * </td> + <td class="paramname"><em>msg</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="_format_util_8cpp_source.html#l00230">230</a> of file <a class="el" href="_format_util_8cpp_source.html">FormatUtil.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="a6c825bd6a74166d2a31399a7bf05c1d3"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const char* SafeString </td> + <td>(</td> + <td class="paramtype">const char * </td> + <td class="paramname"><em>s</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="_format_util_8cpp_source.html#l00182">182</a> of file <a class="el" href="_format_util_8cpp_source.html">FormatUtil.cpp</a>.</p> + +</div> +</div> +<hr/><h2>Variable Documentation</h2> +<a class="anchor" id="a355f083e62c725a5f9a30358e2a50908"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const int DAY = 24 * <a class="el" href="_format_util_8cpp.html#abaaba32d5f01990c3e203acf86637318">HOUR</a></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="_format_util_8cpp_source.html#l00059">59</a> of file <a class="el" href="_format_util_8cpp_source.html">FormatUtil.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="abaaba32d5f01990c3e203acf86637318"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const int HOUR = 60 * <a class="el" href="_format_util_8cpp.html#af1c4b08e7a8f6e900e32807591d024b8">MINUTE</a></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="_format_util_8cpp_source.html#l00058">58</a> of file <a class="el" href="_format_util_8cpp_source.html">FormatUtil.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="af1c4b08e7a8f6e900e32807591d024b8"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const int MINUTE = 60</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="_format_util_8cpp_source.html#l00057">57</a> of file <a class="el" href="_format_util_8cpp_source.html">FormatUtil.cpp</a>.</p> + +</div> +</div> +</div><!-- contents --> +</div><!-- doc-content --> +<!-- start footer part --> +<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> + <ul> + <li class="navelem"><a class="el" href="dir_d6625d0f3efd9eb70ff961583505095b.html">nGenEx</a></li><li class="navelem"><a class="el" href="_format_util_8cpp.html">FormatUtil.cpp</a></li> + <li class="footer">Generated on Thu May 31 2012 16:31:24 for Starshatter_Open by + <a href="http://www.doxygen.org/index.html"> + <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.1 </li> + </ul> +</div> +</body> +</html> |