]> SALOME platform Git repositories - modules/kernel.git/blob - src/SALOMEDSClient/SALOMEDSClient_AttributeTableOfReal.hxx
Salome HOME
22df706c4e2986df48e580197d0e8268625804a2
[modules/kernel.git] / src / SALOMEDSClient / SALOMEDSClient_AttributeTableOfReal.hxx
1 //  File   : SALOMEDSClient_AttributeTableOfReal.hxx
2 //  Author : Michael Ponikarov
3 //  Module : SALOME
4
5 #ifndef SALOMEDSClient_AttributeTableOfReal_HeaderFile
6 #define SALOMEDSClient_AttributeTableOfReal_HeaderFile
7
8 #include <vector>
9 #include <string>
10 #include "SALOMEDSClient_definitions.hxx" 
11 #include "SALOMEDSClient_GenericAttribute.hxx" 
12
13 class SALOMEDSClient_AttributeTableOfReal: public virtual SALOMEDSClient_GenericAttribute
14 {
15     
16 public:
17   
18   virtual void SetTitle(const std::string& theTitle) = 0;
19   virtual std::string GetTitle() = 0;
20   virtual void SetRowTitle(int theIndex, const std::string& theTitle) = 0;
21   virtual void SetRowTitles(const std::vector<std::string>& theTitles) = 0;
22   virtual std::vector<std::string> GetRowTitles() = 0;
23   virtual void SetColumnTitle(int theIndex, const std::string& theTitle) = 0;
24   virtual void SetColumnTitles(const std::vector<std::string>& theTitles) = 0;
25   virtual std::vector<std::string> GetColumnTitles() = 0;
26   virtual void SetRowUnit(int theIndex, const std::string& theUnit) = 0;
27   virtual void SetRowUnits(const std::vector<std::string>& theUnits) = 0;
28   virtual std::vector<std::string> GetRowUnits() = 0;
29
30   virtual int GetNbRows() = 0;
31   virtual int GetNbColumns() = 0;
32   virtual void AddRow(const std::vector<double>& theData) = 0;
33   virtual void SetRow(int theRow, const std::vector<double>& theData) = 0;
34   virtual std::vector<double> GetRow(int theRow) = 0; 
35   virtual void AddColumn(const std::vector<double>& theData) = 0;
36   virtual void SetColumn(int theColumn, const std::vector<double>& theData) = 0;
37   virtual std::vector<double> GetColumn(int theColumn) = 0;
38   virtual void PutValue(double theValue, int theRow, int theColumn) = 0;
39   virtual bool HasValue(int theRow, int theColumn) = 0;
40   virtual double GetValue(int theRow, int theColumn) = 0;
41
42   virtual std::vector<int> GetRowSetIndices(int theRow) = 0;
43   virtual void SetNbColumns(int theNbColumns) = 0;
44
45 };
46
47 #endif