Lines Matching defs:TreeTy
69 typedef ImutAVLTree<ValInfo> TreeTy;
72 TreeTy* Root;
79 explicit ImmutableMap(const TreeTy* R) : Root(const_cast<TreeTy*>(R)) {
98 typename TreeTy::Factory F;
111 TreeTy *T = F.add(Old.Root, std::pair<key_type,data_type>(K,D));
116 TreeTy *T = F.remove(Old.Root,K);
120 typename TreeTy::Factory *getTreeFactory() const {
121 return const_cast<typename TreeTy::Factory *>(&F);
141 TreeTy *getRoot() const {
146 TreeTy *getRootWithoutRetain() const {
207 typename TreeTy::iterator itr;
210 iterator(TreeTy* t) : itr(t) {}
234 TreeTy* T = Root->find(K);
274 typedef ImutAVLTree<ValInfo> TreeTy;
275 typedef typename TreeTy::Factory FactoryTy;
278 TreeTy *Root;
286 explicit ImmutableMapRef(const TreeTy* R, FactoryTy *F)
287 : Root(const_cast<TreeTy*>(R)),
322 TreeTy *NewT = Factory->add(Root, std::pair<key_type, data_type>(K, D));
327 TreeTy *NewT = Factory->remove(Root, K);
360 typename TreeTy::iterator itr;
363 iterator(TreeTy* t) : itr(t) {}
387 TreeTy* T = Root->find(K);