1 // File : SALOMEDSClient_AttributeTableOfString.hxx
2 // Author : Sergey RUIN
5 #ifndef SALOMEDSClient_AttributeTableOfString_HeaderFile
6 #define SALOMEDSClient_AttributeTableOfString_HeaderFile
10 #include "SALOMEDSClient_definitions.hxx"
11 #include "SALOMEDSClient_GenericAttribute.hxx"
13 class SALOMEDSClient_AttributeTableOfString: public virtual SALOMEDSClient_GenericAttribute
17 virtual void SetTitle(const std::string& theTitle) = 0;
18 virtual std::string GetTitle() = 0;
19 virtual void SetRowTitle(int theIndex, const std::string& theTitle) = 0;
20 virtual void SetRowTitles(const std::vector<std::string>& theTitles) = 0;
21 virtual std::vector<std::string> GetRowTitles() = 0;
22 virtual void SetColumnTitle(int theIndex, const std::string& theTitle) = 0;
23 virtual void SetColumnTitles(const std::vector<std::string>& theTitles) = 0;
24 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<std::string>& theData) = 0;
33 virtual void SetRow(int theRow, const std::vector<std::string>& theData) = 0;
34 virtual std::vector<std::string> GetRow(int theRow) = 0;
35 virtual void AddColumn(const std::vector<std::string>& theData) = 0;
36 virtual void SetColumn(int theColumn, const std::vector<std::string>& theData) = 0;
37 virtual std::vector<std::string> GetColumn(int theColumn) = 0;
38 virtual void PutValue(const std::string& theValue, int theRow, int theColumn) = 0;
39 virtual bool HasValue(int theRow, int theColumn) = 0;
40 virtual std::string GetValue(int theRow, int theColumn) = 0;
42 virtual std::vector<int> GetRowSetIndices(int theRow) = 0;
43 virtual void SetNbColumns(int theNbColumns) = 0;