Changeset 2692 in Sophya for trunk/SophyaLib/BaseTools
- Timestamp:
- Apr 26, 2005, 2:05:16 PM (20 years ago)
- Location:
- trunk/SophyaLib/BaseTools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/BaseTools/segdatablock.h
r2660 r2692 192 192 return (*this); 193 193 } 194 //! Equal operator. Clones and copie values from \b a 195 inline SegDataBlock<T>& operator = (const SegDataBlock<T> & a) 196 { 197 Clone(a, true); 198 return (*this); 199 } 194 200 195 201 //! ASCII formatted output (print) -
trunk/SophyaLib/BaseTools/swsegdb.h
r2660 r2692 113 113 return mSRef->buff; 114 114 } 115 116 //! Equal operator. Shares the data with \b a 117 inline SwSegDataBlock<T>& operator = (const SwSegDataBlock<T>& a) 118 { 119 Delete(); 120 mSRef = a.mSRef; 121 mSRef->nref++; 122 } 123 115 124 //! Return the position tag (swap position) table 116 125 std::vector< int_8 > & GetSwapPosTagTable() const
Note:
See TracChangeset
for help on using the changeset viewer.