Sophie

Sophie

distrib > CentOS > 6 > i386 > media > updates > by-pkgid > 5d98b2995a46d456a9243853c7259619 > files > 37

libcollection-devel-0.5.0-28.el6_0.2.i686.rpm

<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!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"/>
<title>libcollection: Constants defining traverse modes</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.6.1 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Search" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>Constants defining traverse modes<br/>
<small>
[<a class="el" href="group__collection.html">COLLECTION interface</a>]</small>
</h1><table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Modules</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__moreiterflag.html">Additional iterator flags</a></td></tr>
<tr><td colspan="2"><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gafa45dfb84ff1913115c8d8e014da6d36"></a><!-- doxytag: member="traverseconst::COL_TRAVERSE_DEFAULT" ref="gafa45dfb84ff1913115c8d8e014da6d36" args="" -->
#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__traverseconst.html#gafa45dfb84ff1913115c8d8e014da6d36">COL_TRAVERSE_DEFAULT</a>&nbsp;&nbsp;&nbsp;0x00000000</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Traverse all items in the collection. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__traverseconst.html#ga9a36a2d0b7033b6de38179204e0d6e4b">COL_TRAVERSE_ONELEVEL</a>&nbsp;&nbsp;&nbsp;0x00000001</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Traverse only the top level.  <a href="#ga9a36a2d0b7033b6de38179204e0d6e4b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__traverseconst.html#ga86d3337570601f58b54cff7271b442eb">COL_TRAVERSE_END</a>&nbsp;&nbsp;&nbsp;0x00000002</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Insert end collection marker.  <a href="#ga86d3337570601f58b54cff7271b442eb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gae05f70e97f1eb4489a3290875d63658c"></a><!-- doxytag: member="traverseconst::COL_TRAVERSE_IGNORE" ref="gae05f70e97f1eb4489a3290875d63658c" args="" -->
#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__traverseconst.html#gae05f70e97f1eb4489a3290875d63658c">COL_TRAVERSE_IGNORE</a>&nbsp;&nbsp;&nbsp;0x00000004</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Ignore sub collections as if none is present. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__traverseconst.html#ga243cf08b54ee0562f3db43aae9d83900">COL_TRAVERSE_FLAT</a>&nbsp;&nbsp;&nbsp;0x00000008</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Flatten the collection.  <a href="#ga243cf08b54ee0562f3db43aae9d83900"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>The following constants define how a collection can be traversed or iterated.</p>
<p>Flags defined below can generally be combined with each other.</p>
<p><a class="el" href="group__traverseconst.html#ga243cf08b54ee0562f3db43aae9d83900">COL_TRAVERSE_FLAT</a>, <a class="el" href="group__moreiterflag.html#ga81e9a3c29d038571e4b52ab685f9b417">COL_TRAVERSE_SHOWSUB</a>, <a class="el" href="group__moreiterflag.html#gae304668f4d234fdb2b83682be14c8155">COL_TRAVERSE_ONLYSUB</a> are mutually exclusive flags. If combined together results will be unpredictable.<br/>
 <b>DO NOT MIX THEM IN ONE ITERATOR.</b> </p>
<hr/><h2>Define Documentation</h2>
<a class="anchor" id="ga86d3337570601f58b54cff7271b442eb"></a><!-- doxytag: member="collection.h::COL_TRAVERSE_END" ref="ga86d3337570601f58b54cff7271b442eb" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COL_TRAVERSE_END&nbsp;&nbsp;&nbsp;0x00000002</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Insert end collection marker. </p>
<p>Call the handler once more when the end of the collection is reached. Specifying this flag would cause a traversing function to call a callback once more passing in a virtual property of type <a class="el" href="group__coltypes.html#ga57d3248d79fe0ceed54b53958ce8e295">COL_TYPE_END</a>. Good for processing nested collections. </p>

</div>
</div>
<a class="anchor" id="ga243cf08b54ee0562f3db43aae9d83900"></a><!-- doxytag: member="collection.h::COL_TRAVERSE_FLAT" ref="ga243cf08b54ee0562f3db43aae9d83900" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COL_TRAVERSE_FLAT&nbsp;&nbsp;&nbsp;0x00000008</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Flatten the collection. </p>
<p>Traversing this way would act as if all the properties of sub collection are properties of the root collection. The referencing properties or headers of the referenced collections are skipped.</p>
<p>If we think of the book case example this is very useful when one wants to iterate through all the books skipping information about which shelf they are on. </p>

</div>
</div>
<a class="anchor" id="ga9a36a2d0b7033b6de38179204e0d6e4b"></a><!-- doxytag: member="collection.h::COL_TRAVERSE_ONELEVEL" ref="ga9a36a2d0b7033b6de38179204e0d6e4b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COL_TRAVERSE_ONELEVEL&nbsp;&nbsp;&nbsp;0x00000001</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Traverse only the top level. </p>
<p>Traverse only top level ignored if the IGNORE flag is specified </p>

</div>
</div>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Data Structures</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr size="1"/><address style="text-align: right;"><small>Generated on 25 Jun 2011 for libcollection by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>