/*!\class TContainer
\author Alexandre A. P. Suaide 
*/
#ifndef TContainer_HH

#define TContainer_HH

#include "TObject.h"

#include "TList.h"

#define MAXTRASHSIZE 100


class TContainer : public TObject
{
  private:    
    TList            *mTrash;
    int              mSize;
                
  public:
                     TContainer();
    virtual         ~TContainer();
    
    void             empty(); 
    void             purge();
    void             remove(char*); 
    void             remove(TObject*); 
    void             add(TObject*); 
    
    TList*           getList()         { return mTrash;}
    int              getSize()         { return mTrash->GetSize();}
    int              getSizeMax()      { return mSize;}    
    TObject*         get(char*);
    
    void             setSizeMax(int a) { mSize = a;}
   
  ClassDef(TContainer,1)
};

#endif



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.