Ignore:
Timestamp:
02/23/01 16:49:26 (24 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mbase
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/MParList.cc

    r609 r651  
    2323ClassImp(MParList)
    2424
    25 MParList::MParList() : fNext(NULL)
     25MParList::MParList()
    2626{
    2727  //
     
    102102}
    103103
    104 TObject *MParList::FindObject(const char *name) const
     104MParContainer *MParList::FindObject(const char *name) const
    105105{
    106106    //
     
    108108    //  'name' is the name of the object you are searching for.
    109109    //
    110     return (TObject*)fContainer.FindObject(name);
     110    return (MParContainer*)fContainer.FindObject(name);
    111111}
    112112
  • trunk/MagicSoft/Mars/mbase/MParList.h

    r609 r651  
    2626{
    2727private:
    28     TIter *fNext;               //!
    2928    TOrdCollection fContainer;  // Collection of Parameter and Data Containers
    3029
     
    3534    ~MParList()
    3635    {
    37         if (fNext)
    38             delete fNext;
    3936    }
    4037
     
    4340    void SetLogStream(MLog *log);
    4441
    45     TObject *FindObject(const char *name) const;
    46 
    47     void Reset()
    48     {
    49         fNext = new TIter(&fContainer);
    50     }
    51 
    52     MParContainer *Next()
    53     {
    54         return (MParContainer*)(*fNext)();
    55     }
     42    MParContainer *FindObject(const char *name) const;
    5643
    5744    void Print(Option_t *t = NULL);
Note: See TracChangeset for help on using the changeset viewer.