Lines Matching defs:TreeTy
68 typedef ImutAVLTree<ValInfo> TreeTy;
71 TreeTy* Root;
78 explicit ImmutableMap(const TreeTy* R) : Root(const_cast<TreeTy*>(R)) {
100 typename TreeTy::Factory F;
112 TreeTy *T = F.add(Old.Root, std::pair<key_type,data_type>(K,D));
117 TreeTy *T = F.remove(Old.Root,K);
121 typename TreeTy::Factory *getTreeFactory() const {
122 return const_cast<typename TreeTy::Factory *>(&F);
142 TreeTy *getRoot() const {
147 TreeTy *getRootWithoutRetain() const { return Root; }
207 explicit iterator(TreeTy *Tree) : iterator::ImutAVLValueIterator(Tree) {}
220 TreeTy* T = Root->find(K);
260 typedef ImutAVLTree<ValInfo> TreeTy;
261 typedef typename TreeTy::Factory FactoryTy;
264 TreeTy *Root;
272 explicit ImmutableMapRef(const TreeTy *R, FactoryTy *F)
273 : Root(const_cast<TreeTy *>(R)), Factory(F) {
324 TreeTy *NewT = Factory->add(Root, std::pair<key_type, data_type>(K, D));
329 TreeTy *NewT = Factory->remove(Root, K);
366 explicit iterator(TreeTy *Tree) : iterator::ImutAVLValueIterator(Tree) {}
379 TreeTy* T = Root->find(K);