SceneWalker.h
1 #pragma once
2 
3 #include "GrownKeyPath.h"
4 #include <functional>
5 
6 namespace hio_html_internal
7 {
8  class SceneWalker {
9  public:
10  typedef std::function<bool(GrownKeyPath const & inclPath)> FollowIncludePredicate;
11  typedef std::function<bool(GrownKeyPath const & segPath)> VisitSegPredicate;
12  typedef std::function<void(GrownKeyPath const & segPath)> VisitSegAction;
13 
14  public:
16  FollowIncludePredicate const & followInclPred,
17  VisitSegPredicate const & visitSegPred,
18  VisitSegAction const & visitSegAction);
19 
20  void Walk(HBaseView * view, HC_KEY root);
21 
22  private:
23  void WalkRecursive(GrownKeyPath & keyPath);
24 
25  private:
26  FollowIncludePredicate followInclPred;
27  VisitSegPredicate visitSegPred;
28  VisitSegAction visitSegAction;
29  };
30 }
31 
32 
33 
34 
35 
Definition: SceneWalker.h:8
Definition: GrownKeyPath.h:7
The HBaseView class defines and manages a view of model information.
Definition: HBaseView.h:332
Definition: GrownKeyPath.h:5