diff options
Diffstat (limited to 'doc/html/id1006469.html')
-rw-r--r-- | doc/html/id1006469.html | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/doc/html/id1006469.html b/doc/html/id1006469.html new file mode 100644 index 0000000000..f65347f519 --- /dev/null +++ b/doc/html/id1006469.html @@ -0,0 +1,52 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>Function parse_environment</title> +<link rel="stylesheet" href="boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.68.1"> +<link rel="start" href="index.html" title="The Boost C++ Libraries"> +<link rel="up" href="program_options/reference.html#id695585" title="Header <boost/program_options/parsers.hpp>"> +<link rel="prev" href="id938144.html" title="Function parse_environment"> +<link rel="next" href="id682992.html" title="Class positional_options_description"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"> +<td valign="top"><img alt="boost.png (6897 bytes)" width="277" height="86" src="../../boost.png"></td> +<td align="center"><a href="../../index.htm">Home</a></td> +<td align="center"><a href="../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="../../people/people.htm">People</a></td> +<td align="center"><a href="../../more/faq.htm">FAQ</a></td> +<td align="center"><a href="../../more/index.htm">More</a></td> +</table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="id938144.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="program_options/reference.html#id695585"><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="id682992.html"><img src="images/next.png" alt="Next"></a> +</div> +<div class="refentry" lang="en"> +<a name="id1006469"></a><div class="titlepage"></div> +<div class="refnamediv"> +<h2><span class="refentrytitle">Function parse_environment</span></h2> +<p>boost::program_options::parse_environment — </p> +</div> +<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2> +<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"> +<span class="type">BOOST_PROGRAM_OPTIONS_DECL parsed_options</span> +parse_environment(<span class="bold"><strong>const</strong></span> <a href="options_description.html" title="Class options_description">options_description</a> & , <span class="bold"><strong>const</strong></span> std::string & prefix); +<span class="type">BOOST_PROGRAM_OPTIONS_DECL parsed_options</span> +parse_environment(<span class="bold"><strong>const</strong></span> <a href="options_description.html" title="Class options_description">options_description</a> & , <span class="bold"><strong>const</strong></span> <span class="bold"><strong>char</strong></span> * prefix);</pre></div> +<div class="refsect1" lang="en"> +<a name="id1255524"></a><h2>Description</h2> +<p>Parse environment.</p> +<p>Takes all environment variables which start with 'prefix'. The option name is obtained from variable name by removing the prefix and converting the remaining string into lower case. </p> +</div> +</div> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> +<td align="left"></td> +<td align="right"><small>Copyright © 2002-2004 Vladimir Prus</small></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="id938144.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="program_options/reference.html#id695585"><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="id682992.html"><img src="images/next.png" alt="Next"></a> +</div> +</body> +</html> |