Changeset 3572 in Sophya for trunk/SophyaLib/BaseTools/dvlist.cc
- Timestamp:
- Feb 7, 2009, 10:50:34 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/BaseTools/dvlist.cc
r3233 r3572 115 115 /* --Methode-- */ 116 116 /*! Copy constructor - Object initialized using the PPF file \b flnm */ 117 DVList::DVList(c har *flnm)117 DVList::DVList(const char *flnm) 118 118 { 119 119 PInPersist s(flnm); … … 192 192 // int_8 GetI(string const& key, int_8 def=-1) 193 193 // r_8 GetD(string const& key, r_8 def=-9.e19) 194 // string GetS(string const& key, c har* def="")194 // string GetS(string const& key, const char* def="") 195 195 // Retourne la valeur de la variable de nom "key" et de type entier, réél, 196 196 // chaine de caracteres. … … 245 245 /*! Returns the value corresponding to name \b key, converted to string 246 246 Default value \b def is returned if name \b key not found */ 247 string DVList::GetS(string const& key, c har* def) const247 string DVList::GetS(string const& key, const char* def) const 248 248 { 249 249 ValList::const_iterator it = mvlist.find(key); … … 265 265 // void SetD(string const& key, r_8 val) 266 266 // void SetZ(string const& key, complex<r_8> val) 267 // void SetS(string const& key, c har* val)267 // void SetS(string const& key, const char* val) 268 268 // void SetS(string const& key, string val) 269 269 // Crée la variable de nom "key", de type entier, double, complexe, string et … … 322 322 /* --Methode-- */ 323 323 /*! Appends or sets the string value \b val in the list with name \b key */ 324 void DVList::SetS(string const& key, c har const* val)324 void DVList::SetS(string const& key, const char * val) 325 325 { 326 326 MuTyV div(val);
Note:
See TracChangeset
for help on using the changeset viewer.