30 : m_supportPrimaryKey(false),
31 m_supportUniqueKey(false),
32 m_supportForeignKey(false),
33 m_supportSequence(false),
34 m_supportCheckConstraints(false),
35 m_supportIndex(false),
36 m_supportRTreeIndex(false),
37 m_supportBTreeIndex(false),
38 m_supportHashIndex(false),
39 m_supportQuadTreeIndex(false),
40 m_supportAddColumn(false),
41 m_supportRemoveColumn(false),
42 m_supportDataEdition(false)
52 return m_supportPrimaryKey;
57 m_supportPrimaryKey = support;
62 return m_supportUniqueKey;
67 m_supportUniqueKey = support;
72 return m_supportForeignKey;
77 m_supportForeignKey = support;
82 return m_supportSequence;
87 m_supportSequence = support;
92 return m_supportCheckConstraints;
97 m_supportCheckConstraints = support;
102 return m_supportIndex;
107 m_supportIndex = support;
112 return m_supportRTreeIndex;
117 m_supportRTreeIndex = support;
122 return m_supportBTreeIndex;
127 m_supportBTreeIndex = support;
132 return m_supportHashIndex;
137 m_supportHashIndex = support;
142 return m_supportQuadTreeIndex;
147 m_supportQuadTreeIndex = support;
152 m_supportPrimaryKey =
true;
153 m_supportUniqueKey =
true;
154 m_supportForeignKey =
true;
155 m_supportSequence =
true;
156 m_supportCheckConstraints =
true;
157 m_supportIndex =
true;
158 m_supportRTreeIndex =
true;
159 m_supportBTreeIndex =
true;
160 m_supportHashIndex =
true;
161 m_supportQuadTreeIndex =
true;
162 m_supportAddColumn =
true;
163 m_supportRemoveColumn =
true;
164 m_supportDataEdition =
true;
169 return m_supportAddColumn;
174 m_supportAddColumn = support;
179 return m_supportRemoveColumn;
184 m_supportRemoveColumn = support;
189 return m_supportDataEdition;
194 m_supportDataEdition = support;
void setSupportForeingKey(const bool &support)
bool supportsAddColumn() const
void setSupportSequence(const bool &support)
void setSupportIndex(const bool &support)
void setSupportDataEdition(const bool &support)
bool supportsQuadTreeIndex() const
void setSupportCheckConstraints(const bool &support)
bool supportsRemoveColumn() const
void setSupportQuadTreeIndex(const bool &support)
~DataSetTypeCapabilities()
Destructor.
void setSupportAddColumn(const bool &support)
bool supportsHashIndex() const
bool supportsPrimaryKey() const
bool supportsBTreeIndex() const
bool supportsDataEdition() const
bool supportsForeignKey() const
bool supportsIndex() const
A class that informs what kind of constraint and index is supported by a given data source...
void setSupportUniqueKey(const bool &support)
bool supportsUniqueKey() const
void setSupportBTreeIndex(const bool &support)
bool supportsRTreeIndex() const
void setSupportHashIndex(const bool &support)
void setSupportRemoveColumn(const bool &support)
void setSupportPrimaryKey(const bool &support)
bool supportsSequence() const
bool supportsCheckConstraints() const
DataSetTypeCapabilities()
Constructor.
void setSupportRTreeIndex(const bool &support)