|
Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
21 #ifndef ELM_STREE_MARKERBUILDER_H_
22 #define ELM_STREE_MARKERBUILDER_H_
24 #include <elm/stree/Builder.h>
25 #include <elm/avl/Map.h>
27 namespace elm {
namespace stree {
29 template <
class K,
class T,
class C = Comparator<K> >
34 void add(
const K& mark,
const T& val) {
45 auto iter = marks.pairs().begin();
58 tree.
set(root, nodes);
void make(stree::Tree< K, T, C > &tree)
Definition: MarkerBuilder.h:38
Definition: util_WAHVector.cpp:157
void iter(const C &c, const F &f)
Definition: util.h:95
T2 snd
Definition: Pair.h:36
void set(int _root, node_t *_nodes)
Definition: Tree.h:53
node_t * allocate(t::uint32 n)
Definition: Builder.h:33
void add(const K &mark, const T &val)
Definition: MarkerBuilder.h:34
Definition: MarkerBuilder.h:30
int make(node_t *nodes, int &s, int start, int end)
Definition: Builder.h:38
T data
Definition: Tree.h:48
T1 fst
Definition: Pair.h:35