Changeset 8961 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 06/15/08 20:10:34 (17 years ago)
- Location:
- trunk/MagicSoft/Mars/mbase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MStatusArray.cc
r8484 r8961 56 56 57 57 using namespace std; 58 59 // -------------------------------------------------------------------------- 60 // 61 // Initialize the MStatusArray from an MStatusDisplay. Note, the contents 62 // still owned by MStatusDisplay and will vanish if the display changes 63 // or is deleted without further notice. 64 // 65 MStatusArray::MStatusArray(const MStatusDisplay &d) : TObjArray() 66 { 67 d.FillArray(*this); 68 } 58 69 59 70 // -------------------------------------------------------------------------- … … 256 267 void MStatusArray::Print(Option_t *option) const 257 268 { 258 const TString opt(option);259 260 PrintObjectsInPad(this, opt);269 gLog << all; 270 271 PrintObjectsInPad(this, TString(option)); 261 272 } 262 273 -
trunk/MagicSoft/Mars/mbase/MStatusArray.h
r8299 r8961 28 28 public: 29 29 MStatusArray() : TObjArray() { } 30 MStatusArray(const MStatusDisplay &d); 30 31 31 32 TObject *DisplayIn(Option_t *o=0) const; // *MENU* … … 39 40 40 41 void Print(Option_t *o="") const; 41 void Print(Option_t *wildcard, Option_t *) const 42 { 43 Print(wildcard); 44 } 42 void Print(const Option_t *o, Option_t *) const { Print(o); } 45 43 46 44 TObject *FindObject(const char *object, const char *base) const;
Note:
See TracChangeset
for help on using the changeset viewer.