1 // File : SALOMEDSClient_AttributeTableOfReal.hxx
2 // Author : Michael Ponikarov
5 #ifndef SALOMEDSClient_AttributeTableOfReal_HeaderFile
6 #define SALOMEDSClient_AttributeTableOfReal_HeaderFile
10 #include "SALOMEDSClient_definitions.hxx"
11 #include "SALOMEDSClient_GenericAttribute.hxx"
13 class SALOMEDSClient_AttributeTableOfReal: public virtual SALOMEDSClient_GenericAttribute
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;
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;
42 virtual std::vector<int> GetRowSetIndices(int theRow) = 0;
43 virtual void SetNbColumns(int theNbColumns) = 0;