#include "TSelectorList.h"

TSelectorList


class description - source file - inheritance tree (.pdf)

class TSelectorList : public TList

Inheritance Chart:
TObject
<-
TCollection
<-
TSeqCollection
<-
TList
<-
TSelectorList
    private:
Bool_t CheckDuplicateName(TObject* obj) Bool_t UnsetDirectory(TObject* obj) public:
TSelectorList() ~TSelectorList() virtual void AddAfter(const TObject* after, TObject* obj) virtual void AddAfter(TObjLink* after, TObject* obj) virtual void AddAt(TObject* obj, Int_t idx) virtual void AddBefore(const TObject* before, TObject* obj) virtual void AddBefore(TObjLink* before, TObject* obj) virtual void AddFirst(TObject* obj) virtual void AddFirst(TObject* obj, Option_t* opt) virtual void AddLast(TObject* obj) virtual void AddLast(TObject* obj, Option_t* opt) static TClass* Class() virtual TClass* IsA() const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members




Class Description

                                                                      
 TSelectorList                                                        
                                                                      
 A TList derived class that makes sure that objects added to it       
 are not linked to the currently open file (like histograms,          
 eventlists and trees). Also it makes sure the name of the added      
 object is unique. This class is used in the TSelector for the        
 output list.                                                         
                                                                      


Bool_t UnsetDirectory(TObject *obj)
 If the class of obj has the SetDirectory(TDirectory*) method
 call it to unset the directory assiciation. The objects in the
 selector list or owned by the list and not by the directory that
 was active when they were created. Returns true in case of success.

Bool_t CheckDuplicateName(TObject *obj)
 Check for duplicate object names in the list. If an object with
 the same name is added then the merge function will fail that will
 look up objects in different output lists by name. Returns true
 in case name is unique.

void AddFirst(TObject *obj)
 Add at the start of the list

void AddFirst(TObject *obj, Option_t *opt)
 Add at the start of the list

void AddLast(TObject *obj)
 Add at the end of the list

void AddLast(TObject *obj, Option_t *opt)
 Add at the end of the list

void AddAt(TObject *obj, Int_t idx)
 Add to the list.

void AddAfter(const TObject *after, TObject *obj)
 Add to the list.

void AddAfter(TObjLink *after, TObject *obj)
 Add to the list.

void AddBefore(const TObject *before, TObject *obj)
 Add to the list.

void AddBefore(TObjLink *before, TObject *obj)
 Add to the list.



Inline Functions


                 void ~TSelectorList()
        TSelectorList TSelectorList()
              TClass* Class()
              TClass* IsA() const
                 void ShowMembers(TMemberInspector& insp, char* parent)
                 void Streamer(TBuffer& b)
                 void StreamerNVirtual(TBuffer& b)


Author: Fons Rademakers 10/08/95
Last update: root/cont:$Name: $:$Id: TSelectorList.cxx,v 1.2 2005/11/11 22:16:04 pcanal Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.