Fix Next(), it was returning functions from the global scope in addition to the class methods.
Fix Next(), it was returning functions from the global
scope in addition to the class methods.

Fix handling of data members which are cached values
derived from calling member functions of other data
members.  They were not always reset when their master
data member was changed.

-- Paul Russo


git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@24057 27541ba8-7e3a-0410-8455-c3a389f83636

evgeny-boger/root,strykejern/TTreeReader,Dr15Jones/root,tc3t/qoot,gganis/root,nilqed/root,olifre/root,agarciamontoro/root,Y--/root,vukasinmilosevic/root,mhuwiler/rootauto,jrtomps/root,thomaskeck/root,strykejern/TTreeReader,mkret2/root,cxx-hep/root-cern,bbockelm/root,georgtroska/root,gbitzes/root,agarciamontoro/root,lgiommi/root,bbockelm/root,evgeny-boger/root,jrtomps/root,veprbl/root,georgtroska/root,mkret2/root,omazapa/root,omazapa/root-old,CristinaCristescu/root,krafczyk/root,beniz/root,lgiommi/root,alexschlueter/cern-root,arch1tect0r/root,karies/root,vukasinmilosevic/root,strykejern/TTreeReader,Y--/root,zzxuanyuan/root-compressor-dummy,lgiommi/root,Duraznos/root,arch1tect0r/root,esakellari/root,buuck/root,simonpf/root,thomaskeck/root,evgeny-boger/root,cxx-hep/root-cern,abhinavmoudgil95/root,Y--/root,zzxuanyuan/root-compressor-dummy,simonpf/root,CristinaCristescu/root,abhinavmoudgil95/root,nilqed/root,davidlt/root,kirbyherm/root-r-tools,krafczyk/root,agarciamontoro/root,pspe/root,gganis/root,CristinaCristescu/root,sawenzel/root,omazapa/root-old,Duraznos/root,mattkretz/root,0x0all/ROOT,jrtomps/root,simonpf/root,gganis/root,smarinac/root,zzxuanyuan/root,bbockelm/root,cxx-hep/root-cern,simonpf/root,pspe/root,0x0all/ROOT,esakellari/root,Duraznos/root,jrtomps/root,BerserkerTroll/root,omazapa/root-old,mattkretz/root,davidlt/root,mkret2/root,davidlt/root,zzxuanyuan/root,mattkretz/root,esakellari/my_root_for_test,krafczyk/root,kirbyherm/root-r-tools,dfunke/root,sirinath/root,abhinavmoudgil95/root,buuck/root,omazapa/root,perovic/root,satyarth934/root,agarciamontoro/root,veprbl/root,sbinet/cxx-root,perovic/root,arch1tect0r/root,georgtroska/root,davidlt/root,CristinaCristescu/root,sawenzel/root,evgeny-boger/root,beniz/root,zzxuanyuan/root,sirinath/root,jrtomps/root,smarinac/root,BerserkerTroll/root,agarciamontoro/root,agarciamontoro/root,buuck/root,root-mirror/root,sbinet/cxx-root,krafczyk/root,pspe/root,zzxuanyuan/root-compressor-dummy,kirbyherm/root-r-tools,alexschlueter/cern-root,omazapa/root,tc3t/qoot,zzxuanyuan/root,zzxuanyuan/root-compressor-dummy,beniz/root,CristinaCristescu/root,thomaskeck/root,ffurano/root5,sawenzel/root,sawenzel/root,sbinet/cxx-root,jrtomps/root,sirinath/root,buuck/root,Dr15Jones/root,veprbl/root,nilqed/root,krafczyk/root,mhuwiler/rootauto,esakellari/my_root_for_test,buuck/root,root-mirror/root,smarinac/root,gbitzes/root,mkret2/root,zzxuanyuan/root,sbinet/cxx-root,satyarth934/root,mattkretz/root,tc3t/qoot,thomaskeck/root,Y--/root,georgtroska/root,satyarth934/root,lgiommi/root,davidlt/root,nilqed/root,zzxuanyuan/root-compressor-dummy,lgiommi/root,olifre/root,mhuwiler/rootauto,alexschlueter/cern-root,abhinavmoudgil95/root,omazapa/root,satyarth934/root,abhinavmoudgil95/root,kirbyherm/root-r-tools,cxx-hep/root-cern,ffurano/root5,Dr15Jones/root,gganis/root,Duraznos/root,mkret2/root,CristinaCristescu/root,bbockelm/root,evgeny-boger/root,esakellari/my_root_for_test,veprbl/root,dfunke/root,olifre/root,veprbl/root,Y--/root,dfunke/root,vukasinmilosevic/root,dfunke/root,zzxuanyuan/root,cxx-hep/root-cern,Y--/root,nilqed/root,beniz/root,dfunke/root,mhuwiler/rootauto,sbinet/cxx-root,simonpf/root,mattkretz/root,buuck/root,olifre/root,ffurano/root5,root-mirror/root,gbitzes/root,vukasinmilosevic/root,gbitzes/root,smarinac/root,strykejern/TTreeReader,sirinath/root,beniz/root,strykejern/TTreeReader,CristinaCristescu/root,simonpf/root,lgiommi/root,sawenzel/root,dfunke/root,root-mirror/root,arch1tect0r/root,abhinavmoudgil95/root,omazapa/root-old,georgtroska/root,veprbl/root,smarinac/root,Duraznos/root,ffurano/root5,nilqed/root,nilqed/root,CristinaCristescu/root,sbinet/cxx-root,abhinavmoudgil95/root,gbitzes/root,krafczyk/root,olifre/root,esakellari/root,gganis/root,thomaskeck/root,BerserkerTroll/root,beniz/root,nilqed/root,0x0all/ROOT,bbockelm/root,veprbl/root,perovic/root,vukasinmilosevic/root,evgeny-boger/root,mhuwiler/rootauto,gbitzes/root,agarciamontoro/root,sawenzel/root,simonpf/root,omazapa/root,mattkretz/root,kirbyherm/root-r-tools,jrtomps/root,ffurano/root5,Y--/root,lgiommi/root,cxx-hep/root-cern,root-mirror/root,gbitzes/root,omazapa/root,sirinath/root,sirinath/root,BerserkerTroll/root,krafczyk/root,arch1tect0r/root,karies/root,zzxuanyuan/root,olifre/root,tc3t/qoot,kirbyherm/root-r-tools,gbitzes/root,olifre/root,sawenzel/root,Duraznos/root,satyarth934/root,root-mirror/root,smarinac/root,omazapa/root-old,buuck/root,thomaskeck/root,esakellari/root,gganis/root,sirinath/root,pspe/root,bbockelm/root,perovic/root,gganis/root,davidlt/root,vukasinmilosevic/root,olifre/root,satyarth934/root,arch1tect0r/root,perovic/root,pspe/root,bbockelm/root,pspe/root,gganis/root,simonpf/root,vukasinmilosevic/root,mattkretz/root,CristinaCristescu/root,mkret2/root,esakellari/root,bbockelm/root,smarinac/root,esakellari/my_root_for_test,zzxuanyuan/root-compressor-dummy,tc3t/qoot,sbinet/cxx-root,gganis/root,perovic/root,buuck/root,gbitzes/root,satyarth934/root,dfunke/root,gbitzes/root,veprbl/root,mattkretz/root,thomaskeck/root,root-mirror/root,tc3t/qoot,lgiommi/root,olifre/root,thomaskeck/root,nilqed/root,perovic/root,olifre/root,karies/root,arch1tect0r/root,pspe/root,buuck/root,esakellari/root,lgiommi/root,esakellari/my_root_for_test,0x0all/ROOT,tc3t/qoot,sawenzel/root,karies/root,gganis/root,perovic/root,CristinaCristescu/root,Duraznos/root,esakellari/my_root_for_test,sawenzel/root,zzxuanyuan/root-compressor-dummy,jrtomps/root,vukasinmilosevic/root,Y--/root,georgtroska/root,BerserkerTroll/root,lgiommi/root,0x0all/ROOT,veprbl/root,davidlt/root,sawenzel/root,esakellari/root,mattkretz/root,satyarth934/root,kirbyherm/root-r-tools,krafczyk/root,BerserkerTroll/root,dfunke/root,buuck/root,Y--/root,Dr15Jones/root,omazapa/root,thomaskeck/root,beniz/root,buuck/root,0x0all/ROOT,Duraznos/root,omazapa/root-old,pspe/root,karies/root,abhinavmoudgil95/root,BerserkerTroll/root,zzxuanyuan/root-compressor-dummy,mhuwiler/rootauto,omazapa/root,perovic/root,BerserkerTroll/root,satyarth934/root,omazapa/root,root-mirror/root,Y--/root,agarciamontoro/root,omazapa/root,omazapa/root-old,davidlt/root,vukasinmilosevic/root,arch1tect0r/root,veprbl/root,evgeny-boger/root,alexschlueter/cern-root,esakellari/root,esakellari/root,zzxuanyuan/root-compressor-dummy,mkret2/root,ffurano/root5,krafczyk/root,sbinet/cxx-root,Duraznos/root,jrtomps/root,perovic/root,BerserkerTroll/root,omazapa/root-old,pspe/root,krafczyk/root,tc3t/qoot,nilqed/root,georgtroska/root,bbockelm/root,vukasinmilosevic/root,Duraznos/root,smarinac/root,0x0all/ROOT,vukasinmilosevic/root,Dr15Jones/root,jrtomps/root,satyarth934/root,mhuwiler/rootauto,karies/root,davidlt/root,karies/root,arch1tect0r/root,zzxuanyuan/root-compressor-dummy,evgeny-boger/root,arch1tect0r/root,esakellari/root,bbockelm/root,strykejern/TTreeReader,mkret2/root,sawenzel/root,0x0all/ROOT,tc3t/qoot,esakellari/my_root_for_test,root-mirror/root,sbinet/cxx-root,cxx-hep/root-cern,omazapa/root-old,simonpf/root,mhuwiler/rootauto,perovic/root,beniz/root,omazapa/root-old,zzxuanyuan/root,alexschlueter/cern-root,mattkretz/root,agarciamontoro/root,zzxuanyuan/root,root-mirror/root,georgtroska/root,Dr15Jones/root,mhuwiler/rootauto,mattkretz/root,mkret2/root,BerserkerTroll/root,ffurano/root5,sirinath/root,sirinath/root,omazapa/root-old,dfunke/root,veprbl/root,georgtroska/root,thomaskeck/root,gbitzes/root,sbinet/cxx-root,agarciamontoro/root,georgtroska/root,mhuwiler/rootauto,sbinet/cxx-root,Y--/root,omazapa/root,simonpf/root,BerserkerTroll/root,CristinaCristescu/root,abhinavmoudgil95/root,pspe/root,gganis/root,bbockelm/root,olifre/root,tc3t/qoot,esakellari/my_root_for_test,beniz/root,arch1tect0r/root,karies/root,krafczyk/root,dfunke/root,georgtroska/root,mkret2/root,evgeny-boger/root,evgeny-boger/root,agarciamontoro/root,karies/root,alexschlueter/cern-root,lgiommi/root,beniz/root,0x0all/ROOT,smarinac/root,strykejern/TTreeReader,alexschlueter/cern-root,smarinac/root,root-mirror/root,zzxuanyuan/root-compressor-dummy,abhinavmoudgil95/root,Dr15Jones/root,simonpf/root,esakellari/root,mhuwiler/rootauto,zzxuanyuan/root,karies/root,zzxuanyuan/root,zzxuanyuan/root,jrtomps/root,evgeny-boger/root,davidlt/root,esakellari/my_root_for_test,abhinavmoudgil95/root,esakellari/my_root_for_test,dfunke/root,davidlt/root,sirinath/root,satyarth934/root,Duraznos/root,mkret2/root,beniz/root,sirinath/root,nilqed/root,cxx-hep/root-cern,karies/root,pspe/root