#ifndef ROOT_TFolder
#define ROOT_TFolder
#ifndef ROOT_TNamed
#include "TNamed.h"
#endif
class TCollection;
class TBrowser;
class TFolder : public TNamed {
protected:
TCollection *fFolders;
Bool_t fIsOwner;
private:
TFolder(const TFolder &folder);
void operator=(const TFolder &);
public:
TFolder();
TFolder(const char *name, const char *title);
virtual ~TFolder();
virtual void Add(TObject *obj);
TFolder *AddFolder(const char *name, const char *title, TCollection *collection=0);
virtual void Browse(TBrowser *b);
virtual void Clear(Option_t *option="");
virtual void Copy(TObject &) const { MayNotUse("Copy(TObject &)"); }
virtual const char *FindFullPathName(const char *name) const;
virtual const char *FindFullPathName(const TObject *obj) const;
virtual TObject *FindObject(const char *name) const;
virtual TObject *FindObject(const TObject *obj) const;
virtual TObject *FindObjectAny(const char *name) const;
TCollection *GetListOfFolders() const { return fFolders; }
Bool_t IsFolder() const { return kTRUE; }
Bool_t IsOwner() const;
virtual void ls(Option_t *option="*") const;
virtual Int_t Occurence(const TObject *obj) const;
virtual void RecursiveRemove(TObject *obj);
virtual void Remove(TObject *obj);
virtual void SaveAs(const char *filename="",Option_t *option="") const;
virtual void SetOwner(Bool_t owner=kTRUE);
ClassDef(TFolder,1)
};
#endif
Last change: Wed Jun 25 08:39:14 2008
Last generated: 2008-06-25 08:39
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.