Add the following comments in TDirectory::Get // //  VERY IMPORTANT NOTE: //  In case the class of this object derives from TObject but not //  as a first inheritance, one must cast the return value twice. //  Example1: Normal case: //      class MyClass : public TObject, public AnotherClass //   then on return, one can do: //    MyClass *obj = (MyClass*)directory->Get("some object of MyClass"); // //  Example2: Special case: //      class MyClass : public AnotherClass, public TObject //   then on return, one must do: //    MyClass *obj = (MyClass*)((void*)directory->Get("some object of MyClass"); //
Add the following comments in TDirectory::Get
//
//  VERY IMPORTANT NOTE:
//  In case the class of this object derives from TObject but not
//  as a first inheritance, one must cast the return value twice.
//  Example1: Normal case:
//      class MyClass : public TObject, public AnotherClass
//   then on return, one can do:
//    MyClass *obj = (MyClass*)directory->Get("some object of MyClass");
//
//  Example2: Special case:
//      class MyClass : public AnotherClass, public TObject
//   then on return, one must do:
//    MyClass *obj = (MyClass*)((void*)directory->Get("some object of MyClass");
//


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

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