- Timestamp:
- 11/02/12 13:39:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STGrid.cpp
r2682 r2684 1940 1940 // explicitly copy subtables since no rows including subtables are 1941 1941 // copied by Table::deepCopy with noRows=True 1942 TableCopy::copySubTables( tab, t ) ; 1942 //TableCopy::copySubTables( tab, t ) ; 1943 const TableRecord &inrec = t.keywordSet(); 1944 TableRecord &outrec = tab.rwKeywordSet(); 1945 for (uInt i = 0 ; i < inrec.nfields() ; i++) { 1946 if (inrec.type(i) == TpTable) { 1947 String name = inrec.name(i); 1948 Table intable = inrec.asTable(name); 1949 Table outtable = outrec.asTable(name); 1950 TableCopy::copyRows(outtable, intable); 1951 } 1952 } 1943 1953 } 1944 1954
Note:
See TracChangeset
for help on using the changeset viewer.