Changeset 404 in Sophya


Ignore:
Timestamp:
Sep 10, 1999, 4:48:55 PM (26 years ago)
Author:
ansari
Message:

Bug ds DVList corrige ds PEIDA Reza 10/9/99

Location:
trunk/SophyaLib/NTools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/NTools/NTools.o.list

    r253 r404  
    3535strutil.o
    3636tabmath.o
     37tmatrix.o
     38tvector.o
    3739utils.o
  • trunk/SophyaLib/NTools/dvlist.cc

    r278 r404  
    281281os << endl;
    282282}
    283 
    284 // Classe pour la gestion de persistance
    285 // ObjFileIO<DVList>
    286283
    287284
     
    319316
    320317
     318//----------------------------------------------------------
     319// Classe pour la gestion de persistance
     320// ObjFileIO<DVList>
     321//----------------------------------------------------------
    321322
    322323/* --Methode-- */
  • trunk/SophyaLib/NTools/dvlist.h

    r278 r404  
    4040  inline MuTyV(float f) { typ = 'D'; mtv.dv = (double)f;  mtv.iv = 0;  mtv.strv[0] ='\0'; }
    4141  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'; }
    4444  inline int_4  operator= (int_4 v)  { typ = 'I'; mtv.iv = v; return(v); }
    4545  inline float  operator= (float v)  { typ = 'D'; mtv.dv = (double)v; return(v); }
Note: See TracChangeset for help on using the changeset viewer.