Action #1860
Rename GFitsTableCol::length() to GFitsTableCol::nrows()
| Status: | Closed | Start date: | 10/03/2016 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assigned To: | % Done: | 100% | ||
| Category: | - | |||
| Target version: | 1.3.0 | |||
| Duration: |
Description
The method name GFitsTableCol::length() is ambiguous as it is not clear what the length of a column may be. The method should be renamed to GFitsTableCol::nrows() to make clear that the number of rows in a column is meant.
A better name should also be found for the GFitsTableCol::number() method. In principle the GFitsTableCol::elements() method should be used, but this method is already used for variable-length columns.
Recurrence
No recurrence.
Related issues
History
#1
Updated by Knödlseder Jürgen over 9 years ago
- Related to Bug #1831: csiactcopy mistakes FITS columns and rows added
#2
Updated by Knödlseder Jürgen almost 9 years ago
- Status changed from New to In Progress
- Assigned To set to Knödlseder Jürgen
- Target version set to 1.3.0
- % Done changed from 0 to 90
Renamed GFitsTableCol::length() to GFitsTableCol::nrows().
For the moment I have no renamed the GFitsTableCol::number() method since it’s not obvious what a good name for this method should be.
#3
Updated by Knödlseder Jürgen almost 9 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
Merged into devel.