19 #ifndef itkCSVArray2DDataObject_h
20 #define itkCSVArray2DDataObject_h
46 template <
typename TData>
72 itkSetMacro(HasColumnHeaders,
bool);
73 itkSetMacro(HasRowHeaders,
bool);
74 itkBooleanMacro(HasColumnHeaders);
75 itkBooleanMacro(HasRowHeaders);
79 itkGetConstMacro(HasColumnHeaders,
bool);
80 itkGetConstMacro(HasRowHeaders,
bool);
88 GetColumnHeaders()
const;
92 GetRowHeaders()
const;
96 GetRowIndexByName(
const std::string &)
const;
100 GetColumnIndexByName(
const std::string &)
const;
104 GetRow(
const std::string &)
const;
108 GetRow(
const unsigned int &)
const;
112 GetColumn(
const std::string &)
const;
116 GetColumn(
const unsigned int &)
const;
121 GetData(
const std::string &,
const std::string &)
const;
126 GetData(
const unsigned int &,
const unsigned int &)
const;
131 GetColumnData(
const std::string &,
const unsigned int &)
const;
136 GetRowData(
const std::string &,
const unsigned int &)
const;
141 operator()(
const std::string &,
const std::string &)
const;
146 operator()(
const unsigned int &,
const unsigned int &)
const;
150 SetMatrixSize(
unsigned int,
unsigned int);
154 FillMatrix(TData value);
159 SetMatrixData(
unsigned int,
unsigned int, TData);
163 RowHeadersPushBack(
const std::string &);
167 ColumnHeadersPushBack(
const std::string &);
171 EraseFirstColumnHeader();
178 PrintSelf(std::ostream & os,
Indent indent)
const override;
184 bool m_HasRowHeaders{
false };
185 bool m_HasColumnHeaders{
false };
190 #ifndef ITK_MANUAL_INSTANTIATION
191 # include "itkCSVArray2DDataObject.hxx"