<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <title>Open SCAP Library: xccdf_model_iterator Struct Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">Open SCAP Library </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.1.1 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li class="current"><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="classes.html"><span>Data Structure Index</span></a></li> <li><a href="functions.html"><span>Data Fields</span></a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">xccdf_model_iterator Struct Reference<div class="ingroups"><a class="el" href="group__XCCDF.html">XCCDF</a></div></div> </div> </div><!--header--> <div class="contents"> <p>Model iterator. <a href="structxccdf__model__iterator.html#details">More...</a></p> <p><code>#include <<a class="el" href="xccdf__benchmark_8h_source.html">xccdf_benchmark.h</a>></code></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td colspan="2"><div class="groupHeader">Iterators</div></td></tr> <tr class="memitem:gadb96240c3f39370bd7a5e6a2f3039fdb"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gadb96240c3f39370bd7a5e6a2f3039fdb"></a> struct <a class="el" href="structxccdf__model.html">xccdf_model</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF.html#gadb96240c3f39370bd7a5e6a2f3039fdb">xccdf_model_iterator_next</a> (struct <a class="el" href="structxccdf__model__iterator.html">xccdf_model_iterator</a> *it)</td></tr> <tr class="memdesc:gadb96240c3f39370bd7a5e6a2f3039fdb"><td class="mdescLeft"> </td><td class="mdescRight">Return the next <a class="el" href="structxccdf__model.html" title="XCCDF scoring model.">xccdf_model</a> structure from the list and increment the iterator. <br/></td></tr> <tr class="memitem:gadb803d0063f3ec84907e0d5e26a3f182"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gadb803d0063f3ec84907e0d5e26a3f182"></a> bool </td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF.html#gadb803d0063f3ec84907e0d5e26a3f182">xccdf_model_iterator_has_more</a> (struct <a class="el" href="structxccdf__model__iterator.html">xccdf_model_iterator</a> *it)</td></tr> <tr class="memdesc:gadb803d0063f3ec84907e0d5e26a3f182"><td class="mdescLeft"> </td><td class="mdescRight">Return true if the list is not empty, false otherwise. <br/></td></tr> <tr class="memitem:gaec1bc2177c58842096bd7c31744f8e55"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaec1bc2177c58842096bd7c31744f8e55"></a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF.html#gaec1bc2177c58842096bd7c31744f8e55">xccdf_model_iterator_free</a> (struct <a class="el" href="structxccdf__model__iterator.html">xccdf_model_iterator</a> *it)</td></tr> <tr class="memdesc:gaec1bc2177c58842096bd7c31744f8e55"><td class="mdescLeft"> </td><td class="mdescRight">Free the iterator structure (it makes no changes to the list structure) <br/></td></tr> <tr class="memitem:gad9a54793f1b15ed45f379e6522a8cddc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gad9a54793f1b15ed45f379e6522a8cddc"></a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF.html#gad9a54793f1b15ed45f379e6522a8cddc">xccdf_model_iterator_reset</a> (struct <a class="el" href="structxccdf__model__iterator.html">xccdf_model_iterator</a> *it)</td></tr> <tr class="memdesc:gad9a54793f1b15ed45f379e6522a8cddc"><td class="mdescLeft"> </td><td class="mdescRight">Reset the iterator structure (it makes no changes to the list structure) <br/></td></tr> <tr><td colspan="2"><div class="groupHeader">Setters</div></td></tr> <tr><td colspan="2"><div class="groupText"><p>For lists use add functions.</p> <p>Parameters of set functions are duplicated in memory and need to be freed by caller. </p> </div></td></tr> <tr class="memitem:gaef885e28b26c61303baa56691e505368"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__XCCDF.html#gaef885e28b26c61303baa56691e505368">xccdf_model_iterator_remove</a> (struct <a class="el" href="structxccdf__model__iterator.html">xccdf_model_iterator</a> *it)</td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Model iterator. </p> <dl class="section see"><dt>See also:</dt><dd><a class="el" href="structoscap__iterator.html">oscap_iterator</a> </dd></dl> </div><hr/>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="xccdf__benchmark_8h_source.html">xccdf_benchmark.h</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.1.1 </small></address> </body> </html>