Salome HOME
ADD a end user module (services.py) to help the manipulation of SALOME KERNEL service...
[modules/kernel.git] / src / SALOMEDSClient / SALOMEDSClient_AttributeTableOfString.hxx
index b7cee8b3d563e84ce0734ceb7aa3ff082fc954c8..48cf94818c93ae2d7b71ba51e18f7f2d74d25ac6 100644 (file)
@@ -1,53 +1,40 @@
-// Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+// Copyright (C) 2007-2011  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
-// 
+//
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
-// License as published by the Free Software Foundation; either 
+// License as published by the Free Software Foundation; either
 // version 2.1 of the License.
-// 
-// This library is distributed in the hope that it will be useful 
-// but WITHOUT ANY WARRANTY; without even the implied warranty of 
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 // Lesser General Public License for more details.
 //
-// You should have received a copy of the GNU Lesser General Public  
-// License along with this library; if not, write to the Free Software 
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+
 //  File   : SALOMEDSClient_AttributeTableOfString.hxx
 //  Author : Sergey RUIN
 //  Module : SALOME
-
+//
 #ifndef SALOMEDSClient_AttributeTableOfString_HeaderFile
 #define SALOMEDSClient_AttributeTableOfString_HeaderFile
 
 #include <vector>
 #include <string>
 #include "SALOMEDSClient_definitions.hxx" 
-#include "SALOMEDSClient_GenericAttribute.hxx" 
+#include "SALOMEDSClient_AttributeTable.hxx" 
 
-class SALOMEDSClient_AttributeTableOfString: public virtual SALOMEDSClient_GenericAttribute
+class SALOMEDSClient_AttributeTableOfString: public SALOMEDSClient_AttributeTable
 {    
 public:
-
-  virtual void SetTitle(const std::string& theTitle) = 0;
-  virtual std::string GetTitle() = 0;
-  virtual void SetRowTitle(int theIndex, const std::string& theTitle) = 0;
-  virtual void SetRowTitles(const std::vector<std::string>& theTitles) = 0;
-  virtual std::vector<std::string> GetRowTitles() = 0;
-  virtual void SetColumnTitle(int theIndex, const std::string& theTitle) = 0;
-  virtual void SetColumnTitles(const std::vector<std::string>& theTitles) = 0;
-  virtual std::vector<std::string> GetColumnTitles() = 0; 
-
-  virtual void SetRowUnit(int theIndex, const std::string& theUnit) = 0;
-  virtual void SetRowUnits(const std::vector<std::string>& theUnits) = 0;
-  virtual std::vector<std::string> GetRowUnits() = 0;
-
-  virtual int GetNbRows() = 0;
-  virtual int GetNbColumns() = 0;
   virtual void AddRow(const std::vector<std::string>& theData) = 0;
   virtual void SetRow(int theRow, const std::vector<std::string>& theData) = 0;
   virtual std::vector<std::string> GetRow(int theRow) = 0;
@@ -55,12 +42,7 @@ public:
   virtual void SetColumn(int theColumn, const std::vector<std::string>& theData) = 0;
   virtual std::vector<std::string> GetColumn(int theColumn) = 0;
   virtual void PutValue(const std::string& theValue, int theRow, int theColumn) = 0;
-  virtual bool HasValue(int theRow, int theColumn) = 0;
   virtual std::string GetValue(int theRow, int theColumn) = 0;
-
-  virtual std::vector<int> GetRowSetIndices(int theRow) = 0;
-  virtual void SetNbColumns(int theNbColumns) = 0;
-
 };
 
-#endif
+#endif // SALOMEDSClient_AttributeTableOfString_HeaderFile