Changeset 8398 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 04/12/07 12:47:20 (18 years ago)
- Location:
- trunk/MagicSoft/Mars/mbase
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MArrayB.h
r7808 r8398 111 111 } 112 112 113 void Reset(Byte_t v) 114 { 115 for (Byte_t *b=fArray; b<fArray+fN; b++) 116 *b = v; 117 } 118 119 113 120 void Set(UInt_t n) 114 121 { -
trunk/MagicSoft/Mars/mbase/MArrayD.h
r8129 r8398 96 96 } 97 97 98 void Reset(Double_t v) 99 { 100 for (Double_t *d=fArray; d<fArray+fN; d++) 101 *d = v; 102 } 103 98 104 void Set(UInt_t n) 99 105 { -
trunk/MagicSoft/Mars/mbase/MArrayF.h
r8129 r8398 96 96 } 97 97 98 void Reset(Float_t f)98 void Reset(Float_t v) 99 99 { 100 for ( UInt_t i=0; i<fN; i++)101 fArray[i] = f;100 for (Float_t *f=fArray; f<fArray+fN; f++) 101 *f = v; 102 102 } 103 103 -
trunk/MagicSoft/Mars/mbase/MArrayI.h
r7808 r8398 95 95 } 96 96 97 void Reset(Int_t v) 98 { 99 for (Int_t *i=fArray; i<fArray+fN; i++) 100 *i = v; 101 } 102 97 103 void Set(UInt_t n) 98 104 { -
trunk/MagicSoft/Mars/mbase/MArrayS.h
r7808 r8398 103 103 } 104 104 105 void Reset(UShort_t v) 106 { 107 for (UShort_t *s=fArray; s<fArray+fN; s++) 108 *s = v; 109 } 110 105 111 void Set(UInt_t n) 106 112 {
Note:
See TracChangeset
for help on using the changeset viewer.