1 // File : SALOMEDSClient_AttributeTableOfInteger.hxx
2 // Author : Sergey RUIN
5 #ifndef SALOMEDSClient_AttributeTableOfInteger_HeaderFile
6 #define SALOMEDSClient_AttributeTableOfInteger_HeaderFile
10 #include "SALOMEDSClient_definitions.hxx"
11 #include "SALOMEDSClient_GenericAttribute.hxx"
13 class SALOMEDSClient_AttributeTableOfInteger: 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;
27 virtual void SetRowUnit(int theIndex, const std::string& theUnit) = 0;
28 virtual void SetRowUnits(const std::vector<std::string>& theUnits) = 0;
29 virtual std::vector<std::string> GetRowUnits() = 0;
31 virtual int GetNbRows() = 0;
32 virtual int GetNbColumns() = 0;
33 virtual void AddRow(const std::vector<int>& theData) = 0;
34 virtual void SetRow(int theRow, const std::vector<int>& theData) = 0;
35 virtual std::vector<int> GetRow(int theRow) = 0;
36 virtual void AddColumn(const std::vector<int>& theData) = 0;
37 virtual void SetColumn(int theColumn, const std::vector<int>& theData) = 0;
38 virtual std::vector<int> GetColumn(int theColumn) = 0;
39 virtual void PutValue(int theValue, int theRow, int theColumn) = 0;
40 virtual bool HasValue(int theRow, int theColumn) = 0;
41 virtual int GetValue(int theRow, int theColumn) = 0;
43 virtual std::vector<int> GetRowSetIndices(int theRow) = 0;
44 virtual void SetNbColumns(int theNbColumns) = 0;