Changeset 1517 in Sophya for trunk/SophyaLib/TArray/tarray.cc
- Timestamp:
- Jun 12, 2001, 6:21:13 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/TArray/tarray.cc
r1393 r1517 131 131 : BaseArray() , mNDBlock(a.mNDBlock, share) 132 132 { 133 if (a.NbDimensions() == 0) return; 133 134 string exmsg = "TArray<T>::TArray(const TArray<T>&, bool)"; 134 135 if (!UpdateSizes(a, exmsg)) throw( ParmError(exmsg) ); … … 141 142 : BaseArray() , mNDBlock() 142 143 { 144 if (a.NbDimensions() == 0) return; 143 145 string exmsg = "TArray<T>::TArray(const BaseArray&)"; 144 146 if (!UpdateSizes(a, exmsg)) throw( ParmError(exmsg) ); … … 256 258 */ 257 259 template <class T> 258 void TArray<T>::ReSize(const TArray<T>& a)260 void TArray<T>::ReSize(const BaseArray& a) 259 261 { 260 262 if (arrtype_ != 0) { … … 1031 1033 } 1032 1034 1035 //! Fill the array, decoding the ASCII input stream 1036 /*! 1037 \param is : input stream (ASCII) 1038 */ 1039 template <class T> 1040 void TArray<T>::ReadASCII(istream& is) 1041 { 1042 cerr << " TArray<T>::ReadASCII() - Pas encore implemente - Reza 12/6/2001 " << endl; 1043 } 1044 1045 //! Writes the array content to the output stream, (in ASCII) 1046 /*! 1047 \param os : output stream (ASCII) 1048 */ 1049 template <class T> 1050 void TArray<T>::WriteASCII(ostream& os) const 1051 { 1052 Print(os, Size(), true); 1053 } 1054 1033 1055 1034 1056
Note:
See TracChangeset
for help on using the changeset viewer.