1 #ifndef CSM_WOLRD_NESTEDINFOCOLLECTION_H
2 #define CSM_WOLRD_NESTEDINFOCOLLECTION_H
11 struct NestedTableWrapperBase;
13 template<
typename ESXRecordT>
14 class NestedColumnAdapter;
18 std::map<const ColumnBase*, NestedColumnAdapter<Info>* >
mAdapters;
27 virtual void addNestedRow(
int row,
int column,
int position);
31 virtual QVariant
getNestedData(
int row,
int column,
int subRow,
int subColumn)
const;
33 virtual void setNestedData(
int row,
int column,
const QVariant& data,
int subRow,
int subColumn);
50 #endif // CSM_WOLRD_NESTEDINFOCOLLECTION_H
Definition: nestedtablewrapper.hpp:6
virtual int getNestedColumnsCount(int row, int column) const
Definition: nestedinfocollection.cpp:100
NestedInfoCollection()
Definition: nestedinfocollection.cpp:7
virtual void setNestedTable(int row, int column, const NestedTableWrapperBase &nestedTable)
Definition: nestedinfocollection.cpp:82
Definition: columnbase.hpp:167
Definition: infocollection.hpp:14
const NestedColumnAdapter< Info > & getAdapter(const ColumnBase &column) const
Definition: nestedinfocollection.cpp:25
virtual void removeNestedRows(int row, int column, int subRow)
Definition: nestedinfocollection.cpp:46
virtual NestedTableWrapperBase * nestedTable(int row, int column) const
Definition: nestedinfocollection.cpp:75
virtual void addNestedRow(int row, int column, int position)
Definition: nestedinfocollection.cpp:36
virtual NestableColumn * getNestableColumn(int column)
Definition: nestedinfocollection.cpp:106
~NestedInfoCollection()
Definition: nestedinfocollection.cpp:10
Definition: nestedinfocollection.hpp:16
virtual void setNestedData(int row, int column, const QVariant &data, int subRow, int subColumn)
Definition: nestedinfocollection.cpp:63
virtual QVariant getNestedData(int row, int column, int subRow, int subColumn) const
Definition: nestedinfocollection.cpp:56
virtual int getNestedRowsCount(int row, int column) const
Definition: nestedinfocollection.cpp:94
Definition: columnbase.hpp:15
void addAdapter(std::pair< const ColumnBase *, NestedColumnAdapter< Info > * > adapter)
Definition: nestedinfocollection.cpp:19
std::map< const ColumnBase *, NestedColumnAdapter< Info > * > mAdapters
Definition: nestedinfocollection.hpp:18
Definition: nestedcollection.hpp:13