27 #ifndef SALOMEDS_AttributeTableOfReal_HeaderFile
28 #define SALOMEDS_AttributeTableOfReal_HeaderFile
35 #include <SALOMEconfig.h>
36 #include CORBA_SERVER_HEADER(SALOMEDS)
37 #include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
48 virtual void SetTitle(
const std::string& theTitle);
50 virtual void SetRowTitle(
int theIndex,
const std::string& theTitle);
52 virtual void SetRowTitles(
const std::vector<std::string>& theTitles);
54 virtual void SetColumnTitle(
int theIndex,
const std::string& theTitle);
56 virtual void SetColumnTitles(
const std::vector<std::string>& theTitles);
59 virtual void SetRowUnit(
int theIndex,
const std::string& theUnit);
61 virtual void SetRowUnits(
const std::vector<std::string>& theUnits);
66 virtual void AddRow(
const std::vector<double>& theData);
67 virtual void SetRow(
int theRow,
const std::vector<double>& theData);
68 virtual std::vector<double>
GetRow(
int theRow);
69 virtual void AddColumn(
const std::vector<double>& theData);
70 virtual void SetColumn(
int theColumn,
const std::vector<double>& theData);
71 virtual std::vector<double>
GetColumn(
int theColumn);
72 virtual void PutValue(
double theValue,
int theRow,
int theColumn);
73 virtual bool HasValue(
int theRow,
int theColumn);
74 virtual double GetValue(
int theRow,
int theColumn);
75 virtual void RemoveValue(
int theRow,
int theColumn);
84 virtual void SwapCells(
int theRow1,
int theColumn1,
int theRow2,
int theColumn2);
85 virtual void SwapRows(
int theRow1,
int theRow2);
86 virtual void SwapColumns(
int theColumn1,
int theColumn2);