1 // File : SALOMEDS_AttributeTableOfReal.hxx
2 // Author : Sergey RUIN
5 #ifndef SALOMEDS_AttributeTableOfReal_HeaderFile
6 #define SALOMEDS_AttributeTableOfReal_HeaderFile
8 #include "SALOMEDSClient_AttributeTableOfReal.hxx"
9 #include "SALOMEDS_GenericAttribute.hxx"
10 #include "SALOMEDSImpl_AttributeTableOfReal.hxx"
13 #include <SALOMEconfig.h>
14 #include CORBA_SERVER_HEADER(SALOMEDS)
15 #include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
19 class SALOMEDS_AttributeTableOfReal: public SALOMEDS_GenericAttribute, public SALOMEDSClient_AttributeTableOfReal
22 SALOMEDS_AttributeTableOfReal(const Handle(SALOMEDSImpl_AttributeTableOfReal)& theAttr);
23 SALOMEDS_AttributeTableOfReal(SALOMEDS::AttributeTableOfReal_ptr theAttr);
24 ~SALOMEDS_AttributeTableOfReal();
26 virtual void SetTitle(const std::string& theTitle);
27 virtual std::string GetTitle();
28 virtual void SetRowTitle(int theIndex, const std::string& theTitle);
29 virtual void SetRowTitles(const std::vector<std::string>& theTitles);
30 virtual std::vector<std::string> GetRowTitles();
31 virtual void SetColumnTitle(int theIndex, const std::string& theTitle);
32 virtual void SetColumnTitles(const std::vector<std::string>& theTitles);
33 virtual std::vector<std::string> GetColumnTitles();
35 virtual void SetRowUnit(int theIndex, const std::string& theUnit);
36 virtual void SetRowUnits(const std::vector<std::string>& theUnits);
37 virtual std::vector<std::string> GetRowUnits();
39 virtual int GetNbRows();
40 virtual int GetNbColumns();
41 virtual void AddRow(const std::vector<double>& theData);
42 virtual void SetRow(int theRow, const std::vector<double>& theData);
43 virtual std::vector<double> GetRow(int theRow);
44 virtual void AddColumn(const std::vector<double>& theData);
45 virtual void SetColumn(int theColumn, const std::vector<double>& theData);
46 virtual std::vector<double> GetColumn(int theColumn);
47 virtual void PutValue(double theValue, int theRow, int theColumn);
48 virtual bool HasValue(int theRow, int theColumn);
49 virtual double GetValue(int theRow, int theColumn);
51 virtual std::vector<int> GetRowSetIndices(int theRow);
52 virtual void SetNbColumns(int theNbColumns);