Changeset 2975 in Sophya for trunk/SophyaPI/PIext/nomhistadapter.cc
- Timestamp:
- Jun 20, 2006, 6:04:51 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/nomhistadapter.cc
r2933 r2975 103 103 104 104 /* --Methode-- */ 105 void NOMAdapter_Histo::Print(ostream& os) 106 { 107 mHis->Print(60); 105 void NOMAdapter_Histo::Print(ostream& os, int lev) 106 { 107 mHis->Show(os); 108 if (lev > 0) mHis->Print(60); 108 109 } 109 110 … … 275 276 276 277 /* --Methode-- */ 277 void NOMAdapter_Histo2D::Print(ostream& os) 278 { 279 mHis->Print(); 278 void NOMAdapter_Histo2D::Print(ostream& os, int lev) 279 { 280 mHis->Show(os); 281 if (lev > 0) mHis->Print(); 280 282 } 281 283 … … 465 467 466 468 /* --Methode-- */ 467 void NOMAdapter_NTuple::Print(ostream& os )468 { 469 os << mNt->Info();470 os << *(mNt);469 void NOMAdapter_NTuple::Print(ostream& os, int lev) 470 { 471 mNt->Show(os); 472 if (lev > 0) os << mNt->Info(); 471 473 } 472 474 … … 530 532 531 533 /* --Methode-- */ 532 void NOMAdapter_XNTuple::Print(ostream& os )534 void NOMAdapter_XNTuple::Print(ostream& os, int lev) 533 535 { 534 536 // os << mNt->Info(); … … 614 616 615 617 /* --Methode-- */ 616 void NOMAdapter_DataTable::Print(ostream& os )618 void NOMAdapter_DataTable::Print(ostream& os, int lev) 617 619 { 618 620 mDT->Show(os); 621 if (lev < 1) return; 622 if (lev < 5) mDT->Print(os, 0, lev*10); 623 else mDT->Print(os); 619 624 } 620 625
Note:
See TracChangeset
for help on using the changeset viewer.