Ignore:
Timestamp:
11/21/05 11:09:12 (19 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

    r6915 r7413  
    6262// --------------------------------------------------------------------------
    6363//
    64 //  default constructor
    6564//  creates an empty list
    6665//
    67 MParList::MParList(const char *name, const char *title)
     66void MParList::Init(const char *name, const char *title)
    6867{
    6968    fName  = name  ? name  : gsDefName.Data();
     
    8382}
    8483
     84
     85// --------------------------------------------------------------------------
     86//
     87//  default constructor
     88//  creates an empty list
     89//
     90MParList::MParList(const char *name, const char *title)
     91{
     92    Init(name, title);
     93}
     94
    8595// --------------------------------------------------------------------------
    8696//
     
    90100//  entries)
    91101//
    92 MParList::MParList(MParList &ts)
    93 {
     102MParList::MParList(const MParList &ts, const char *name, const char *title)
     103{
     104    Init(name, title);
     105
    94106    fContainer->AddAll(ts.fContainer);
    95107}
  • trunk/MagicSoft/Mars/mbase/MParList.h

    r4828 r7413  
    3737    void StreamPrimitive(ofstream &out) const;
    3838
     39    void Init(const char *name, const char *title);
     40
    3941public:
    4042    enum { kDoNotReset = BIT(17), kIsProcessing = BIT(18) };
    4143
    4244    MParList(const char *name=NULL, const char *title=NULL);
    43     MParList(MParList &ts);
     45    MParList(const MParList &ts, const char *name=NULL, const char *title=NULL);
    4446
    4547    virtual ~MParList();
Note: See TracChangeset for help on using the changeset viewer.