Changeset 404 in Sophya
- Timestamp:
- Sep 10, 1999, 4:48:55 PM (26 years ago)
- Location:
- trunk/SophyaLib/NTools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/NTools/NTools.o.list
r253 r404 35 35 strutil.o 36 36 tabmath.o 37 tmatrix.o 38 tvector.o 37 39 utils.o -
trunk/SophyaLib/NTools/dvlist.cc
r278 r404 281 281 os << endl; 282 282 } 283 284 // Classe pour la gestion de persistance285 // ObjFileIO<DVList>286 283 287 284 … … 319 316 320 317 318 //---------------------------------------------------------- 319 // Classe pour la gestion de persistance 320 // ObjFileIO<DVList> 321 //---------------------------------------------------------- 321 322 322 323 /* --Methode-- */ -
trunk/SophyaLib/NTools/dvlist.h
r278 r404 40 40 inline MuTyV(float f) { typ = 'D'; mtv.dv = (double)f; mtv.iv = 0; mtv.strv[0] ='\0'; } 41 41 inline MuTyV(double d) { typ = 'D'; mtv.dv = d; mtv.iv = 0; mtv.strv[0] ='\0'; } 42 inline MuTyV(char const* s) { typ = 'S'; strncpy(mtv.strv, s, 31); mtv.strv[30] = '\0'; mtv.iv = 0; mtv.dv = 0.;}43 inline MuTyV(string const& s) { typ = 'S'; strncpy(mtv.strv, s.c_str(), 31); mtv.strv[30] = '\0'; mtv.iv = 0; mtv.dv = 0.;}42 inline MuTyV(char const* s) { typ = 'S'; strncpy(mtv.strv, s, 31); mtv.strv[30] = '\0'; } 43 inline MuTyV(string const& s) { typ = 'S'; strncpy(mtv.strv, s.c_str(), 31); mtv.strv[30] = '\0'; } 44 44 inline int_4 operator= (int_4 v) { typ = 'I'; mtv.iv = v; return(v); } 45 45 inline float operator= (float v) { typ = 'D'; mtv.dv = (double)v; return(v); }
Note:
See TracChangeset
for help on using the changeset viewer.