Changeset 7413 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 11/21/05 11:09:12 (19 years ago)
- Location:
- trunk/MagicSoft/Mars/mbase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MParList.cc
r6915 r7413 62 62 // -------------------------------------------------------------------------- 63 63 // 64 // default constructor65 64 // creates an empty list 66 65 // 67 MParList::MParList(const char *name, const char *title)66 void MParList::Init(const char *name, const char *title) 68 67 { 69 68 fName = name ? name : gsDefName.Data(); … … 83 82 } 84 83 84 85 // -------------------------------------------------------------------------- 86 // 87 // default constructor 88 // creates an empty list 89 // 90 MParList::MParList(const char *name, const char *title) 91 { 92 Init(name, title); 93 } 94 85 95 // -------------------------------------------------------------------------- 86 96 // … … 90 100 // entries) 91 101 // 92 MParList::MParList(MParList &ts) 93 { 102 MParList::MParList(const MParList &ts, const char *name, const char *title) 103 { 104 Init(name, title); 105 94 106 fContainer->AddAll(ts.fContainer); 95 107 } -
trunk/MagicSoft/Mars/mbase/MParList.h
r4828 r7413 37 37 void StreamPrimitive(ofstream &out) const; 38 38 39 void Init(const char *name, const char *title); 40 39 41 public: 40 42 enum { kDoNotReset = BIT(17), kIsProcessing = BIT(18) }; 41 43 42 44 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); 44 46 45 47 virtual ~MParList();
Note:
See TracChangeset
for help on using the changeset viewer.