1<html> 2<head> 3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4<title>Struct context_generator</title> 5<link rel="stylesheet" href="../../../boostbook.css" type="text/css"> 6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> 7<link rel="home" href="../../../index.html" title="Boost.Test"> 8<link rel="up" href="../../../header/boost/test/framework_hpp.html" title="Header <boost/test/framework.hpp>"> 9<link rel="prev" href="impl/master_t_idm45267287661184.html" title="Struct master_test_suite_name_setter"> 10<link rel="next" href="internal_error.html" title="Struct internal_error"> 11</head> 12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> 13<table cellpadding="2" width="100%"><tr> 14<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td> 15<td align="center"><a href="../../../../../../../index.html">Home</a></td> 16<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td> 17<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> 18<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> 19<td align="center"><a href="../../../../../../../more/index.htm">More</a></td> 20</tr></table> 21<hr> 22<div class="spirit-nav"> 23<a accesskey="p" href="impl/master_t_idm45267287661184.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/test/framework_hpp.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="internal_error.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> 24</div> 25<div class="refentry"> 26<a name="boost.unit_test.framework.context_generator"></a><div class="titlepage"></div> 27<div class="refnamediv"> 28<h2><span class="refentrytitle">Struct context_generator</span></h2> 29<p>boost::unit_test::framework::context_generator</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"><span class="comment">// In header: <<a class="link" href="../../../header/boost/test/framework_hpp.html" title="Header <boost/test/framework.hpp>">boost/test/framework.hpp</a>> 33 34</span> 35<span class="keyword">struct</span> <a class="link" href="context_generator.html" title="Struct context_generator">context_generator</a> <span class="special">{</span> 36 <span class="comment">// <a class="link" href="context_generator.html#boost.unit_test.framework.context_generatorconstruct-copy-destruct">construct/copy/destruct</a></span> 37 <a class="link" href="context_generator.html#idm45267287671248-bb"><span class="identifier">context_generator</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span> 38 39 <span class="comment">// <a class="link" href="context_generator.html#idm45267287674816-bb">public member functions</a></span> 40 <span class="keyword">bool</span> <a class="link" href="context_generator.html#idm45267287674256-bb"><span class="identifier">is_empty</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span> 41 <span class="identifier">const_string</span> <a class="link" href="context_generator.html#idm45267287672848-bb"><span class="identifier">next</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span> 42<span class="special">}</span><span class="special">;</span></pre></div> 43<div class="refsect1"> 44<a name="idm46175619276448"></a><h2>Description</h2> 45<div class="refsect2"> 46<a name="idm46175619276032"></a><h3> 47<a name="boost.unit_test.framework.context_generatorconstruct-copy-destruct"></a><code class="computeroutput">context_generator</code> 48 public 49 construct/copy/destruct</h3> 50<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><pre class="literallayout"><a name="idm45267287671248-bb"></a><span class="identifier">context_generator</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li></ol></div> 51</div> 52<div class="refsect2"> 53<a name="idm46175619270064"></a><h3> 54<a name="idm45267287674816-bb"></a><code class="computeroutput">context_generator</code> public member functions</h3> 55<div class="orderedlist"><ol class="orderedlist" type="1"> 56<li class="listitem"> 57<pre class="literallayout"><span class="keyword">bool</span> <a name="idm45267287674256-bb"></a><span class="identifier">is_empty</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>Is there any context? </li> 58<li class="listitem"> 59<pre class="literallayout"><span class="identifier">const_string</span> <a name="idm45267287672848-bb"></a><span class="identifier">next</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>Give me next frame; empty - last frame. </li> 60</ol></div> 61</div> 62</div> 63</div> 64<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> 65<td align="left"></td> 66<td align="right"><div class="copyright-footer">Copyright © 2001-2020 Boost.Test contributors<p> 67 Distributed under the Boost Software License, Version 1.0. (See accompanying 68 file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) 69 </p> 70</div></td> 71</tr></table> 72<hr> 73<div class="spirit-nav"> 74<a accesskey="p" href="impl/master_t_idm45267287661184.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../header/boost/test/framework_hpp.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="internal_error.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> 75</div> 76</body> 77</html> 78