Index: trunk/Mars/mcore/fits.h
===================================================================
--- trunk/Mars/mcore/fits.h	(revision 12714)
+++ trunk/Mars/mcore/fits.h	(revision 12722)
@@ -342,4 +342,21 @@
         }
 
+        bool HasColumn(const string& col) const
+        {
+            return cols.find(col)!=cols.end();
+        }
+
+        const Columns& getColumns() const
+        {
+            return cols;
+        }
+
+        const Keys& getKeys() const
+        {
+            return keys;
+        }
+
+
+
             // Values of keys are always signed
         template<typename T>
@@ -697,4 +714,8 @@
 
     bool     HasKey(const string &key) const { return fTable.HasKey(key); }
+    bool     HasColumn(const string& col) const { return fTable.HasColumn(col);}
+    const Table::Columns& getColumns() const { return fTable.getColumns();}
+    const Table::Keys& getKeys() const { return fTable.getKeys();}
+
     int64_t  GetInt(const string &key) const { return fTable.Get<int64_t>(key); }
     uint64_t GetUInt(const string &key) const { return fTable.Get<uint64_t>(key); }
