Changeset 2851 in Sophya for trunk/SophyaLib/HiStats
- Timestamp:
- Nov 21, 2005, 4:14:38 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/HiStats/basedtable.h
r2850 r2851 38 38 inline MuTyV& operator[] (sa_size_t k) { return mtv_[k]; } 39 39 //! Returns the value for column \b colname. 40 inline MuTyV operator[] (string const &colname) const { return get(colname); }40 inline MuTyV operator[] (string const colname) const { return get(colname); } 41 41 //! Returns a reference to the value of column \b k. 42 inline MuTyV& operator[] (string const& colname) { return get(colname); } 43 //! Returns the value for column \b colname. 44 inline MuTyV operator[] (const char* colname) const 45 { string sc(colname); return get(sc); } 46 //! Returns a reference to the value of column \b k. 47 inline MuTyV& operator[] (const char* colname) 48 { string sc(colname); return get(sc); } 42 inline MuTyV& operator[] (string const colname) { return get(colname); } 49 43 //! Returns the value for column \b colname. 50 44 MuTyV get(string const& colname) const;
Note:
See TracChangeset
for help on using the changeset viewer.