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)
49 return m_supportPrimaryKey;
54 m_supportPrimaryKey = support;
59 return m_supportUniqueKey;
64 m_supportUniqueKey = support;
69 return m_supportForeignKey;
74 m_supportForeignKey = support;
79 return m_supportSequence;
84 m_supportSequence = support;
89 return m_supportCheckConstraints;
94 m_supportCheckConstraints = support;
99 return m_supportIndex;
104 m_supportIndex = support;
109 return m_supportRTreeIndex;
114 m_supportRTreeIndex = support;
119 return m_supportBTreeIndex;
124 m_supportBTreeIndex = support;
129 return m_supportHashIndex;
134 m_supportHashIndex = support;
139 return m_supportQuadTreeIndex;
144 m_supportQuadTreeIndex = support;
149 m_supportPrimaryKey =
true;
150 m_supportUniqueKey =
true;
151 m_supportForeignKey =
true;
152 m_supportSequence =
true;
153 m_supportCheckConstraints =
true;
154 m_supportIndex =
true;
155 m_supportRTreeIndex =
true;
156 m_supportBTreeIndex =
true;
157 m_supportHashIndex =
true;
158 m_supportQuadTreeIndex =
true;
void setSupportQuadTreeIndex(const bool &support)
void setSupportPrimaryKey(const bool &support)
bool supportsIndex() const
void setSupportIndex(const bool &support)
void setSupportCheckConstraints(const bool &support)
bool supportsHashIndex() const
void setSupportHashIndex(const bool &support)
bool supportsUniqueKey() const
void setSupportUniqueKey(const bool &support)
A class that informs what kind of constraint and index is supported by a given data source...
bool supportsPrimaryKey() const
bool supportsForeignKey() const
bool supportsSequence() const
void setSupportBTreeIndex(const bool &support)
bool supportsRTreeIndex() const
void setSupportSequence(const bool &support)
bool supportsQuadTreeIndex() const
bool supportsBTreeIndex() const
bool supportsCheckConstraints() const
DataSetTypeCapabilities()
Constructor.
void setSupportRTreeIndex(const bool &support)
~DataSetTypeCapabilities()
Destructor.
void setSupportForeingKey(const bool &support)