ITableRow.hpp
1 #ifndef DM_ITABLEROW_HPP_INCLUDED
2 #define DM_ITABLEROW_HPP_INCLUDED
3 
4 #ifdef _MSC_VER
5  #pragma once
6 #endif
7 
8 #include "DM/config.hpp"
9 #include "DM/IColumn.hpp"
10 #include "DM/ITableLayout.hpp"
11 
12 DM_NAMESPACE_BEGIN
13 
14 class DM_API ITableRow
15 {
16 public:
17  virtual const ITableLayout& layout() const = 0;
18 
19  virtual unsigned columns() const = 0;
20 
21  virtual IColumn& column(unsigned index) = 0;
22  virtual const IColumn& column(unsigned index) const = 0;
23 };
24 
25 DM_NAMESPACE_END
26 
27 #endif //DM_ITABLEROW_HPP_INCLUDED