source: tags/ms_r18q1/SL/AP_TREE/AP_TreeSet.hxx

Last change on this file was 15703, checked in by westram, 7 years ago
File size: 1.1 KB
Line 
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
21typedef std::set<AP_tree*>          AP_tree_set;
22typedef AP_tree_set::iterator       AP_tree_set_iter;
23typedef AP_tree_set::const_iterator AP_tree_set_citer;
24
25void collect_enclosing_groups(AP_tree *node, AP_tree_set& groups);
26void collect_contained_groups(AP_tree *node, AP_tree_set& groups);
27
28#else
29#error AP_TreeSet.hxx included twice
30#endif // AP_TREESET_HXX
Note: See TracBrowser for help on using the repository browser.