6#include <istd/IPolymorphic.h>
13class ICollectionHeadersProvider:
virtual public istd::IPolymorphic
21 I_DECLARE_ENUM(FieldType, FT_SCALAR, FT_ARRAY);
28 bool filterable =
true;
29 QByteArray permissionId;
30 FieldType fieldType = FT_SCALAR;
32 bool operator == (
const HeaderInfo& other)
const
34 return (headerId == other.headerId) &&
35 (fieldType == other.fieldType) &&
36 (headerName == other.headerName) &&
37 (sortable == other.sortable) &&
38 (filterable == other.filterable) &&
39 (permissionId == other.permissionId) ;
43 typedef QByteArrayList HeaderIds;
45 virtual HeaderIds GetHeaderIds()
const = 0;
46 virtual bool GetHeaderInfo(
const QByteArray& headerId, HeaderInfo& headerInfo)
const = 0;