1 <HTML> 2 <!-- 3 Copyright (c) Jeremy Siek, Lie-Quan Lee, and Andrew Lumsdaine 2000 4 5 Distributed under the Boost Software License, Version 1.0. 6 (See accompanying file LICENSE_1_0.txt or copy at 7 http://www.boost.org/LICENSE_1_0.txt) 8 --> 9 <Head> 10 <Title>Boost Graph Library: dfs_visitor</Title> 11 <BODY BGCOLOR="#ffffff" LINK="#0000ee" TEXT="#000000" VLINK="#551a8b" 12 ALINK="#ff0000"> 13 <IMG SRC="../../../boost.png" 14 ALT="C++ Boost" width="277" height="86"> 15 16 <BR Clear> 17 18 <H1> 19 <pre> 20 dfs_visitor<EventVisitorList> 21 </pre> 22 </H1> 23 24 This class is an adapter that converts a list of <a 25 href="./EventVisitor.html">EventVisitor</a>s (constructed using 26 <tt>std::pair</tt>) into a <a href="./DFSVisitor.html">DFSVisitor</a>. 27 28 29 <h3>Example</h3> 30 31 See the example for <a href="./EventVisitor.html">EventVisitor</a>. 32 33 <h3>Model of</h3> 34 35 <a href="./DFSVisitor.html">DFSVisitor</a> 36 37 <H3>Template Parameters</H3> 38 39 <P> 40 <TABLE border> 41 <TR> 42 <th>Parameter</th><th>Description</th><th>Default</th> 43 </tr> 44 45 <TR><TD><TT>EventVisitorList</TT></TD> 46 <TD> 47 A list of <a href="./EventVisitor.html">EventVisitor</a>'s created 48 with <tt>std::pair</tt>. 49 </TD> 50 <TD><TT><a href="./null_visitor.html"><tt>null_visitor</tt></a></TT></TD> 51 </TR> 52 53 </table> 54 55 <H3>Where Defined</H3> 56 57 <P> 58 <a href="../../../boost/graph/depth_first_search.hpp"> 59 <TT>boost/graph/depth_first_search.hpp</TT></a> 60 61 <h3>Member Functions</h3> 62 63 This class implements all of the member functions required by <a 64 href="./DFSVisitor.html">DFSVisitor</a>. In each function the 65 appropriate event is dispatched to the <a 66 href="./EventVisitor.html">EventVisitor</a> in the EventVisitorList. 67 68 <h3>Non-Member Functions</h3> 69 70 <table border> 71 <tr> 72 <th>Function</th><th>Description</th> 73 </tr> 74 75 <tr><td><tt> 76 template <class EventVisitorList><br> 77 dfs_visitor<EventVisitorList><br> 78 make_dfs_visitor(EventVisitorList ev_list); 79 </tt></td><td> 80 Returns the event visitor list adapted to be a DFS visitor. 81 </td></tr> 82 83 </table> 84 85 <h3>See Also</h3> 86 87 <a href="./visitor_concepts.html">Visitor concepts</a> 88 <p> 89 The following are event visitors: <a 90 href="./predecessor_recorder.html"><tt>predecessor_recorder</tt></a>, 91 <a href="./distance_recorder.html"><tt>distance_recorder</tt></a>, 92 <a href="./time_stamper.html"><tt>time_stamper</tt></a>, 93 and <a href="./property_writer.html"><tt>property_writer</tt></a>. 94 95 96 <br> 97 <HR> 98 <TABLE> 99 <TR valign=top> 100 <TD nowrap>Copyright © 2000-2001</TD><TD> 101 <A HREF="http://www.boost.org/people/jeremy_siek.htm">Jeremy Siek</A>, 102 Indiana University (<A 103 HREF="mailto:jsiek@osl.iu.edu">jsiek@osl.iu.edu</A>)<br> 104 <A HREF="http://www.boost.org/people/liequan_lee.htm">Lie-Quan Lee</A>, Indiana University (<A HREF="mailto:llee@cs.indiana.edu">llee@cs.indiana.edu</A>)<br> 105 <A HREF="https://homes.cs.washington.edu/~al75">Andrew Lumsdaine</A>, 106 Indiana University (<A 107 HREF="mailto:lums@osl.iu.edu">lums@osl.iu.edu</A>) 108 </TD></TR></TABLE> 109 110 </BODY> 111 </HTML> 112