Changeset 1225 in Sophya for trunk/SophyaLib/BaseTools/dvlist.cc


Ignore:
Timestamp:
Oct 11, 2000, 7:27:23 PM (25 years ago)
Author:
ansari
Message:

Ajout de datatype.cc .h , correction ds MuTyV et DVList - CMV+Reza 11/10/2000

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/BaseTools/dvlist.cc

    r1157 r1225  
    199199ValList::const_iterator it = mvlist.find(key);
    200200if (it == mvlist.end())  return(def);
    201 return((*it).second.elval.iv);
     201return( (int_8)((*it).second.elval) );
    202202}
    203203
     
    209209ValList::const_iterator it = mvlist.find(key);
    210210if (it == mvlist.end())  return(def);
    211 return((*it).second.elval.dv);
     211return( (r_8)((*it).second.elval) );
    212212}
    213213
     
    219219ValList::const_iterator it = mvlist.find(key);
    220220if (it == mvlist.end())  return(def);
    221 return((*it).second.elval.dv);
     221return( (complex<r_8>)((*it).second.elval) );
    222222}
    223223
     
    229229ValList::const_iterator it = mvlist.find(key);
    230230if (it == mvlist.end())  return(def);
    231 return(*((*it).second.elval.strv));
     231return( (string)((*it).second.elval) );
    232232}
    233233
Note: See TracChangeset for help on using the changeset viewer.