Salome HOME
Issue 0013373: EDF PAL 273 : Option Single/Multi file dump
[modules/kernel.git] / src / SALOMEDS / SALOMEDS_AttributeTableOfString.hxx
index f7e2207eed2f6159cb89e5fd39ec182ebfa45c45..77670bcf6b70c38c2a76e69eea898c0a71a76598 100644 (file)
@@ -1,4 +1,4 @@
-//  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
+//  Copyright (C) 2007-2010  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 //  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -19,6 +19,7 @@
 //
 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+
 //  File   : SALOMEDS_AttributeTableOfString.hxx
 //  Author : Sergey RUIN
 //  Module : SALOME
@@ -47,13 +48,16 @@ public:
   virtual void SetTitle(const std::string& theTitle);
   virtual std::string GetTitle();
   virtual void SetRowTitle(int theIndex, const std::string& theTitle);
+  virtual std::string GetRowTitle(int theIndex);
   virtual void SetRowTitles(const std::vector<std::string>& theTitles);
   virtual std::vector<std::string> GetRowTitles();
   virtual void SetColumnTitle(int theIndex, const std::string& theTitle);
+  virtual std::string GetColumnTitle(int theIndex);
   virtual void SetColumnTitles(const std::vector<std::string>& theTitles);
   virtual std::vector<std::string> GetColumnTitles();
 
   virtual void SetRowUnit(int theIndex, const std::string& theUnit);
+  virtual std::string GetRowUnit(int theIndex);
   virtual void SetRowUnits(const std::vector<std::string>& theUnits);
   virtual std::vector<std::string> GetRowUnits();
 
@@ -68,10 +72,18 @@ public:
   virtual void PutValue(const std::string& theValue, int theRow, int theColumn);
   virtual bool HasValue(int theRow, int theColumn);
   virtual std::string GetValue(int theRow, int theColumn);
+  virtual void RemoveValue(int theRow, int theColumn);
 
   virtual std::vector<int> GetRowSetIndices(int theRow);
   virtual void SetNbColumns(int theNbColumns);    
 
+  virtual std::vector<int> SortRow(int theRow, SortOrder theOrder, SortPolicy thePolicy);
+  virtual std::vector<int> SortColumn(int theColumn, SortOrder theOrder, SortPolicy thePolicy);
+  virtual std::vector<int> SortByRow(int theRow, SortOrder theOrder, SortPolicy thePolicy);
+  virtual std::vector<int> SortByColumn(int theColumn, SortOrder theOrder, SortPolicy thePolicy);
+  virtual void SwapCells(int theRow1, int theColumn1, int theRow2, int theColumn2);
+  virtual void SwapRows(int theRow1, int theRow2);
+  virtual void SwapColumns(int theColumn1, int theColumn2);
 };
 
 #endif