Changeset 2851 in Sophya


Ignore:
Timestamp:
Nov 21, 2005, 4:14:38 PM (20 years ago)
Author:
ansari
Message:

modif mineure de l'interface DataTableRow suite compil SGI-CC , Reza 21/11/2005

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/HiStats/basedtable.h

    r2850 r2851  
    3838  inline MuTyV&     operator[]  (sa_size_t k)  { return mtv_[k]; }
    3939//! 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); }
    4141//! 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); }
    4943//! Returns the value for column \b colname.
    5044  MuTyV      get(string const& colname) const;
Note: See TracChangeset for help on using the changeset viewer.