Elm  1.0
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
AVLTree.h
1 /*
2  * Deprecated header.
3  *
4  * This file is part of OTAWA
5  * Copyright (c) 2008-13, IRIT UPS.
6  *
7  * OTAWA is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * OTAWA is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with OTAWA; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20  */
21 #ifndef ELM_GENSTRUCT_AVLTREE_H
22 #define ELM_GENSTRUCT_AVLTREE_H
23 
24 #include <elm/avl/Set.h>
25 
26 namespace elm { namespace genstruct {
27 
29 protected:
30  inline AbstractAVLTree(void) { }
31 };
32 
33 template <class T, class K = IdAdapter<T>, class C = elm::Comparator<typename K::t> >
34 class GenAVLTree: public avl::GenTree<T, K, C> {
35 };
36 
37 template <class T, class C = elm::Comparator<T> >
38 class AVLTree: public avl::Set<T, C> {
39 };
40 
41 } } // elm::genstruct
42 
43 #endif // ELM_AVLTREE_AVLTREE_H
Definition: AVLTree.h:38
Definition: AVLTree.h:28
Definition: Set.h:29
Definition: AVLTree.h:34
AbstractAVLTree(void)
Definition: AVLTree.h:30
Definition: GenTree.h:54
Definition: GenTree.h:33