📄 classfg__string.html
字号:
<p><dl compact><dt><b>返回:</b></dt><dd>指向字符串的内容,用户无需释放此指针 </dd></dl><p>在文件<a class="el" href="FG__String_8h-source.html">FG_String.h</a>第<a class="el" href="FG__String_8h-source.html#l00082">82</a>行定义。<p>参考 <a class="el" href="FG__String_8h-source.html#l00093">m_pText</a>.<p>参考自 <a class="el" href="FG__Edit_8cpp-source.html#l00191">FG_Edit::DeleteChar()</a>、<a class="el" href="FG__TextWidget_8h-source.html#l00069">FG_TextWidget::GetText()</a>、<a class="el" href="FG__Window_8cpp-source.html#l00145">FG_Window::OnDraw()</a>及<a class="el" href="FG__Label_8cpp-source.html#l00047">FG_Label::OnDraw()</a>. </td> </tr></table><a class="anchor" name="a3" doxytag="FG_String::DataSet" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void FG_String::DataSet </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const char * </td> <td class="mdname1" valign="top" nowrap> <em>Text</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>设置字符串的内容. <p><dl compact><dt><b>参数:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>Text</em> </td><td>要设置的字符串 </td></tr> </table></dl><p>在文件<a class="el" href="FG__String_8cpp-source.html">FG_String.cpp</a>第<a class="el" href="FG__String_8cpp-source.html#l00086">86</a>行定义。<p>参考 <a class="el" href="FG__String_8h-source.html#l00093">m_pText</a>、<a class="el" href="FG__String_8h-source.html#l00097">m_wBufferLen</a>、<a class="el" href="FG__String_8h-source.html#l00095">m_wStrLen</a>及<a class="el" href="FG__Common_8h-source.html#l00046">NULL</a>.<p>参考自 <a class="el" href="FG__Edit_8cpp-source.html#l00191">FG_Edit::DeleteChar()</a>及<a class="el" href="FG__TextWidget_8h-source.html#l00077">FG_TextWidget::SetText()</a>. </td> </tr></table><a class="anchor" name="a5" doxytag="FG_String::Length" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__Utility.html#ga1">WORD</a> FG_String::Length </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [inline]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>得到字符串的长度 <p><dl compact><dt><b>返回:</b></dt><dd>字符串的长度 </dd></dl><p>在文件<a class="el" href="FG__String_8h-source.html">FG_String.h</a>第<a class="el" href="FG__String_8h-source.html#l00089">89</a>行定义。<p>参考 <a class="el" href="FG__String_8h-source.html#l00095">m_wStrLen</a>及<a class="el" href="FG__Common_8h-source.html#l00055">WORD</a>.<p>参考自 <a class="el" href="FG__Window_8cpp-source.html#l00097">FG_Window::GetClientRect()</a>、<a class="el" href="FG__Window_8cpp-source.html#l00145">FG_Window::OnDraw()</a>及<a class="el" href="FG__TextWidget_8h-source.html#l00084">FG_TextWidget::TextLength()</a>. </td> </tr></table><hr><h2>成员数据文档</h2><a class="anchor" name="r0" doxytag="FG_String::m_pText" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> char* <a class="el" href="classFG__String.html#r0">FG_String::m_pText</a><code> [private]</code> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>字符串类中保存的当前文本 <p><p>在文件<a class="el" href="FG__String_8h-source.html">FG_String.h</a>第<a class="el" href="FG__String_8h-source.html#l00093">93</a>行定义。<p>参考自 <a class="el" href="FG__String_8h-source.html#l00082">DataGet()</a>、<a class="el" href="FG__String_8cpp-source.html#l00086">DataSet()</a>、<a class="el" href="FG__String_8cpp-source.html#l00051">FG_String()</a>及<a class="el" href="FG__String_8cpp-source.html#l00077">~FG_String()</a>. </td> </tr></table><a class="anchor" name="r2" doxytag="FG_String::m_wBufferLen" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__Utility.html#ga1">WORD</a> <a class="el" href="classFG__String.html#r2">FG_String::m_wBufferLen</a><code> [private]</code> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>当前缓冲区的长度的长度,一般比文本的长度长 <p><p>在文件<a class="el" href="FG__String_8h-source.html">FG_String.h</a>第<a class="el" href="FG__String_8h-source.html#l00097">97</a>行定义。<p>参考自 <a class="el" href="FG__String_8cpp-source.html#l00086">DataSet()</a>及<a class="el" href="FG__String_8cpp-source.html#l00051">FG_String()</a>. </td> </tr></table><a class="anchor" name="r1" doxytag="FG_String::m_wStrLen" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__Utility.html#ga1">WORD</a> <a class="el" href="classFG__String.html#r1">FG_String::m_wStrLen</a><code> [private]</code> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>当前文本的长度 <p><p>在文件<a class="el" href="FG__String_8h-source.html">FG_String.h</a>第<a class="el" href="FG__String_8h-source.html#l00095">95</a>行定义。<p>参考自 <a class="el" href="FG__String_8cpp-source.html#l00086">DataSet()</a>、<a class="el" href="FG__String_8cpp-source.html#l00051">FG_String()</a>及<a class="el" href="FG__String_8h-source.html#l00089">Length()</a>. </td> </tr></table><hr>该类的文档由以下文件生成:<ul><li><a class="el" href="FG__String_8h-source.html">FG_String.h</a><li><a class="el" href="FG__String_8cpp-source.html">FG_String.cpp</a></ul><hr><center>由 DoxyGen 1.3.6 于 Wed Jun 9 22:38:21 2004 生成<br>版权所有 (C) 2003,2004 王咏武</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -