<!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>Dirac Video Codec</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body bgcolor="#ffffff"> <h1 align="center" color="#606080"> Dirac - A Video Codec </h1> <p align="center"> Created by the <a href="http://www.bbc.co.uk">British Broadcasting Corporation</a>. </p> <hr> <!-- Generated by Doxygen 1.5.9 --> <div class="navpath"><a class="el" href="a00234.html">dirac</a>::<a class="el" href="a00022.html">CommandLine</a> </div> <div class="contents"> <h1>dirac::CommandLine Class Reference</h1><!-- doxytag: class="dirac::CommandLine" --><code>#include <<a class="el" href="a00169_source.html">cmd_line.h</a>></code> <p> <p> <a href="a00285.html">List of all members.</a><h2>Classes</h2> <ul> <li>struct <a class="el" href="a00098.html">option</a> </ul> <h2>Public Member Functions</h2> <ul> <li><a class="el" href="a00022.html#86ee25d45f7b0673da3585b6d471af50">CommandLine</a> (int argc, char *argv[], const std::set< std::string > &bool_opts) <dl class="el"><dd class="mdescRight">Constructor. <a href="#86ee25d45f7b0673da3585b6d471af50"></a><br></dl><li>const std::vector< <a class="el" href="a00098.html">option</a> > & <a class="el" href="a00022.html#bdaabf1dd2fa4f7fbc4e94690a6e790d">GetOptions</a> () const <li>const std::vector< std::string > & <a class="el" href="a00022.html#ecdf4e3d1e76b5cc0d5a5512a93850b4">GetInputs</a> () const <li>size_t <a class="el" href="a00022.html#4e606fc57053e92bd28f9863d6d40860">Count</a> () const </ul> <h2>Private Attributes</h2> <ul> <li>std::vector< <a class="el" href="a00098.html">option</a> > <a class="el" href="a00022.html#645e45ca20990549f859d095e280680e">m_options</a> <li>std::vector< std::string > <a class="el" href="a00022.html#453f0cd1c8e1f414fefffe018a3799c6">m_inputs</a> <li>const std::set< std::string > & <a class="el" href="a00022.html#370835ee55455d3cee946c0d0fed2912">m_bool_opts</a> </ul> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="86ee25d45f7b0673da3585b6d471af50"></a><!-- doxytag: member="dirac::CommandLine::CommandLine" ref="86ee25d45f7b0673da3585b6d471af50" args="(int argc, char *argv[], const std::set< std::string > &bool_opts)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">dirac::CommandLine::CommandLine </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>argc</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">char * </td> <td class="paramname"> <em>argv</em>[], </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const std::set< std::string > & </td> <td class="paramname"> <em>bool_opts</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="4e606fc57053e92bd28f9863d6d40860"></a><!-- doxytag: member="dirac::CommandLine::Count" ref="4e606fc57053e92bd28f9863d6d40860" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">size_t dirac::CommandLine::Count </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>References <a class="el" href="a00169_source.html#l00085">m_options</a>.</p> </div> </div><p> <a class="anchor" name="ecdf4e3d1e76b5cc0d5a5512a93850b4"></a><!-- doxytag: member="dirac::CommandLine::GetInputs" ref="ecdf4e3d1e76b5cc0d5a5512a93850b4" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const std::vector<std::string>& dirac::CommandLine::GetInputs </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>References <a class="el" href="a00169_source.html#l00086">m_inputs</a>.</p> </div> </div><p> <a class="anchor" name="bdaabf1dd2fa4f7fbc4e94690a6e790d"></a><!-- doxytag: member="dirac::CommandLine::GetOptions" ref="bdaabf1dd2fa4f7fbc4e94690a6e790d" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const std::vector<<a class="el" href="a00098.html">option</a>>& dirac::CommandLine::GetOptions </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>References <a class="el" href="a00169_source.html#l00085">m_options</a>.</p> </div> </div><p> <hr><h2>Member Data Documentation</h2> <a class="anchor" name="370835ee55455d3cee946c0d0fed2912"></a><!-- doxytag: member="dirac::CommandLine::m_bool_opts" ref="370835ee55455d3cee946c0d0fed2912" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const std::set<std::string>& <a class="el" href="a00022.html#370835ee55455d3cee946c0d0fed2912">dirac::CommandLine::m_bool_opts</a><code> [private]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="453f0cd1c8e1f414fefffe018a3799c6"></a><!-- doxytag: member="dirac::CommandLine::m_inputs" ref="453f0cd1c8e1f414fefffe018a3799c6" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::vector<std::string> <a class="el" href="a00022.html#453f0cd1c8e1f414fefffe018a3799c6">dirac::CommandLine::m_inputs</a><code> [private]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Referenced by <a class="el" href="a00169_source.html#l00073">GetInputs()</a>.</p> </div> </div><p> <a class="anchor" name="645e45ca20990549f859d095e280680e"></a><!-- doxytag: member="dirac::CommandLine::m_options" ref="645e45ca20990549f859d095e280680e" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::vector<<a class="el" href="a00098.html">option</a>> <a class="el" href="a00022.html#645e45ca20990549f859d095e280680e">dirac::CommandLine::m_options</a><code> [private]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Referenced by <a class="el" href="a00169_source.html#l00079">Count()</a>, and <a class="el" href="a00169_source.html#l00068">GetOptions()</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="a00169_source.html">cmd_line.h</a></ul> </div> <hr> <p align="center"><small> © 2004 British Broadcasting Corporation. Dirac code licensed under the <a href="http://www.mozilla.org/MPL/">Mozilla Public License (MPL) Version 1.1</a>.<br> HTML documentation generated by Dimitri van Heesch's excellent <a href="http://www.doxygen.org">Doxygen</a> tool. </small></p> </body> </html>