<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Crystal Space 1.2.1: csCommandLineOption Struct Reference (Crystal Space 1.2.1 Public API Reference)</title> <link href="tabs.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <table border="0" cellpadding="0" cellspacing="0" width="100%" class="head"> <tr height="59"> <td class="head" width="202" valign="bottom" style="padding-left:0;"><a href="http://www.crystalspace3d.org/"><img src="csblur.png" width="236" height="59" alt="CrystalSpace" border="0"></a></td> <td class="head"><h2>Public API Reference</h2></td> </tr> <tr height="11"> <td colspan="2" class="headshadow" valign="top" style="padding-left:0;"><img src="csblurb.png" width="236" height="11" alt="" border="0"></td> </tr> </table> <div class="content"> <!-- Generated by Doxygen 1.5.3 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="classes.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="classes.html"><span>Alphabetical List</span></a></li> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <h1>csCommandLineOption Struct Reference</h1><!-- doxytag: class="csCommandLineOption" -->Representation of a commandline option. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="csutil_2cmdline_8h-source.html">csutil/cmdline.h</a>></code> <p> <p> <a href="structcsCommandLineOption-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="structcsCommandLineOption.html#f36078bcf129b524612c8e13dbe2903a">csCommandLineOption</a> (char *iName, char *iValue)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Name and Value should be already allocated. <a href="#f36078bcf129b524612c8e13dbe2903a"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structcsCommandLineOption.html#c7c3c4061a2d675e7465bfc71da12a9a">~csCommandLineOption</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#c7c3c4061a2d675e7465bfc71da12a9a"></a><br></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="structcsCommandLineOption.html#467fe7aac571741f43d9dade2646aad8">Name</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Option name. <a href="#467fe7aac571741f43d9dade2646aad8"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structcsCommandLineOption.html#ff0ab45361ce92d85a33b381deb7c9db">Value</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Option value. <a href="#ff0ab45361ce92d85a33b381deb7c9db"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Representation of a commandline option. <p>Definition at line <a class="el" href="csutil_2cmdline_8h-source.html#l00034">34</a> of file <a class="el" href="csutil_2cmdline_8h-source.html">cmdline.h</a>.</p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="f36078bcf129b524612c8e13dbe2903a"></a><!-- doxytag: member="csCommandLineOption::csCommandLineOption" ref="f36078bcf129b524612c8e13dbe2903a" args="(char *iName, char *iValue)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">csCommandLineOption::csCommandLineOption </td> <td>(</td> <td class="paramtype">char * </td> <td class="paramname"> <em>iName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">char * </td> <td class="paramname"> <em>iValue</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Name and Value should be already allocated. <p> <p>Definition at line <a class="el" href="csutil_2cmdline_8h-source.html#l00041">41</a> of file <a class="el" href="csutil_2cmdline_8h-source.html">cmdline.h</a>.</p> </div> </div><p> <a class="anchor" name="c7c3c4061a2d675e7465bfc71da12a9a"></a><!-- doxytag: member="csCommandLineOption::~csCommandLineOption" ref="c7c3c4061a2d675e7465bfc71da12a9a" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">csCommandLineOption::~csCommandLineOption </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Destructor. <p> <p>Definition at line <a class="el" href="csutil_2cmdline_8h-source.html#l00047">47</a> of file <a class="el" href="csutil_2cmdline_8h-source.html">cmdline.h</a>.</p> </div> </div><p> <hr><h2>Member Data Documentation</h2> <a class="anchor" name="467fe7aac571741f43d9dade2646aad8"></a><!-- doxytag: member="csCommandLineOption::Name" ref="467fe7aac571741f43d9dade2646aad8" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">char* <a class="el" href="structcsCommandLineOption.html#467fe7aac571741f43d9dade2646aad8">csCommandLineOption::Name</a> </td> </tr> </table> </div> <div class="memdoc"> <p> Option name. <p> <p>Definition at line <a class="el" href="csutil_2cmdline_8h-source.html#l00037">37</a> of file <a class="el" href="csutil_2cmdline_8h-source.html">cmdline.h</a>.</p> </div> </div><p> <a class="anchor" name="ff0ab45361ce92d85a33b381deb7c9db"></a><!-- doxytag: member="csCommandLineOption::Value" ref="ff0ab45361ce92d85a33b381deb7c9db" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">char* <a class="el" href="structcsCommandLineOption.html#ff0ab45361ce92d85a33b381deb7c9db">csCommandLineOption::Value</a> </td> </tr> </table> </div> <div class="memdoc"> <p> Option value. <p> <p>Definition at line <a class="el" href="csutil_2cmdline_8h-source.html#l00039">39</a> of file <a class="el" href="csutil_2cmdline_8h-source.html">cmdline.h</a>.</p> </div> </div><p> <hr>The documentation for this struct was generated from the following file:<ul> <li>csutil/<a class="el" href="csutil_2cmdline_8h-source.html">cmdline.h</a></ul> <hr size="1"><address><small>Generated for Crystal Space 1.2.1 by <a href="http://www.doxygen.org/index.html">doxygen</a> 1.5.3 </small></address> </div></body> </html>