source: NonGTP/FCollada/Documentation/_f_u_string_conversion_8h-source.html @ 964

Revision 964, 38.5 KB checked in by igarcia, 18 years ago (diff)
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3<title>FCollada: FUtils/FUStringConversion.h Source File</title>
4<link href="doxygen.css" rel="stylesheet" type="text/css">
5<link href="tabs.css" rel="stylesheet" type="text/css">
6</head><body>
7<!-- Generated by Doxygen 1.4.6-NO -->
8<div class="tabs">
9  <ul>
10    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
11    <li><a href="modules.html"><span>Modules</span></a></li>
12    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
13    <li><a href="classes.html"><span>Classes</span></a></li>
14    <li id="current"><a href="files.html"><span>Files</span></a></li>
15    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
16  </ul></div>
17<div class="tabs">
18  <ul>
19    <li><a href="files.html"><span>File&nbsp;List</span></a></li>
20    <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
21  </ul></div>
22<h1>FUtils/FUStringConversion.h</h1><a href="_f_u_string_conversion_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
23<a name="l00002"></a>00002 <span class="comment">    Copyright (C) 2005-2006 Feeling Software Inc.</span>
24<a name="l00003"></a>00003 <span class="comment">    MIT License: http://www.opensource.org/licenses/mit-license.php</span>
25<a name="l00004"></a>00004 <span class="comment">*/</span>
26<a name="l00005"></a>00005 <span class="comment">/*</span>
27<a name="l00006"></a>00006 <span class="comment">    Based on the FS Import classes:</span>
28<a name="l00007"></a>00007 <span class="comment">    Copyright (C) 2005-2006 Feeling Software Inc</span>
29<a name="l00008"></a>00008 <span class="comment">    Copyright (C) 2005-2006 Autodesk Media Entertainment</span>
30<a name="l00009"></a>00009 <span class="comment">    MIT License: http://www.opensource.org/licenses/mit-license.php</span>
31<a name="l00010"></a>00010 <span class="comment">*/</span>
32<a name="l00011"></a>00011
33<a name="l00017"></a>00017 <span class="preprocessor">#ifndef _FCU_STRING_CONVERSION_</span>
34<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define _FCU_STRING_CONVERSION_</span>
35<a name="l00019"></a>00019 <span class="preprocessor"></span>
36<a name="l00020"></a>00020 <span class="keyword">class </span><a class="code" href="class_f_u_date_time.html">FUDateTime</a>;
37<a name="l00021"></a>00021
38<a name="l00034"></a><a class="code" href="class_f_u_string_conversion.html">00034</a> <span class="keyword">class </span>FCOLLADA_EXPORT <a class="code" href="class_f_u_string_conversion.html">FUStringConversion</a>
39<a name="l00035"></a>00035 {
40<a name="l00036"></a>00036 <span class="keyword">private</span>: <a class="code" href="class_f_u_string_conversion.html">FUStringConversion</a>() {}
41<a name="l00037"></a>00037 <span class="keyword">public</span>:
42<a name="l00041"></a>00041 <span class="keyword">static</span> fstring ToFString(<span class="keyword">const</span> <span class="keywordtype">char</span>* value);
43<a name="l00042"></a><a class="code" href="class_f_u_string_conversion.html#c3f8babfc226ae0444597f3ba5d9c938">00042</a>     <span class="keyword">inline</span> <span class="keyword">static</span> fstring ToFString(<span class="keyword">const</span> string&amp; value) { <span class="keywordflow">return</span> ToFString(value.c_str()); }
44<a name="l00047"></a>00047 <span class="keyword">static</span> string ToString(<span class="keyword">const</span> fchar* value);
45<a name="l00048"></a><a class="code" href="class_f_u_string_conversion.html#a3b7b274920b2c31d6b70ad64d406f95">00048</a>     <span class="keyword">inline</span> <span class="keyword">static</span> string ToString(<span class="keyword">const</span> fstring&amp; value) { <span class="keywordflow">return</span> ToString(value.c_str()); }
46<a name="l00053"></a>00053 <span class="keyword">static</span> <span class="keywordtype">bool</span> ToBoolean(<span class="keyword">const</span> <span class="keywordtype">char</span>* value);
47<a name="l00054"></a><a class="code" href="class_f_u_string_conversion.html#cf3018326ea92960ba27bad27859d121">00054</a>     <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">bool</span> ToBoolean(<span class="keyword">const</span> string&amp; value) { <span class="keywordflow">return</span> ToBoolean(value.c_str()); }
48<a name="l00055"></a>00055 <span class="preprocessor">#ifdef UNICODE</span>
49<a name="l00056"></a>00056 <span class="preprocessor"></span>    <span class="keyword">static</span> <span class="keywordtype">bool</span> ToBoolean(<span class="keyword">const</span> fchar* value);
50<a name="l00057"></a><a class="code" href="class_f_u_string_conversion.html#1c521429790231f087f61ea0987e7f4d">00057</a>     <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">bool</span> ToBoolean(<span class="keyword">const</span> fstring&amp; value) { <span class="keywordflow">return</span> ToBoolean(value.c_str()); }
51<a name="l00058"></a>00058 <span class="preprocessor">#endif</span>
52<a name="l00059"></a>00059 <span class="preprocessor"></span>
53<a name="l00064"></a>00064 <span class="keyword">static</span> <span class="keywordtype">float</span> ToFloat(<span class="keyword">const</span> <span class="keywordtype">char</span>** value);
54<a name="l00065"></a><a class="code" href="class_f_u_string_conversion.html#e16db68cb0d720466e4761f39a727022">00065</a>     <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">float</span> ToFloat(<span class="keyword">const</span> <span class="keywordtype">char</span>* value) { <span class="keywordflow">return</span> ToFloat(&amp;value); }
55<a name="l00066"></a><a class="code" href="class_f_u_string_conversion.html#b624cc3f0673338ef1b7688947fd3e84">00066</a>     <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">float</span> ToFloat(<span class="keyword">const</span> string&amp; value) { <span class="keywordflow">return</span> ToFloat(value.c_str()); }
56<a name="l00067"></a>00067 <span class="preprocessor">#ifdef UNICODE</span>
57<a name="l00068"></a>00068 <span class="preprocessor"></span>    <span class="keyword">static</span> <span class="keywordtype">float</span> ToFloat(<span class="keyword">const</span> fchar** value);
58<a name="l00069"></a><a class="code" href="class_f_u_string_conversion.html#8bea8f703bcfd362a14398b429105f5d">00069</a>     <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">float</span> ToFloat(<span class="keyword">const</span> fstring&amp; value) { <span class="keywordflow">return</span> ToFloat(value.c_str()); }
59<a name="l00070"></a><a class="code" href="class_f_u_string_conversion.html#af05f7ca98832fcf8a763868784ea3bf">00070</a>     <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">float</span> ToFloat(<span class="keyword">const</span> fchar* value) { <span class="keywordflow">return</span> ToFloat(&amp;value); }
60<a name="l00071"></a>00071 <span class="preprocessor">#endif</span>
61<a name="l00072"></a>00072 <span class="preprocessor"></span>
62<a name="l00077"></a>00077 <span class="keyword">static</span> int32 ToInt32(<span class="keyword">const</span> <span class="keywordtype">char</span>** value);
63<a name="l00078"></a><a class="code" href="class_f_u_string_conversion.html#2b18a2587b64cea786a7bfa31f629029">00078</a>     <span class="keyword">inline</span> <span class="keyword">static</span> int32 ToInt32(<span class="keyword">const</span> <span class="keywordtype">char</span>* value) { <span class="keywordflow">return</span> ToInt32(&amp;value); }
64<a name="l00079"></a><a class="code" href="class_f_u_string_conversion.html#aaa3f1980d1762fb6a018aef21c47a5b">00079</a>     <span class="keyword">inline</span> <span class="keyword">static</span> int32 ToInt32(<span class="keyword">const</span> string&amp; value) { <span class="keywordflow">return</span> ToInt32(value.c_str()); }
65<a name="l00080"></a>00080 <span class="preprocessor">#ifdef UNICODE</span>
66<a name="l00081"></a>00081 <span class="preprocessor"></span>    <span class="keyword">static</span> int32 ToInt32(<span class="keyword">const</span> fchar** value);
67<a name="l00082"></a><a class="code" href="class_f_u_string_conversion.html#b0c38b9d19638c8cacf024af0e8c55b6">00082</a>     <span class="keyword">inline</span> <span class="keyword">static</span> int32 ToInt32(<span class="keyword">const</span> fchar* value) { <span class="keywordflow">return</span> ToInt32(&amp;value); }
68<a name="l00083"></a><a class="code" href="class_f_u_string_conversion.html#b4a61ea15eb0cbcb54e82e1306b5f126">00083</a>     <span class="keyword">inline</span> <span class="keyword">static</span> int32 ToInt32(<span class="keyword">const</span> fstring&amp; value) { <span class="keywordflow">return</span> ToInt32(value.c_str()); }
69<a name="l00084"></a>00084 <span class="preprocessor">#endif</span>
70<a name="l00085"></a>00085 <span class="preprocessor"></span>
71<a name="l00090"></a>00090 <span class="keyword">static</span> uint32 ToUInt32(<span class="keyword">const</span> <span class="keywordtype">char</span>** value);
72<a name="l00091"></a><a class="code" href="class_f_u_string_conversion.html#8f9bea5c8a42d4882c309e0bd7148406">00091</a>     <span class="keyword">inline</span> <span class="keyword">static</span> uint32 ToUInt32(<span class="keyword">const</span> <span class="keywordtype">char</span>* value) { <span class="keywordflow">return</span> ToUInt32(&amp;value); }
73<a name="l00092"></a><a class="code" href="class_f_u_string_conversion.html#65184c3a0af631b9e81e93b9122d2936">00092</a>     <span class="keyword">inline</span> <span class="keyword">static</span> uint32 ToUInt32(<span class="keyword">const</span> string&amp; value) { <span class="keywordflow">return</span> ToUInt32(value.c_str()); }
74<a name="l00093"></a>00093 <span class="preprocessor">#ifdef UNICODE</span>
75<a name="l00094"></a>00094 <span class="preprocessor"></span>    <span class="keyword">static</span> uint32 ToUInt32(<span class="keyword">const</span> fchar** value);
76<a name="l00095"></a><a class="code" href="class_f_u_string_conversion.html#b59ebf0924b422e31fb4b647c2637adf">00095</a>     <span class="keyword">inline</span> <span class="keyword">static</span> uint32 ToUInt32(<span class="keyword">const</span> fchar* value) { <span class="keywordflow">return</span> ToUInt32(&amp;value); }
77<a name="l00096"></a><a class="code" href="class_f_u_string_conversion.html#232db1c77eb736a5497aff249f0982c2">00096</a>     <span class="keyword">inline</span> <span class="keyword">static</span> uint32 ToUInt32(<span class="keyword">const</span> fstring&amp; value) { <span class="keywordflow">return</span> ToUInt32(value.c_str()); }
78<a name="l00097"></a>00097 <span class="preprocessor">#endif</span>
79<a name="l00098"></a>00098 <span class="preprocessor"></span>
80<a name="l00106"></a>00106 <span class="keyword">static</span> uint32 HexToUInt32(<span class="keyword">const</span> <span class="keywordtype">char</span>** value, uint32 count=UINT_MAX);
81<a name="l00107"></a><a class="code" href="class_f_u_string_conversion.html#959cff7fac82dc853fe9002fc818ccb9">00107</a>     <span class="keyword">inline</span> <span class="keyword">static</span> uint32 HexToUInt32(<span class="keyword">const</span> <span class="keywordtype">char</span>* value, uint32 count=UINT_MAX) { <span class="keywordflow">return</span> HexToUInt32(&amp;value, count); }
82<a name="l00108"></a><a class="code" href="class_f_u_string_conversion.html#eaf90126a8865d8580266cff683e1bdc">00108</a>     <span class="keyword">inline</span> <span class="keyword">static</span> uint32 HexToUInt32(<span class="keyword">const</span> string&amp; value, uint32 count=UINT_MAX) { <span class="keywordflow">return</span> HexToUInt32(value.c_str(), count); }
83<a name="l00109"></a>00109 <span class="preprocessor">#ifdef UNICODE</span>
84<a name="l00110"></a>00110 <span class="preprocessor"></span>    <span class="keyword">static</span> uint32 HexToUInt32(<span class="keyword">const</span> fchar** value, uint32 count=UINT_MAX);
85<a name="l00111"></a><a class="code" href="class_f_u_string_conversion.html#a4ac0f37a7e6368b7f680e6e4520acdb">00111</a>     <span class="keyword">inline</span> <span class="keyword">static</span> uint32 HexToUInt32(<span class="keyword">const</span> fchar* value, uint32 count=UINT_MAX) { <span class="keywordflow">return</span> HexToUInt32(&amp;value, count); }
86<a name="l00112"></a><a class="code" href="class_f_u_string_conversion.html#0f99534b4096aa380211fe41a26c89ed">00112</a>     <span class="keyword">inline</span> <span class="keyword">static</span> uint32 HexToUInt32(<span class="keyword">const</span> fstring&amp; value, uint32 count=UINT_MAX) { <span class="keywordflow">return</span> HexToUInt32(value.c_str(), count); }
87<a name="l00113"></a>00113 <span class="preprocessor">#endif</span>
88<a name="l00114"></a>00114 <span class="preprocessor"></span>
89<a name="l00120"></a>00120 <span class="keyword">static</span> <a class="code" href="class_f_m_vector3.html">FMVector3</a> ToPoint(<span class="keyword">const</span> <span class="keywordtype">char</span>** value, <span class="keywordtype">float</span> lengthFactor=1.0f);
90<a name="l00121"></a><a class="code" href="class_f_u_string_conversion.html#d128a0b4e9f530e0932ba1bcc852bc01">00121</a>     <span class="keyword">inline</span> <span class="keyword">static</span> <a class="code" href="class_f_m_vector3.html">FMVector3</a> ToPoint(<span class="keyword">const</span> <span class="keywordtype">char</span>* value, <span class="keywordtype">float</span> lengthFactor=1.0f) { <span class="keywordflow">return</span> ToPoint(&amp;value, lengthFactor); }
91<a name="l00122"></a><a class="code" href="class_f_u_string_conversion.html#5264d79d79cf6967d7f67b6236b472fd">00122</a>     <span class="keyword">inline</span> <span class="keyword">static</span> <a class="code" href="class_f_m_vector3.html">FMVector3</a> ToPoint(<span class="keyword">const</span> string&amp; value, <span class="keywordtype">float</span> lengthFactor=1.0f) { <span class="keywordflow">return</span> ToPoint(value.c_str(), lengthFactor); }
92<a name="l00123"></a>00123 <span class="preprocessor">#ifdef UNICODE</span>
93<a name="l00124"></a>00124 <span class="preprocessor"></span>    <span class="keyword">static</span> <a class="code" href="class_f_m_vector3.html">FMVector3</a> ToPoint(<span class="keyword">const</span> fchar** value, <span class="keywordtype">float</span> lengthFactor=1.0f);
94<a name="l00125"></a><a class="code" href="class_f_u_string_conversion.html#28a7964b61ee25095ca7e0cb6c4a7342">00125</a>     <span class="keyword">inline</span> <span class="keyword">static</span> <a class="code" href="class_f_m_vector3.html">FMVector3</a> ToPoint(<span class="keyword">const</span> fchar* value, <span class="keywordtype">float</span> lengthFactor=1.0f) { <span class="keywordflow">return</span> ToPoint(&amp;value, lengthFactor); }
95<a name="l00126"></a><a class="code" href="class_f_u_string_conversion.html#b8717eba3559cfd0efc4261bef913805">00126</a>     <span class="keyword">inline</span> <span class="keyword">static</span> <a class="code" href="class_f_m_vector3.html">FMVector3</a> ToPoint(<span class="keyword">const</span> fstring&amp; value, <span class="keywordtype">float</span> lengthFactor=1.0f) { <span class="keywordflow">return</span> ToPoint(value.c_str(), lengthFactor); }
96<a name="l00127"></a>00127 <span class="preprocessor">#endif</span>
97<a name="l00128"></a>00128 <span class="preprocessor"></span>
98<a name="l00135"></a>00135 <span class="keyword">static</span> <span class="keywordtype">void</span> ToMatrix(<span class="keyword">const</span> <span class="keywordtype">char</span>** value, <a class="code" href="class_f_m_matrix44.html">FMMatrix44</a>&amp; mx, <span class="keywordtype">float</span> lengthFactor=1.0f);
99<a name="l00136"></a><a class="code" href="class_f_u_string_conversion.html#b03ab643a23c8287f88b757c70efc10f">00136</a>     <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">void</span> ToMatrix(<span class="keyword">const</span> <span class="keywordtype">char</span>* value, <a class="code" href="class_f_m_matrix44.html">FMMatrix44</a>&amp; mx, <span class="keywordtype">float</span> lengthFactor=1.0f) { <span class="keywordflow">return</span> ToMatrix(&amp;value, mx, lengthFactor); }
100<a name="l00137"></a><a class="code" href="class_f_u_string_conversion.html#2cc4321cba4cc293df867e698b295e07">00137</a>     <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">void</span> ToMatrix(<span class="keyword">const</span> string&amp; value, <a class="code" href="class_f_m_matrix44.html">FMMatrix44</a>&amp; mx, <span class="keywordtype">float</span> lengthFactor=1.0f) { <span class="keywordflow">return</span> ToMatrix(value.c_str(), mx, lengthFactor); }
101<a name="l00138"></a>00138 <span class="preprocessor">#ifdef UNICODE</span>
102<a name="l00139"></a>00139 <span class="preprocessor"></span>    <span class="keyword">static</span> <span class="keywordtype">void</span> ToMatrix(<span class="keyword">const</span> fchar** value, <a class="code" href="class_f_m_matrix44.html">FMMatrix44</a>&amp; mx, <span class="keywordtype">float</span> lengthFactor=1.0f);
103<a name="l00140"></a><a class="code" href="class_f_u_string_conversion.html#8fa36055b405d2fd28d16f00d412418a">00140</a>     <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">void</span> ToMatrix(<span class="keyword">const</span> fchar* value, <a class="code" href="class_f_m_matrix44.html">FMMatrix44</a>&amp; mx, <span class="keywordtype">float</span> lengthFactor=1.0f) { <span class="keywordflow">return</span> ToMatrix(&amp;value, mx, lengthFactor); }
104<a name="l00141"></a><a class="code" href="class_f_u_string_conversion.html#8161af5168e3bd6fd95e1d4ce6292952">00141</a>     <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">void</span> ToMatrix(<span class="keyword">const</span> fstring&amp; value, <a class="code" href="class_f_m_matrix44.html">FMMatrix44</a>&amp; mx, <span class="keywordtype">float</span> lengthFactor=1.0f) { <span class="keywordflow">return</span> ToMatrix(value.c_str(), mx, lengthFactor); }
105<a name="l00142"></a>00142 <span class="preprocessor">#endif</span>
106<a name="l00143"></a>00143 <span class="preprocessor"></span>
107<a name="l00147"></a>00147 <span class="keyword">static</span> <span class="keywordtype">void</span> ToDateTime(<span class="keyword">const</span> <span class="keywordtype">char</span>* value, <a class="code" href="class_f_u_date_time.html">FUDateTime</a>&amp; dateTime);
108<a name="l00148"></a><a class="code" href="class_f_u_string_conversion.html#339cec8eac2b906e9989aea3afbc9e03">00148</a>     <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">void</span> ToDateTime(<span class="keyword">const</span> string&amp; value, <a class="code" href="class_f_u_date_time.html">FUDateTime</a>&amp; dateTime) { <span class="keywordflow">return</span> ToDateTime(value.c_str(), dateTime); }
109<a name="l00149"></a>00149 <span class="preprocessor">#ifdef UNICODE</span>
110<a name="l00150"></a>00150 <span class="preprocessor"></span>    <span class="keyword">static</span> <span class="keywordtype">void</span> ToDateTime(<span class="keyword">const</span> fchar* value, <a class="code" href="class_f_u_date_time.html">FUDateTime</a>&amp; dateTime);
111<a name="l00151"></a><a class="code" href="class_f_u_string_conversion.html#db01761a6916d3e8b58eb69bf3790c60">00151</a>     <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">void</span> ToDateTime(<span class="keyword">const</span> fstring&amp; value, <a class="code" href="class_f_u_date_time.html">FUDateTime</a>&amp; dateTime) { <span class="keywordflow">return</span> ToDateTime(value.c_str(), dateTime); }
112<a name="l00152"></a>00152 <span class="preprocessor">#endif</span>
113<a name="l00153"></a>00153 <span class="preprocessor"></span>
114<a name="l00154"></a>00154 <span class="preprocessor">#ifdef HAS_VECTORTYPES</span>
115<a name="l00155"></a>00155 <span class="preprocessor"></span>
116<a name="l00160"></a>00160 <span class="keyword">static</span> <span class="keywordtype">void</span> ToFStringList(<span class="keyword">const</span> fstring&amp; value, <a class="code" href="classvector.html">FStringList</a>&amp; array);
117<a name="l00161"></a>00161 <span class="keyword">static</span> <span class="keywordtype">void</span> ToStringList(<span class="keyword">const</span> string&amp; value, <a class="code" href="classvector.html">StringList</a>&amp; array);
118<a name="l00162"></a>00162 <span class="preprocessor">#ifdef UNICODE</span>
119<a name="l00163"></a>00163 <span class="preprocessor"></span>    <span class="keyword">static</span> <span class="keywordtype">void</span> ToStringList(<span class="keyword">const</span> fchar* value, <a class="code" href="classvector.html">StringList</a>&amp; array);
120<a name="l00164"></a><a class="code" href="class_f_u_string_conversion.html#fd69f101ee5b4d262a7010b9eb21484c">00164</a>     <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">void</span> ToStringList(<span class="keyword">const</span> fstring&amp; value, <a class="code" href="classvector.html">StringList</a>&amp; array) { <span class="keywordflow">return</span> ToStringList(value.c_str(), array); }
121<a name="l00165"></a>00165 <span class="preprocessor">#endif</span>
122<a name="l00166"></a>00166 <span class="preprocessor"></span>
123<a name="l00170"></a>00170 <span class="keyword">static</span> <span class="keywordtype">void</span> ToFloatList(<span class="keyword">const</span> <span class="keywordtype">char</span>* value, <a class="code" href="classvector.html">FloatList</a>&amp; array);
124<a name="l00171"></a><a class="code" href="class_f_u_string_conversion.html#f34322b2176ea35451cbf7bdc89ead5e">00171</a>     <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">void</span> ToFloatList(<span class="keyword">const</span> string&amp; value, <a class="code" href="classvector.html">FloatList</a>&amp; array) { <span class="keywordflow">return</span> ToFloatList(value.c_str(), array); }
125<a name="l00172"></a>00172 <span class="preprocessor">#ifdef UNICODE</span>
126<a name="l00173"></a>00173 <span class="preprocessor"></span>    <span class="keyword">static</span> <span class="keywordtype">void</span> ToFloatList(<span class="keyword">const</span> fchar* value, <a class="code" href="classvector.html">FloatList</a>&amp; array);
127<a name="l00174"></a><a class="code" href="class_f_u_string_conversion.html#cabde126b229c7f425e074713d5cf2a1">00174</a>     <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">void</span> ToFloatList(<span class="keyword">const</span> fstring&amp; value, <a class="code" href="classvector.html">FloatList</a>&amp; array) { <span class="keywordflow">return</span> ToFloatList(value.c_str(), array); }
128<a name="l00175"></a>00175 <span class="preprocessor">#endif</span>
129<a name="l00176"></a>00176 <span class="preprocessor"></span>
130<a name="l00180"></a>00180 <span class="keyword">static</span> <span class="keywordtype">void</span> ToInt32List(<span class="keyword">const</span> <span class="keywordtype">char</span>* value, <a class="code" href="classvector.html">Int32List</a>&amp; array);
131<a name="l00181"></a><a class="code" href="class_f_u_string_conversion.html#78bd84a2f24355b3c8c874e5915e0bfc">00181</a>     <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">void</span> ToInt32List(<span class="keyword">const</span> string&amp; value, <a class="code" href="classvector.html">Int32List</a>&amp; array) { <span class="keywordflow">return</span> ToInt32List(value.c_str(), array); }
132<a name="l00182"></a>00182 <span class="preprocessor">#ifdef UNICODE</span>
133<a name="l00183"></a>00183 <span class="preprocessor"></span>    <span class="keyword">static</span> <span class="keywordtype">void</span> ToInt32List(<span class="keyword">const</span> fchar* value, <a class="code" href="classvector.html">Int32List</a>&amp; array);
134<a name="l00184"></a><a class="code" href="class_f_u_string_conversion.html#22684488cebdb3b6eb7d5506fedc5a47">00184</a>     <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">void</span> ToInt32List(<span class="keyword">const</span> fstring&amp; value, <a class="code" href="classvector.html">Int32List</a>&amp; array) { <span class="keywordflow">return</span> ToInt32List(value.c_str(), array); }
135<a name="l00185"></a>00185 <span class="preprocessor">#endif</span>
136<a name="l00186"></a>00186 <span class="preprocessor"></span>
137<a name="l00190"></a>00190 <span class="keyword">static</span> <span class="keywordtype">void</span> ToUInt32List(<span class="keyword">const</span> <span class="keywordtype">char</span>* value, <a class="code" href="classvector.html">UInt32List</a>&amp; array);
138<a name="l00191"></a><a class="code" href="class_f_u_string_conversion.html#7b10a50219bfe2664f4b50a9237744ff">00191</a>     <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">void</span> ToUInt32List(<span class="keyword">const</span> string&amp; value, <a class="code" href="classvector.html">UInt32List</a>&amp; array) { <span class="keywordflow">return</span> ToUInt32List(value.c_str(), array); }
139<a name="l00192"></a>00192 <span class="preprocessor">#ifdef UNICODE</span>
140<a name="l00193"></a>00193 <span class="preprocessor"></span>    <span class="keyword">static</span> <span class="keywordtype">void</span> ToUInt32List(<span class="keyword">const</span> fchar* value, <a class="code" href="classvector.html">UInt32List</a>&amp; array);
141<a name="l00194"></a><a class="code" href="class_f_u_string_conversion.html#9929ce8ba9d64aba95185b9ecea7f712">00194</a>     <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">void</span> ToUInt32List(<span class="keyword">const</span> fstring&amp; value, <a class="code" href="classvector.html">UInt32List</a>&amp; array) { <span class="keywordflow">return</span> ToUInt32List(value.c_str(), array); }
142<a name="l00195"></a>00195 <span class="preprocessor">#endif</span>
143<a name="l00196"></a>00196 <span class="preprocessor"></span>
144<a name="l00201"></a>00201 <span class="keyword">static</span> <span class="keywordtype">void</span> ToInterleavedFloatList(<span class="keyword">const</span> <span class="keywordtype">char</span>* value, <span class="keyword">const</span> <a class="code" href="classvector.html">vector&lt;FloatList*&gt;</a>&amp; arrays);
145<a name="l00202"></a><a class="code" href="class_f_u_string_conversion.html#c0cc0bd139d3488b34436159ac2a3538">00202</a>     <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">void</span> ToInterleavedFloatList(<span class="keyword">const</span> string&amp; value, <span class="keyword">const</span> <a class="code" href="classvector.html">vector&lt;FloatList*&gt;</a>&amp; arrays) { <span class="keywordflow">return</span> ToInterleavedFloatList(value.c_str(), arrays); }
146<a name="l00203"></a>00203 <span class="preprocessor">#ifdef UNICODE</span>
147<a name="l00204"></a>00204 <span class="preprocessor"></span>    <span class="keyword">static</span> <span class="keywordtype">void</span> ToInterleavedFloatList(<span class="keyword">const</span> fchar* value, <span class="keyword">const</span> <a class="code" href="classvector.html">vector&lt;FloatList*&gt;</a>&amp; arrays);
148<a name="l00205"></a><a class="code" href="class_f_u_string_conversion.html#01e954c541079eadd95a613142e9109b">00205</a>     <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">void</span> ToInterleavedFloatList(<span class="keyword">const</span> fstring&amp; value, <span class="keyword">const</span> <a class="code" href="classvector.html">vector&lt;FloatList*&gt;</a>&amp; arrays) { <span class="keywordflow">return</span> ToInterleavedFloatList(value.c_str(), arrays); }
149<a name="l00206"></a>00206 <span class="preprocessor">#endif</span>
150<a name="l00207"></a>00207 <span class="preprocessor"></span>
151<a name="l00213"></a>00213 <span class="keyword">static</span> <span class="keywordtype">void</span> ToMatrixList(<span class="keyword">const</span> <span class="keywordtype">char</span>* value, <a class="code" href="classvector.html">FMMatrix44List</a>&amp; array, <span class="keywordtype">float</span> lengthFactor=1.0f);
152<a name="l00214"></a><a class="code" href="class_f_u_string_conversion.html#d273cd71dcea40da878720d2e3e20556">00214</a>     <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">void</span> ToMatrixList(<span class="keyword">const</span> string&amp; value, <a class="code" href="classvector.html">FMMatrix44List</a>&amp; array, <span class="keywordtype">float</span> lengthFactor=1.0f) { <span class="keywordflow">return</span> ToMatrixList(value.c_str(), array, lengthFactor); }
153<a name="l00215"></a>00215 <span class="preprocessor">#ifdef UNICODE</span>
154<a name="l00216"></a>00216 <span class="preprocessor"></span>    <span class="keyword">static</span> <span class="keywordtype">void</span> ToMatrixList(<span class="keyword">const</span> fchar* value, <a class="code" href="classvector.html">FMMatrix44List</a>&amp; array, <span class="keywordtype">float</span> lengthFactor=1.0f);
155<a name="l00217"></a><a class="code" href="class_f_u_string_conversion.html#2bc10a907ef8b3077cf383788b613c3e">00217</a>     <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">void</span> ToMatrixList(<span class="keyword">const</span> fstring&amp; value, <a class="code" href="classvector.html">FMMatrix44List</a>&amp; array, <span class="keywordtype">float</span> lengthFactor=1.0f) { <span class="keywordflow">return</span> ToMatrixList(value.c_str(), array, lengthFactor); }
156<a name="l00218"></a>00218 <span class="preprocessor">#endif</span>
157<a name="l00219"></a>00219 <span class="preprocessor"></span>
158<a name="l00224"></a>00224 <span class="keyword">static</span> <span class="keywordtype">void</span> ToPointList(<span class="keyword">const</span> <span class="keywordtype">char</span>* value, <a class="code" href="classvector.html">FMVector3List</a>&amp; array, <span class="keywordtype">float</span> lengthFactor=1.0f);
159<a name="l00225"></a><a class="code" href="class_f_u_string_conversion.html#1090d76ff5d4ac0ffcedc20a38d4d192">00225</a>     <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">void</span> ToPointList(<span class="keyword">const</span> string&amp; value, <a class="code" href="classvector.html">FMVector3List</a>&amp; array, <span class="keywordtype">float</span> lengthFactor=1.0f) { <span class="keywordflow">return</span> ToPointList(value.c_str(), array, lengthFactor); }
160<a name="l00226"></a>00226 <span class="preprocessor">#ifdef UNICODE</span>
161<a name="l00227"></a>00227 <span class="preprocessor"></span>    <span class="keyword">static</span> <span class="keywordtype">void</span> ToPointList(<span class="keyword">const</span> fchar* value, <a class="code" href="classvector.html">FMVector3List</a>&amp; array, <span class="keywordtype">float</span> lengthFactor=1.0f);
162<a name="l00228"></a><a class="code" href="class_f_u_string_conversion.html#11183e318e073b0787d6aad7f8b2c756">00228</a>     <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">void</span> ToPointList(<span class="keyword">const</span> fstring&amp; value, <a class="code" href="classvector.html">FMVector3List</a>&amp; array, <span class="keywordtype">float</span> lengthFactor=1.0f) { <span class="keywordflow">return</span> ToPointList(value.c_str(), array, lengthFactor); }
163<a name="l00229"></a>00229 <span class="preprocessor">#endif</span>
164<a name="l00230"></a>00230 <span class="preprocessor"></span>
165<a name="l00238"></a>00238 <span class="keyword">static</span> <span class="keywordtype">void</span> ToString(<a class="code" href="class_f_u_string_builder_t.html">FUSStringBuilder</a>&amp; builder, <span class="keyword">const</span> <a class="code" href="classvector.html">FloatList</a>&amp; values, <span class="keywordtype">float</span> lengthFactor=1.0f);
166<a name="l00239"></a>00239
167<a name="l00245"></a>00245 <span class="keyword">static</span> <span class="keywordtype">void</span> ToString(<a class="code" href="class_f_u_string_builder_t.html">FUSStringBuilder</a>&amp; builder, <span class="keyword">const</span> <a class="code" href="classvector.html">Int32List</a>&amp; values);
168<a name="l00246"></a>00246
169<a name="l00252"></a>00252 <span class="keyword">static</span> <span class="keywordtype">void</span> ToString(<a class="code" href="class_f_u_string_builder_t.html">FUSStringBuilder</a>&amp; builder, <span class="keyword">const</span> <a class="code" href="classvector.html">UInt32List</a>&amp; values);
170<a name="l00253"></a>00253
171<a name="l00254"></a>00254 <span class="preprocessor">#endif // HAS_VECTORTYPES</span>
172<a name="l00255"></a>00255 <span class="preprocessor"></span>
173<a name="l00260"></a>00260 <span class="keyword">static</span> string ToString(<span class="keyword">const</span> <a class="code" href="class_f_m_vector4.html">FMVector4</a>&amp; p, <span class="keywordtype">float</span> lengthFactor=1.0f);
174<a name="l00261"></a>00261
175<a name="l00267"></a>00267 <span class="keyword">static</span> string ToString(<span class="keyword">const</span> <a class="code" href="class_f_m_matrix44.html">FMMatrix44</a>&amp; value, <span class="keywordtype">float</span> lengthFactor=1.0f);
176<a name="l00268"></a>00268 <span class="keyword">static</span> fstring ToFString(<span class="keyword">const</span> <a class="code" href="class_f_m_matrix44.html">FMMatrix44</a>&amp; value, <span class="keywordtype">float</span> lengthFactor=1.0f);
177<a name="l00274"></a>00274 <span class="keyword">static</span> string ToString(<span class="keyword">const</span> <a class="code" href="class_f_m_vector3.html">FMVector3</a>&amp; value, <span class="keywordtype">float</span> lengthFactor=1.0f);
178<a name="l00275"></a>00275 <span class="keyword">static</span> fstring ToFString(<span class="keyword">const</span> <a class="code" href="class_f_m_vector3.html">FMVector3</a>&amp; value, <span class="keywordtype">float</span> lengthFactor=1.0f);
179<a name="l00280"></a>00280 <span class="keyword">static</span> string ToString(<span class="keyword">const</span> <a class="code" href="class_f_u_date_time.html">FUDateTime</a>&amp; dateTime);
180<a name="l00281"></a>00281 <span class="keyword">static</span> fstring ToFString(<span class="keyword">const</span> <a class="code" href="class_f_u_date_time.html">FUDateTime</a>&amp; dateTime);
181<a name="l00290"></a><a class="code" href="class_f_u_string_conversion.html#de797a088ea7de614cf338e1086f69bc">00290</a>     <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt; <span class="keyword">static</span> string ToString(<span class="keyword">const</span> T&amp; value) { <a class="code" href="_f_u_string_builder_8h.html#f59ffe58166fe5771701c630749dde26">globalSBuilder</a>.<a class="code" href="class_f_u_string_builder_t.html#552095c3500bbcbee1c474f91af1b537">set</a>(value); <span class="keywordflow">return</span> <a class="code" href="_f_u_string_builder_8h.html#f59ffe58166fe5771701c630749dde26">globalSBuilder</a>.<a class="code" href="class_f_u_string_builder_t.html#84c7caa79c4639aeaf05831aa1534c65">ToString</a>(); }
182<a name="l00291"></a><a class="code" href="class_f_u_string_conversion.html#1bd49c484ca970133abc02f709dce370">00291</a>     <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt; <span class="keyword">static</span> fstring ToFString(<span class="keyword">const</span> T&amp; value) { <a class="code" href="_f_u_string_builder_8h.html#3d808ba9856cb5cc68f03d21bb0cc508">globalBuilder</a>.<a class="code" href="class_f_u_string_builder_t.html#552095c3500bbcbee1c474f91af1b537">set</a>(value); <span class="keywordflow">return</span> <a class="code" href="_f_u_string_builder_8h.html#3d808ba9856cb5cc68f03d21bb0cc508">globalBuilder</a>.<a class="code" href="class_f_u_string_builder_t.html#84c7caa79c4639aeaf05831aa1534c65">ToString</a>(); }
183<a name="l00299"></a>00299 <span class="keyword">static</span> <span class="keywordtype">void</span> ToString(<a class="code" href="class_f_u_string_builder_t.html">FUSStringBuilder</a>&amp; builder, <span class="keyword">const</span> <a class="code" href="class_f_m_matrix44.html">FMMatrix44</a>&amp; value, <span class="keywordtype">float</span> lengthFactor=1.0f);
184<a name="l00300"></a>00300 <span class="keyword">static</span> <span class="keywordtype">void</span> ToFString(<a class="code" href="class_f_u_string_builder_t.html">FUStringBuilder</a>&amp; builder, <span class="keyword">const</span> <a class="code" href="class_f_m_matrix44.html">FMMatrix44</a>&amp; value, <span class="keywordtype">float</span> lengthFactor=1.0f);
185<a name="l00307"></a>00307 <span class="keyword">static</span> <span class="keywordtype">void</span> ToString(<a class="code" href="class_f_u_string_builder_t.html">FUSStringBuilder</a>&amp; builder, <span class="keyword">const</span> <a class="code" href="class_f_m_vector3.html">FMVector3</a>&amp; value, <span class="keywordtype">float</span> lengthFactor=1.0f);
186<a name="l00308"></a>00308 <span class="keyword">static</span> <span class="keywordtype">void</span> ToFString(<a class="code" href="class_f_u_string_builder_t.html">FUStringBuilder</a>&amp; builder, <span class="keyword">const</span> <a class="code" href="class_f_m_vector3.html">FMVector3</a>&amp; value, <span class="keywordtype">float</span> lengthFactor=1.0f);
187<a name="l00315"></a>00315 <span class="keyword">static</span> <span class="keywordtype">void</span> ToString(<a class="code" href="class_f_u_string_builder_t.html">FUSStringBuilder</a>&amp; builder, <span class="keyword">const</span> <a class="code" href="class_f_m_vector4.html">FMVector4</a>&amp; p, <span class="keywordtype">float</span> lengthFactor=1.0f);
188<a name="l00316"></a>00316 };
189<a name="l00317"></a>00317
190<a name="l00318"></a>00318 <span class="preprocessor">#endif // _FCU_STRING_CONVERSION_</span>
191</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri May 12 16:44:39 2006 for FCollada by&nbsp;
192<a href="http://www.doxygen.org/index.html">
193<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6-NO </small></address>
194</body>
195</html>
Note: See TracBrowser for help on using the repository browser.