[12] | 1 | <html> |
---|
| 2 | <head> |
---|
| 3 | <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
---|
| 4 | <title>Class ambiguous_option</title> |
---|
| 5 | <link rel="stylesheet" href="boostbook.css" type="text/css"> |
---|
| 6 | <meta name="generator" content="DocBook XSL Stylesheets V1.69.1"> |
---|
| 7 | <link rel="start" href="index.html" title="The Boost C++ Libraries"> |
---|
| 8 | <link rel="up" href="program_options/reference.html#id2399042" title="Header <boost/program_options/errors.hpp>"> |
---|
| 9 | <link rel="prev" href="unknown_option.html" title="Class unknown_option"> |
---|
| 10 | <link rel="next" href="multiple_values.html" title="Class multiple_values"> |
---|
| 11 | </head> |
---|
| 12 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
---|
| 13 | <table cellpadding="2" width="100%"> |
---|
| 14 | <td valign="top"><img alt="boost.png (6897 bytes)" width="277" height="86" src="../../boost.png"></td> |
---|
| 15 | <td align="center"><a href="../../index.htm">Home</a></td> |
---|
| 16 | <td align="center"><a href="../../libs/libraries.htm">Libraries</a></td> |
---|
| 17 | <td align="center"><a href="../../people/people.htm">People</a></td> |
---|
| 18 | <td align="center"><a href="../../more/faq.htm">FAQ</a></td> |
---|
| 19 | <td align="center"><a href="../../more/index.htm">More</a></td> |
---|
| 20 | </table> |
---|
| 21 | <hr> |
---|
| 22 | <div class="spirit-nav"> |
---|
| 23 | <a accesskey="p" href="unknown_option.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="program_options/reference.html#id2399042"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="multiple_values.html"><img src="images/next.png" alt="Next"></a> |
---|
| 24 | </div> |
---|
| 25 | <div class="refentry" lang="en"> |
---|
| 26 | <a name="ambiguous_option"></a><div class="titlepage"></div> |
---|
| 27 | <div class="refnamediv"> |
---|
| 28 | <h2><span class="refentrytitle">Class ambiguous_option</span></h2> |
---|
| 29 | <p>boost::program_options::ambiguous_option — </p> |
---|
| 30 | </div> |
---|
| 31 | <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2> |
---|
| 32 | <div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"> |
---|
| 33 | <span class="bold"><strong>class</strong></span> ambiguous_option : <span class="bold"><strong>public</strong></span> boost::program_options::error { |
---|
| 34 | <span class="bold"><strong>public</strong></span>: |
---|
| 35 | <span class="emphasis"><em>// <a href="ambiguous_option.html#ambiguous_optionconstruct-copy-destruct">construct/copy/destruct</a></em></span> |
---|
| 36 | <a href="ambiguous_option.html#id2437428-bb">ambiguous_option</a>(<span class="bold"><strong>const</strong></span> std::string &, <span class="bold"><strong>const</strong></span> std::vector< std::string > &); |
---|
| 37 | <a href="ambiguous_option.html#id2422470-bb">~ambiguous_option</a>(); |
---|
| 38 | |
---|
| 39 | <span class="emphasis"><em>// <a href="ambiguous_option.html#id2347280-bb">public member functions</a></em></span> |
---|
| 40 | |
---|
| 41 | std::vector< std::string > alternatives; |
---|
| 42 | };</pre></div> |
---|
| 43 | <div class="refsect1" lang="en"> |
---|
| 44 | <a name="id2718642"></a><h2>Description</h2> |
---|
| 45 | <p>Class thrown when there's ambiguity amoung several possible options. </p> |
---|
| 46 | <div class="refsect2" lang="en"> |
---|
| 47 | <a name="id2718649"></a><h3> |
---|
| 48 | <a name="ambiguous_optionconstruct-copy-destruct"></a><code class="computeroutput">ambiguous_option</code> construct/copy/destruct</h3> |
---|
| 49 | <div class="orderedlist"><ol type="1"> |
---|
| 50 | <li><pre class="literallayout"><a name="id2437428-bb"></a>ambiguous_option(<span class="bold"><strong>const</strong></span> std::string & name, |
---|
| 51 | <span class="bold"><strong>const</strong></span> std::vector< std::string > & alternatives);</pre></li> |
---|
| 52 | <li><pre class="literallayout"><a name="id2422470-bb"></a>~ambiguous_option();</pre></li> |
---|
| 53 | </ol></div> |
---|
| 54 | </div> |
---|
| 55 | <div class="refsect2" lang="en"> |
---|
| 56 | <a name="id2718712"></a><h3> |
---|
| 57 | <a name="id2347280-bb"></a><code class="computeroutput">ambiguous_option</code> public member functions</h3> |
---|
| 58 | <div class="orderedlist"><ol type="1"></ol></div> |
---|
| 59 | </div> |
---|
| 60 | </div> |
---|
| 61 | </div> |
---|
| 62 | <table width="100%"><tr> |
---|
| 63 | <td align="left"></td> |
---|
| 64 | <td align="right"><small>Copyright © 2002-2004 Vladimir Prus</small></td> |
---|
| 65 | </tr></table> |
---|
| 66 | <hr> |
---|
| 67 | <div class="spirit-nav"> |
---|
| 68 | <a accesskey="p" href="unknown_option.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="program_options/reference.html#id2399042"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="multiple_values.html"><img src="images/next.png" alt="Next"></a> |
---|
| 69 | </div> |
---|
| 70 | </body> |
---|
| 71 | </html> |
---|