123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434 |
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
- <title>PowerVR SDK</title>
- <link href="doxygen.css" rel="stylesheet" type="text/css">
- <link href="tabs.css" rel="stylesheet" type="text/css">
- <table width="100%">
- <tr>
- <td width="33%">
- <p align="left"> <a href="http://www.imgtec.com"><img border="0" src="IMGLogo.jpg" width="200" height="30"></a></p>
- </td>
- <td width="33%">
- <p align="center"><font color="#808080" face="Arial" size="2">PowerVR Software Development Kit</a></font></p>
- </td>
- <td width="34%">
- <p align="right"><a href="http://www.powervr.com"><img border="0" src="PVRlogo.jpg" width="200" height="27"></a></p>
- </td>
- </tr>
- </table>
- <hr>
- </head><body>
- <!-- Generated by Doxygen 1.3.6 -->
- <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div>
- <h1>PVRShellCommandLine Class Reference</h1>Command-line interpreter.
- <a href="#_details">More...</a>
- <p>
- <code>#include <<a class="el" href="PVRShellImpl_8h-source.html">PVRShellImpl.h</a>></code>
- <p>
- Collaboration diagram for PVRShellCommandLine:<p><center><img src="classPVRShellCommandLine__coll__graph.png" border="0" usemap="#PVRShellCommandLine__coll__map" alt="Collaboration graph"></center>
- <map name="PVRShellCommandLine__coll__map">
- <area href="structSCmdLineOpt.html" shape="rect" coords="36,7,143,34" alt="">
- </map>
- <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classPVRShellCommandLine-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
- <tr><td></td></tr>
- <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classPVRShellCommandLine.html#a0">PVRShellCommandLine</a> ()</td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classPVRShellCommandLine.html#a1">~PVRShellCommandLine</a> ()</td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classPVRShellCommandLine.html#a2">Set</a> (const char *pStr)</td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classPVRShellCommandLine.html#a3">Prefix</a> (const char *pStr)</td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classPVRShellCommandLine.html#a4">PrefixFromFile</a> (const char *pFileName)</td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classPVRShellCommandLine.html#a5">Parse</a> ()</td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classPVRShellCommandLine.html#a6">Apply</a> (<a class="el" href="classPVRShell.html">PVRShell</a> &shell)</td></tr>
- <tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top>char * </td><td class="memItemRight" valign=bottom><a class="el" href="classPVRShellCommandLine.html#o0">m_psOrig</a></td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top>char * </td><td class="memItemRight" valign=bottom><a class="el" href="classPVRShellCommandLine.html#o1">m_psSplit</a></td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structSCmdLineOpt.html">SCmdLineOpt</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classPVRShellCommandLine.html#o2">m_pOpt</a></td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="classPVRShellCommandLine.html#o3">m_nOptLen</a></td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="classPVRShellCommandLine.html#o4">m_nOptMax</a></td></tr>
- </table>
- <hr><a name="_details"></a><h2>Detailed Description</h2>
- Command-line interpreter.
- <p>
- <hr><h2>Constructor & Destructor Documentation</h2>
- <a class="anchor" name="a0" doxytag="PVRShellCommandLine::PVRShellCommandLine" ></a><p>
- <br><br><h3>PVRShellCommandLine</h3><br><div>
- <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"> PVRShellCommandLine::PVRShellCommandLine </td>
- <td class="md" valign="top">( </td>
- <td class="mdname1" valign="top" nowrap> </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>
- <dl compact><dt><b>Description:</b></dt><dd>Constructor </dd></dl>
- </td>
- </tr>
- </table>
- <a class="anchor" name="a1" doxytag="PVRShellCommandLine::~PVRShellCommandLine" ></a><p>
- <br><br><h3>~PVRShellCommandLine</h3><br><div>
- <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"> PVRShellCommandLine::~<a class="el" href="classPVRShellCommandLine.html">PVRShellCommandLine</a> </td>
- <td class="md" valign="top">( </td>
- <td class="mdname1" valign="top" nowrap> </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>
- <dl compact><dt><b>Description:</b></dt><dd>Destructor </dd></dl>
- </td>
- </tr>
- </table>
- <hr><h2>Member Function Documentation</h2>
- <a class="anchor" name="a6" doxytag="PVRShellCommandLine::Apply" ></a><p>
- <br><br><h3>Apply</h3><br><div>
- <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 PVRShellCommandLine::Apply </td>
- <td class="md" valign="top">( </td>
- <td class="md" nowrap valign="top"><a class="el" href="classPVRShell.html">PVRShell</a> & </td>
- <td class="mdname1" valign="top" nowrap> <em>shell</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>
- <dl compact><dt><b>Inputs:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign=top><em>shell</em> </td><td></td></tr>
- </table>
- </dl>
- <dl compact><dt><b>Description:</b></dt><dd>Apply the command-line options to shell </dd></dl>
- </td>
- </tr>
- </table>
- <p>
- Here is the call graph for this function:<p><center><img src="classPVRShellCommandLine_a6_cgraph.png" border="0" usemap="#classPVRShellCommandLine_a6_cgraph_map" alt=""></center>
- <map name="classPVRShellCommandLine_a6_cgraph_map">
- <area href="classPVRShell.html#a7" shape="rect" coords="263,7,428,33" alt="">
- </map>
- <a class="anchor" name="a5" doxytag="PVRShellCommandLine::Parse" ></a><p>
- <br><br><h3>Parse</h3><br><div>
- <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 PVRShellCommandLine::Parse </td>
- <td class="md" valign="top">( </td>
- <td class="mdname1" valign="top" nowrap> </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>
- <dl compact><dt><b>Description:</b></dt><dd>Parse m_psOrig for command-line options and store them in m_pOpt </dd></dl>
- </td>
- </tr>
- </table>
- <a class="anchor" name="a3" doxytag="PVRShellCommandLine::Prefix" ></a><p>
- <br><br><h3>Prefix</h3><br><div>
- <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 PVRShellCommandLine::Prefix </td>
- <td class="md" valign="top">( </td>
- <td class="md" nowrap valign="top">const char * </td>
- <td class="mdname1" valign="top" nowrap> <em>pStr</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>
- <dl compact><dt><b>Inputs:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign=top><em>pStr</em> </td><td>Input string </td></tr>
- </table>
- </dl>
- <dl compact><dt><b>Description:</b></dt><dd>Prepend command-line options to m_psOrig </dd></dl>
- </td>
- </tr>
- </table>
- <a class="anchor" name="a4" doxytag="PVRShellCommandLine::PrefixFromFile" ></a><p>
- <br><br><h3>PrefixFromFile</h3><br><div>
- <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"> bool PVRShellCommandLine::PrefixFromFile </td>
- <td class="md" valign="top">( </td>
- <td class="md" nowrap valign="top">const char * </td>
- <td class="mdname1" valign="top" nowrap> <em>pFileName</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>
- <dl compact><dt><b>Inputs:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign=top><em>pFileName</em> </td><td>Input string </td></tr>
- </table>
- </dl>
- <dl compact><dt><b>Description:</b></dt><dd>Prepend command-line options to m_psOrig from a file </dd></dl>
- </td>
- </tr>
- </table>
- <a class="anchor" name="a2" doxytag="PVRShellCommandLine::Set" ></a><p>
- <br><br><h3>Set</h3><br><div>
- <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 PVRShellCommandLine::Set </td>
- <td class="md" valign="top">( </td>
- <td class="md" nowrap valign="top">const char * </td>
- <td class="mdname1" valign="top" nowrap> <em>pStr</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>
- <dl compact><dt><b>Inputs:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign=top><em>pStr</em> </td><td>Input string </td></tr>
- </table>
- </dl>
- <dl compact><dt><b>Description:</b></dt><dd>Set command-line options to pStr </dd></dl>
- </td>
- </tr>
- </table>
- <hr><h2>Member Data Documentation</h2>
- <a class="anchor" name="o3" doxytag="PVRShellCommandLine::m_nOptLen" ></a><p>
- <br><br><h3>m_nOptLen</h3><br><div>
- <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"> int <a class="el" href="classPVRShellCommandLine.html#o3">PVRShellCommandLine::m_nOptLen</a>
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- </td>
- </tr>
- </table>
- <a class="anchor" name="o4" doxytag="PVRShellCommandLine::m_nOptMax" ></a><p>
- <br><br><h3>m_nOptMax</h3><br><div>
- <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"> int <a class="el" href="classPVRShellCommandLine.html#o4">PVRShellCommandLine::m_nOptMax</a>
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- </td>
- </tr>
- </table>
- <a class="anchor" name="o2" doxytag="PVRShellCommandLine::m_pOpt" ></a><p>
- <br><br><h3>m_pOpt</h3><br><div>
- <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="structSCmdLineOpt.html">SCmdLineOpt</a>* <a class="el" href="classPVRShellCommandLine.html#o2">PVRShellCommandLine::m_pOpt</a>
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- </td>
- </tr>
- </table>
- <a class="anchor" name="o0" doxytag="PVRShellCommandLine::m_psOrig" ></a><p>
- <br><br><h3>m_psOrig</h3><br><div>
- <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="classPVRShellCommandLine.html#o0">PVRShellCommandLine::m_psOrig</a>
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- </td>
- </tr>
- </table>
- <a class="anchor" name="o1" doxytag="PVRShellCommandLine::m_psSplit" ></a><p>
- <br><br><h3>m_psSplit</h3><br><div>
- <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="classPVRShellCommandLine.html#o1">PVRShellCommandLine::m_psSplit</a>
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- </td>
- </tr>
- </table>
- <hr>The documentation for this class was generated from the following files:<ul>
- <li><a class="el" href="PVRShellImpl_8h-source.html">PVRShellImpl.h</a><li><a class="el" href="PVRShell_8cpp.html">PVRShell.cpp</a></ul>
- <br>
- <br>
- <P align=left><FONT size=2><STRONG><A
- href="http://www.imgtec.com/powervr/insider/legal/index.asp">Copyright</A> ©
- 1999-2008, Imagination Technologies Ltd.</STRONG></FONT></P>
- <hr>
- <address style="align: left;"><small><FONT color=f0f>
- Generated by <a href="http://www.doxygen.org/index.html">DOXYGEN</a> 1.3.6</small></address>
- </body>
- </html>
|