Changeset 3432 in Sophya
- Timestamp:
- Dec 11, 2007, 2:49:55 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/nomhistadapter.cc
r3221 r3432 582 582 return string(buff); 583 583 } 584 else return "NTuple.Att: nlines/nentry/nrows nvar/ncols"; 584 else if (opts[0] == "info") { // Acces aux valeurs stockes ds le DVList Info() 585 if (opts.size() < 2) return string(""); 586 else if (mNt->Info().HasKey(opts[1]) == false) return string(""); 587 else return mNt->Info().GetS(opts[1]); 588 } 589 else if (opts[0] == "row") { // Pour recuperer une ligne de la table 590 if (opts.size() < 2) return string(""); 591 sa_size_t num = atol(opts[1].c_str()); 592 return mNt->LineToString(num); 593 } 594 else return "NTuple.Att: nlines/nentry/nrows nvar/ncols info.varname row.num"; 585 595 } 586 596 … … 763 773 } 764 774 765 else return "BaseDataTable.Att: nlines/nentry/nrows nvar/ncols info.varname row.num 775 else return "BaseDataTable.Att: nlines/nentry/nrows nvar/ncols info.varname row.num"; 766 776 } 767 777
Note:
See TracChangeset
for help on using the changeset viewer.