Changeset 12722
- Timestamp:
- 12/15/11 10:17:04 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mcore/fits.h
r12714 r12722 342 342 } 343 343 344 bool HasColumn(const string& col) const 345 { 346 return cols.find(col)!=cols.end(); 347 } 348 349 const Columns& getColumns() const 350 { 351 return cols; 352 } 353 354 const Keys& getKeys() const 355 { 356 return keys; 357 } 358 359 360 344 361 // Values of keys are always signed 345 362 template<typename T> … … 697 714 698 715 bool HasKey(const string &key) const { return fTable.HasKey(key); } 716 bool HasColumn(const string& col) const { return fTable.HasColumn(col);} 717 const Table::Columns& getColumns() const { return fTable.getColumns();} 718 const Table::Keys& getKeys() const { return fTable.getKeys();} 719 699 720 int64_t GetInt(const string &key) const { return fTable.Get<int64_t>(key); } 700 721 uint64_t GetUInt(const string &key) const { return fTable.Get<uint64_t>(key); }
Note:
See TracChangeset
for help on using the changeset viewer.