⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wtxtclenum.html

📁 vxworks相关论文
💻 HTML
字号:
<html><head><!-- /vobs/wpwr/docs/tornado-api/wtxtcl/wtxtclEnum.html - generated by refgen from wtenum.c --> <title> wtxtclEnum [Tcl] </title></head><body bgcolor="#FFFFFF"> <hr><a name="top"></a><p align=right><a href="libIndex.html"><i>Tornado API Reference :  WTX Tcl Library</i></a></p></blockquote><h1>wtxtclEnum [Tcl]</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>wtxtclEnum [Tcl]</strong> - mappings to/from strings to WTX enumeration constants</p></blockquote><h4>TCL PROCEDURES</h4><blockquote><p><p><b><a href="./wtxtclEnum.html#wtxEnumToString">wtxEnumToString</a></b>  -  convert a numeric WTX constant to symbolic form<br><b><a href="./wtxtclEnum.html#wtxEnumFromString">wtxEnumFromString</a></b>  -  convert a WTX constant to numeric form<br><b><a href="./wtxtclEnum.html#wtxEnumList">wtxEnumList</a></b>  -  list all WTX constant types known<br><b><a href="./wtxtclEnum.html#wtxEnumInfo">wtxEnumInfo</a></b>  -  show the mapping between WTX constant names and numeric values<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>this library contains all the Tcl enum facilities. Those routines allowmanipulte the WTX enumarate types.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./wtxtclEnum.html#top">wtxtclEnum</a></b><hr><a name="wtxEnumToString"></a><p align=right><a href="rtnIndex.html"><i>WTX Tcl Library :  Tcl Procedures</i></a></p></blockquote><h1>wtxEnumToString</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>wtxEnumToString</strong> - convert a numeric WTX constant to symbolic form</p><p></blockquote><h4>LOCALE</h4><blockquote><p>WTX Tcl<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>wtxEnumToString <i>type</i> <i>value</i></pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command converts <i>value</i> to its string form in the domain of the given WTX enumerated <i>type</i>. <p></blockquote><h4>RETURNS</h4><blockquote><p>The string name of the enumerated constant <i>value</i>, in the domain of the enumeration <i>type</i>.  If <i>type</i> is one of the WTX types that have valuesthat can be or'ed together, the resulting string will have names separated by the <b>|</b> character; if there are bits set in the originalvalue that do not have names, these are shown in hexadecimal at the end of the result.<p></blockquote><h4>EXAMPLE</h4><blockquote><p>To find out what context type is indicated by the number 4:<pre>tcl&gt;wtxEnumToString CONTEXT_TYPE 4 CONTEXT_TASK</pre></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./wtxtclEnum.html#top">wtxtclEnum</a></b>, wtxtcl, wtxEnumFromString, wtxEnumInfo, wtxEnumList<hr><a name="wtxEnumFromString"></a><p align=right><a href="rtnIndex.html"><i>WTX Tcl Library :  Tcl Procedures</i></a></p></blockquote><h1>wtxEnumFromString</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>wtxEnumFromString</strong> - convert a WTX constant to numeric form</p><p></blockquote><h4>LOCALE</h4><blockquote><p>WTX Tcl<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>wtxEnumFromString <i>type</i> <i>string</i></pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command converts <i>string</i> to its numeric form in the domain of the given WTX enumerated <i>type</i>. <p></blockquote><h4>RETURNS</h4><blockquote><p>A number representing the numeric value of the WTX constant.  For those WTX constants that can be or'ed together, the <b>|</b> character can be usedin <i>string</i>.<p></blockquote><h4>EXAMPLE</h4><blockquote><p><pre>tcl&gt;wtxEnumFromString LOAD_FLAG  LOAD_CORE_FILE|LOAD_ALL_SYMBOLS0x46</pre></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./wtxtclEnum.html#top">wtxtclEnum</a></b>, wtxtcl, wtxEnumToString, wtxEnumInfo, wtxEnumList<hr><a name="wtxEnumList"></a><p align=right><a href="rtnIndex.html"><i>WTX Tcl Library :  Tcl Procedures</i></a></p></blockquote><h1>wtxEnumList</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>wtxEnumList</strong> - list all WTX constant types known</p><p></blockquote><h4>LOCALE</h4><blockquote><p>WTX Tcl<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>wtxEnumList</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command returns the names of all the WTX enumerated types known to wtxtcl.  These are string values that can be given to wtxtcl commandsthat implement protocol requests using enumerated-type arguments.<p></blockquote><h4>EXAMPLE</h4><blockquote><p>To see the names of the enumerated parameters that wtxtcl understands:<p><pre>tcl&gt;wtxEnumList ACTION_TYPE CONTEXT_TYPE EVENT_TYPE REG_SET_TYPE...</pre></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./wtxtclEnum.html#top">wtxtclEnum</a></b>, wtxtcl, wtxEnumInfo, wtxEnumFromString, wtxEnumToString<hr><a name="wtxEnumInfo"></a><p align=right><a href="rtnIndex.html"><i>WTX Tcl Library :  Tcl Procedures</i></a></p></blockquote><h1>wtxEnumInfo</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>wtxEnumInfo</strong> - show the mapping between WTX constant names and numeric values</p><p></blockquote><h4>LOCALE</h4><blockquote><p>WTX Tcl<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>wtxEnumInfo <i>enumType</i></pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command returns the mapping between the names of WTX constants and their numeric values.  Those wtxtcl commands that take WTX enumeratedtypes (see the <i>WTX Protocol</i> reference) can use either string or numeric form.   The mapping between the string and numeric forms of WTX constants can be inspected with this command.<p></blockquote><h4>EXAMPLE</h4><blockquote><p>To find out what values can be used for a <b>CONTEXT_TYPE</b> argument:<p><pre>wtxtcl.ex&gt;wtxEnumInfo CONTEXT_TYPE CONTEXT_SYSTEM 0x1 CONTEXT_GROUP 0x2 CONTEXT_ANY 0x3 CONTEXT_TASK 0x4 CONTEXT_ANY_TASK 0x5 CONTEXT_ISR 0x6 CONTEXT_ISR_ANY 0x7</pre></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./wtxtclEnum.html#top">wtxtclEnum</a></b>, wtxtcl, wtxEnumList, wtxEnumFromString, wtxEnumToString</body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -