Update of /cvsroot/boost/boost/libs/wave/doc
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv4484/libs/wave/doc
Modified Files:
class_reference_context.html compiletime_config.html
wave_driver.html
Log Message:
Wave: implemented macro introspection iterators.
Index: class_reference_context.html
===================================================================
RCS file: /cvsroot/boost/boost/libs/wave/doc/class_reference_context.html,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- class_reference_context.html 20 Mar 2007 19:19:15 -0000 1.17
+++ class_reference_context.html 27 Jun 2007 01:23:20 -0000 1.18
@@ -92,6 +92,10 @@
bool</span> &is_predefined, position_type &pos,
std::vector<token_type> &parameters,
token_sequence_type &definition) <span
class="keyword">const</span>;
+ name_iterator <a
href="class_reference_context.html#macro_names_iterators">macro_names_begin</a>();
+ name_iterator <a
href="class_reference_context.html#macro_names_iterators">macro_names_end</a>();
+ const_name_iterator <a
href="class_reference_context.html#macro_names_iterators">macro_names_begin</a>()
<span class="keyword">const</span>;
+ const_name_iterator <a
href="class_reference_context.html#macro_names_iterators">macro_names_end</a>()
<span class="keyword">const</span>;
<span class="comment">// other options</span>
<span class="keyword">void</span> <a
href="class_reference_context.html#language_support">set_language</a>(language_support
enable);
@@ -377,6 +381,15 @@
<blockquote>
<p>Resets the macro symbol table to it's initial state, i.e. undefines all
user defined macros and inserts the internal predefined macros as described <a
href="predefined_macros.html">here</a>.</p>
</blockquote>
+<p><a name="macro_names_iterators"></a><b>macro_names_begin, macro_names_end
</b></p>
+<pre> name_iterator <a
href="class_reference_context.html#macro_names_iterators">macro_names_begin</a>();
+ name_iterator <a
href="class_reference_context.html#macro_names_iterators">macro_names_end</a>();
+ const_name_iterator <a
href="class_reference_context.html#macro_names_iterators">macro_names_begin</a>()
<span class="keyword">const</span>;
+ const_name_iterator <a
href="class_reference_context.html#macro_names_iterators">macro_names_end</a>()
<span class="keyword">const</span>;
+</pre>
+<blockquote>
+ <p>The <tt>macro_names_begin</tt> and <tt>macro_names_end</tt> functions
return iterators allowing to iterate on the names of all defined macros.</p>
+</blockquote>
<h3><a name="get_version"></a>Get Version information</h3>
<p><b>get_version</b></p>
<pre><span class="keyword"> </span><span class="keyword">static
std::string</span> get_version(); </pre>
@@ -432,7 +445,8 @@
support_option_single_line = 0x0800,
support_option_prefer_pp_numbers = 0x1000,
support_option_emit_line_directives = 0x2000,
- support_option_include_guard_detection = 0x4000
+ support_option_include_guard_detection = 0x4000,
+ support_option_emit_pragma_directives = 0x8000
};</pre>
<p>When used with <tt>support_option_variadics</tt> the support for
variadics, placemarkers
and the <tt>operator _Pragma()</tt> is enabled in normal C++ mode.
When used with the <tt>support_option_long_long</tt> the support for long long
suffixes is enabled in C++ mode. </p>
@@ -464,6 +478,9 @@
'#' tokens before the <span class="preprocessor">#if</span>/<span
class="preprocessor">#ifndef</span> and after the final <span
class="preprocessor">#endif</span> for the include guard to be recognized.</p>
<p>This flag is on by default, so if you do not want the library to
automatically reconize include guards you will need to reset this explicitely.
</p>
</blockquote>
+ <ul>
+ <li>If the <tt>support_option_emit_pragma_directives</tt> flag is set, the
<tt>Wave</tt> library will emit all unknown <span
class="preprocessor">#pragma</span> directives to the output. This suport
option will be recognized only if the
<tt>BOOST_WAVE_EMIT_PRAGMA_DIRECTIVES</tt> is defined during compilation to a
value not equal to zero (see <a href="compiletime_config.html">here</a> for
more information). </li>
+ </ul>
<p><strong> </strong>If the parameter <tt>reset_macros</tt> is true the
<tt>set_language</tt> function internally resets the list of defined macros, so
please be careful not to call it after you have defined your own macros
already. </p>
</blockquote>
<p><a name="set_max_include_nesting_depth"
id="set_max_include_nesting_depth"></a>set_max_include_nesting_depth<br>
@@ -490,7 +507,7 @@
<font size="2">Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt) </font> </p>
<span class="updated"></span>
<p class="copyright"><span class="updated">Last updated:
- <!-- #BeginDate format:fcAm1m -->Tuesday, March 20, 2007 14:04<!-- #EndDate
-->
+ <!-- #BeginDate format:fcAm1m -->Tuesday, June 26, 2007 20:21<!-- #EndDate
-->
</span>
</p>
<p> </p>
Index: compiletime_config.html
===================================================================
RCS file: /cvsroot/boost/boost/libs/wave/doc/compiletime_config.html,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- compiletime_config.html 20 Dec 2006 16:55:54 -0000 1.10
+++ compiletime_config.html 27 Jun 2007 01:23:21 -0000 1.11
@@ -51,7 +51,7 @@
directives.</p></td>
</tr>
<tr>
- <td
class="table_cells"><code>BOOST_WAVE_RETURN_PRAGMA_DIRECTIVES</code></td>
+ <td class="table_cells"><code>BOOST_WAVE_EMIT_PRAGMA_DIRECTIVES</code></td>
<td class="table_cells"><p>If defined, then the <span
class="preprocessor">#pragma</span>
directives are returned as a token sequence to the caller, if not
defined,
the whole <span class="preprocessor">#pragma</span> directive is
skipped. </p></td>
@@ -215,7 +215,7 @@
<font size="2">Distributed under the Boost Software License, Version 1.0. (See
accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt) </font> </p>
<span class="updated"></span>
<p class="copyright"><span class="updated">Last updated:
- <!-- #BeginDate format:fcAm1m -->Tuesday, May 23, 2006 11:46<!-- #EndDate
-->
+ <!-- #BeginDate format:fcAm1m -->Tuesday, June 26, 2007 20:15<!-- #EndDate
-->
</span></p>
</body>
</html>
Index: wave_driver.html
===================================================================
RCS file: /cvsroot/boost/boost/libs/wave/doc/wave_driver.html,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- wave_driver.html 10 Jan 2007 01:49:22 -0000 1.17
+++ wave_driver.html 27 Jun 2007 01:23:21 -0000 1.18
@@ -57,6 +57,8 @@
--variadics: enable variadics and placemarkers in C++ mode
--c99: enable C99 mode (implies variadics and
placemarkers)
-l [ --listincludes ] arg: list included file to a file [arg] or to
stdout [-]
+ -m [ --macronames ] arg: list names of all defined macros to a file
[arg] or
+ to stdout [-]
-p [ --preserve ] arg (=0): preserve whitespace
0: no whitespace is preserved (default),
1: comments are preserved,
@@ -188,6 +190,10 @@
<blockquote>
<p dir="ltr">Enable the output of the names of all opened include files. The
path specifies the filename to use for the output of the generated include log.
If the filename given equals to <tt>'-'</tt> (without the quotes), the include
log is put into the standard output stream (stdout).</p>
</blockquote>
+<p dir="ltr">-m [--macronames] path</p>
+<blockquote>
+ <p dir="ltr">Enable the output of all defined macros. This includes the
macro names, its parameter names (if the macro is a function like macro) and
its definition. The path specifies the filename to use for the output of the
generated macro list. If the filename given equals to <tt>'-'</tt> (without the
quotes), the macro list is put into the standard output stream (stdout).</p>
+</blockquote>
<p dir="ltr">-p [--preserve] arg </p>
<blockquote>
<p dir="ltr">Preserve the whitespace from the input stream not located
inside of macro definitions. The argument defines the amount of whitespace to
be preserved. A value of '0' (zero) skips all whitespace, a value of '1'
preserves all the comments and a value of '2' will preserve all whitespace in
the output.</p>
@@ -267,7 +273,7 @@
<font size="2">Distributed under the Boost Software License, Version 1.0. (See
accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt) </font> </p>
<span class="updated"></span>
<p class="copyright"><span class="updated">Last updated:
- <!-- #BeginDate format:fcAm1m -->Tuesday, January 9, 2007 19:42<!--
#EndDate -->
+ <!-- #BeginDate format:fcAm1m -->Tuesday, June 26, 2007 20:19<!-- #EndDate
-->
</span></p>
</body>
</html>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs