Changeset 3572 in Sophya for trunk/SophyaLib/BaseTools/dvlist.h
- Timestamp:
- Feb 7, 2009, 10:50:34 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/BaseTools/dvlist.h
r2826 r3572 25 25 DVList(); 26 26 DVList(const DVList&); 27 DVList(c har *flnm);27 DVList(const char *flnm); 28 28 29 29 virtual ~DVList(); … … 35 35 36 36 //! Returns the number of elements (variables) in DVList object 37 inline int Size(){ return(mvlist.size()); }37 inline size_t Size() const { return(mvlist.size()); } 38 38 //! Returns the number of elements (variables) in DVList object 39 inline int NVar(){ return(mvlist.size()); }39 inline size_t NVar() const { return(mvlist.size()); } 40 40 41 41 int_8 GetI(string const& key, int_8 def=-1) const; 42 42 r_8 GetD(string const& key, r_8 def=-9.e19) const; 43 43 complex<r_8> GetZ(string const& key, complex<r_8> def=-9.e19) const; 44 string GetS(string const& key, c har* def="") const;44 string GetS(string const& key, const char* def="") const; 45 45 string GetComment(string const& key) const; 46 46 … … 51 51 void SetD(string const& key, r_8 val); 52 52 void SetZ(string const& key, complex<r_8> val); 53 void SetS(string const& key, c har const* val);53 void SetS(string const& key, const char * val); 54 54 void SetS(string const& key, string const& val); 55 55 void SetT(string const& key, TimeStamp const& val);
Note:
See TracChangeset
for help on using the changeset viewer.