ARB
AP_TreeSet.hxx
Go to the documentation of this file.
1 // =============================================================== //
2 // //
3 // File : AP_TreeSet.hxx //
4 // Purpose : function for sets of tree nodes //
5 // //
6 // Coded by Ralf Westram (coder@reallysoft.de) in January 2017 //
7 // http://www.arb-home.de/ //
8 // //
9 // =============================================================== //
10 
11 #ifndef AP_TREESET_HXX
12 #define AP_TREESET_HXX
13 
14 #ifndef AP_TREE_HXX
15 #include "AP_Tree.hxx"
16 #endif
17 #ifndef _GLIBCXX_SET
18 #include <set>
19 #endif
20 
21 typedef std::set<AP_tree*> AP_tree_set;
22 typedef AP_tree_set::iterator AP_tree_set_iter;
23 typedef AP_tree_set::const_iterator AP_tree_set_citer;
24 
27 
28 #else
29 #error AP_TreeSet.hxx included twice
30 #endif // AP_TREESET_HXX
std::set< AP_tree * > AP_tree_set
Definition: AP_TreeSet.hxx:21
AP_tree_set::const_iterator AP_tree_set_citer
Definition: AP_TreeSet.hxx:23
AP_tree_set::iterator AP_tree_set_iter
Definition: AP_TreeSet.hxx:22
void collect_enclosing_groups(AP_tree *node, AP_tree_set &groups)
Definition: AP_TreeSet.cxx:15
void collect_contained_groups(AP_tree *node, AP_tree_set &groups)
Definition: AP_TreeSet.cxx:36