Changeset 654 for trunk/MagicSoft/Mars/mbase/MArray.h
- Timestamp:
- 03/01/01 15:56:58 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MArray.h
r458 r654 21 21 { 22 22 protected: 23 Int_t fN; // Number of array elements23 UInt_t fN; // Number of array elements 24 24 25 25 public: 26 26 MArray() { fN = 0; } 27 MArray( Int_t n){ fN = n; }27 MArray(UInt_t n) { fN = n; } 28 28 MArray(const MArray &a) { fN = a.fN; } 29 29 virtual ~MArray() { fN = 0; } … … 31 31 MArray &operator=(const MArray &rhs) { fN = rhs.fN; return *this; } 32 32 33 Int_tGetSize() const { return fN; }34 virtual void Set( Int_t n) = 0;33 UInt_t GetSize() const { return fN; } 34 virtual void Set(UInt_t n) = 0; 35 35 36 36 ClassDef(MArray, 1) //Abstract array base class for TObject derived Arrays
Note:
See TracChangeset
for help on using the changeset viewer.