Home | History | Annotate | Download | only in ADT

Lines Matching defs:TreeTy

71   typedef ImutAVLTree<ValInfo>              TreeTy;
74 TreeTy* Root;
81 explicit ImmutableMap(const TreeTy* R) : Root(const_cast<TreeTy*>(R)) {
103 typename TreeTy::Factory F;
118 TreeTy *T = F.add(Old.Root, std::pair<key_type,data_type>(K,D));
123 TreeTy *T = F.remove(Old.Root,K);
127 typename TreeTy::Factory *getTreeFactory() const {
128 return const_cast<typename TreeTy::Factory *>(&F);
144 TreeTy *getRoot() const {
149 TreeTy *getRootWithoutRetain() const { return Root; }
211 explicit iterator(TreeTy *Tree) : iterator::ImutAVLValueIterator(Tree) {}
223 TreeTy* T = Root->find(K);
263 typedef ImutAVLTree<ValInfo> TreeTy;
264 typedef typename TreeTy::Factory FactoryTy;
267 TreeTy *Root;
275 explicit ImmutableMapRef(const TreeTy *R, FactoryTy *F)
276 : Root(const_cast<TreeTy *>(R)), Factory(F) {
327 TreeTy *NewT = Factory->add(Root, std::pair<key_type, data_type>(K, D));
332 TreeTy *NewT = Factory->remove(Root, K);
371 explicit iterator(TreeTy *Tree) : iterator::ImutAVLValueIterator(Tree) {}
383 TreeTy* T = Root->find(K);