- Timestamp:
- Nov 21, 2005, 12:20:52 PM (20 years ago)
- Location:
- trunk/SophyaLib/HiStats
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/HiStats/basedtable.cc
r2849 r2850 11 11 of the table. 12 12 */ 13 DataTableRow::DataTableRow( vector<string> & colnames )13 DataTableRow::DataTableRow( vector<string> const& colnames ) 14 14 { 15 15 if (colnames.size() < 1) … … 204 204 DataTableRow BaseDataTable::EmptyRow() 205 205 { 206 if (NCols == 0)206 if (NCols() == 0) 207 207 throw ParmError("BaseDataTable::EmptyRow() Table has no column !"); 208 208 vector<string> nms; 209 209 for(sa_size_t k=0; k<NVar(); k++) nms.push_back(mNames[k].nom); 210 return DataTableRow(nms); 210 DataTableRow row(nms); 211 return row; 211 212 } 212 213 -
trunk/SophyaLib/HiStats/basedtable.h
r2849 r2850 30 30 public: 31 31 //! Constructor - For use by BaseDataTable class 32 DataTableRow( vector<string> & colnames );32 DataTableRow( vector<string> const & colnames ); 33 33 //! Copy constructor 34 34 DataTableRow( DataTableRow const & a );
Note:
See TracChangeset
for help on using the changeset viewer.