Changeset 2884 in Sophya for trunk/SophyaLib/BaseTools/mutyv.h
- Timestamp:
- Jan 4, 2006, 2:30:31 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/BaseTools/mutyv.h
r2826 r2884 77 77 operator TimeStamp() const ; 78 78 79 inline uint_2 Convert(uint_2& x) const { x = (uint_2)iv; return x; } 80 inline uint_4 Convert(uint_4& x) const { x = (uint_4)iv; return x; } 81 inline uint_8 Convert(uint_8& x) const { x = (uint_8)iv; return x; } 82 inline int_4 Convert(int_4& x) const { x = (int_4)iv; return x; } 83 inline int_8 Convert(int_8& x) const { x = iv; return x; } 84 inline r_4 Convert(r_4& x) const { x = (r_4)dv; return x; } 85 inline r_8 Convert(r_8& x) const { x = dv; return x; } 86 inline complex<r_4> Convert(complex<r_4> & x) const 87 { x = complex< r_4 > ((r_4)dv, (r_4)dv_im); return x; } 88 inline complex<r_8> Convert(complex<r_8> & x) const 89 { x = complex< r_8 > (dv, dv_im); return x; } 90 91 string& Convert(string& x) const ; 92 TimeStamp& Convert(TimeStamp& x) const ; 93 79 94 inline MTVType Type() const { return typ; } 80 95 inline int_8 GetIntPart() const { return iv; }
Note:
See TracChangeset
for help on using the changeset viewer.