Changeset 11744 for trunk/FACT++/src
- Timestamp:
- 08/02/11 20:21:41 (13 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/FitsFile.cc
r11738 r11744 132 132 fIsOwner = true; 133 133 134 return true; 135 } 136 137 void FitsFile::ResetColumns() 138 { 134 139 fColNames.clear(); 135 140 fColTypes.clear(); 136 141 fColUnits.clear(); 137 138 return true;139 142 } 140 143 … … 152 155 fFile = file; 153 156 fIsOwner = false; 154 155 fColNames.clear();156 fColTypes.clear();157 fColUnits.clear();158 157 159 158 return true; … … 193 192 // Set this as last - we use it for IsOpen() 194 193 fTable = table; 194 fNumRows = 0; 195 195 196 196 return true; -
trunk/FACT++/src/FitsFile.h
r11738 r11744 44 44 AddColumn(type, name, 1, unit); 45 45 } 46 47 void ResetColumns(); 46 48 47 49 bool OpenFile(const string &filename, bool allow_open=false);
Note:
See TracChangeset
for help on using the changeset viewer.