All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
te::da::DataSetTypeCapabilities Class Reference

A class that informs what kind of constraint and index is supported by a given data source. More...

#include <DataSetTypeCapabilities.h>

Public Member Functions

 DataSetTypeCapabilities ()
 Constructor. More...
 
void setSupportAll ()
 
void setSupportBTreeIndex (const bool &support)
 
void setSupportCheckConstraints (const bool &support)
 
void setSupportForeingKey (const bool &support)
 
void setSupportHashIndex (const bool &support)
 
void setSupportIndex (const bool &support)
 
void setSupportPrimaryKey (const bool &support)
 
void setSupportQuadTreeIndex (const bool &support)
 
void setSupportRTreeIndex (const bool &support)
 
void setSupportSequence (const bool &support)
 
void setSupportUniqueKey (const bool &support)
 
bool supportsBTreeIndex () const
 
bool supportsCheckConstraints () const
 
bool supportsForeignKey () const
 
bool supportsHashIndex () const
 
bool supportsIndex () const
 
bool supportsPrimaryKey () const
 
bool supportsQuadTreeIndex () const
 
bool supportsRTreeIndex () const
 
bool supportsSequence () const
 
bool supportsUniqueKey () const
 
 ~DataSetTypeCapabilities ()
 Destructor. More...
 

Private Attributes

bool m_supportBTreeIndex
 A flag that indicates if the data source supports b-tree indexes. More...
 
bool m_supportCheckConstraints
 A flag that indicates if the data source supports check-constraints. More...
 
bool m_supportForeignKey
 A flag that indicates if the data source supports foreign key constraint. More...
 
bool m_supportHashIndex
 A flag that indicates if the data source supports hash indexes. More...
 
bool m_supportIndex
 A flag that indicates if the data source supports some type of index. More...
 
bool m_supportPrimaryKey
 A flag that indicates if the data source supports primary key constraint. More...
 
bool m_supportQuadTreeIndex
 A flag that indicates if the data source supports quad-tree indexes. More...
 
bool m_supportRTreeIndex
 A flag that indicates if the data source supports r-tree indexes. More...
 
bool m_supportSequence
 A flag that indicates if the data source supports sequence constraint. More...
 
bool m_supportUniqueKey
 A flag that indicates if the data source supports unique key constraint. More...
 

Detailed Description

A class that informs what kind of constraint and index is supported by a given data source.

Definition at line 43 of file DataSetTypeCapabilities.h.

Constructor & Destructor Documentation

te::da::DataSetTypeCapabilities::DataSetTypeCapabilities ( )

Constructor.

Definition at line 29 of file DataSetTypeCapabilities.cpp.

te::da::DataSetTypeCapabilities::~DataSetTypeCapabilities ( )

Destructor.

Definition at line 43 of file DataSetTypeCapabilities.cpp.

Member Function Documentation

void te::da::DataSetTypeCapabilities::setSupportAll ( )

Definition at line 147 of file DataSetTypeCapabilities.cpp.

Referenced by te::mem::Module::initialize().

void te::da::DataSetTypeCapabilities::setSupportBTreeIndex ( const bool &  support)

Definition at line 122 of file DataSetTypeCapabilities.cpp.

void te::da::DataSetTypeCapabilities::setSupportCheckConstraints ( const bool &  support)

Definition at line 92 of file DataSetTypeCapabilities.cpp.

Referenced by te::mem::Module::initialize().

void te::da::DataSetTypeCapabilities::setSupportForeingKey ( const bool &  support)

Definition at line 72 of file DataSetTypeCapabilities.cpp.

Referenced by te::mem::Module::initialize().

void te::da::DataSetTypeCapabilities::setSupportHashIndex ( const bool &  support)

Definition at line 132 of file DataSetTypeCapabilities.cpp.

void te::da::DataSetTypeCapabilities::setSupportIndex ( const bool &  support)

Definition at line 102 of file DataSetTypeCapabilities.cpp.

void te::da::DataSetTypeCapabilities::setSupportPrimaryKey ( const bool &  support)

Definition at line 52 of file DataSetTypeCapabilities.cpp.

Referenced by te::serialize::xml::Read().

void te::da::DataSetTypeCapabilities::setSupportQuadTreeIndex ( const bool &  support)

Definition at line 142 of file DataSetTypeCapabilities.cpp.

Referenced by te::mem::Module::initialize().

void te::da::DataSetTypeCapabilities::setSupportRTreeIndex ( const bool &  support)

Definition at line 112 of file DataSetTypeCapabilities.cpp.

void te::da::DataSetTypeCapabilities::setSupportSequence ( const bool &  support)

Definition at line 82 of file DataSetTypeCapabilities.cpp.

Referenced by te::mem::Module::initialize().

void te::da::DataSetTypeCapabilities::setSupportUniqueKey ( const bool &  support)

Definition at line 62 of file DataSetTypeCapabilities.cpp.

bool te::da::DataSetTypeCapabilities::supportsBTreeIndex ( ) const

Definition at line 117 of file DataSetTypeCapabilities.cpp.

bool te::da::DataSetTypeCapabilities::supportsCheckConstraints ( ) const

Definition at line 87 of file DataSetTypeCapabilities.cpp.

bool te::da::DataSetTypeCapabilities::supportsForeignKey ( ) const

Definition at line 67 of file DataSetTypeCapabilities.cpp.

bool te::da::DataSetTypeCapabilities::supportsHashIndex ( ) const

Definition at line 127 of file DataSetTypeCapabilities.cpp.

bool te::da::DataSetTypeCapabilities::supportsIndex ( ) const

Definition at line 97 of file DataSetTypeCapabilities.cpp.

bool te::da::DataSetTypeCapabilities::supportsPrimaryKey ( ) const

Definition at line 47 of file DataSetTypeCapabilities.cpp.

Referenced by te::vp::Aggregation().

bool te::da::DataSetTypeCapabilities::supportsQuadTreeIndex ( ) const

Definition at line 137 of file DataSetTypeCapabilities.cpp.

bool te::da::DataSetTypeCapabilities::supportsRTreeIndex ( ) const

Definition at line 107 of file DataSetTypeCapabilities.cpp.

bool te::da::DataSetTypeCapabilities::supportsSequence ( ) const

Definition at line 77 of file DataSetTypeCapabilities.cpp.

bool te::da::DataSetTypeCapabilities::supportsUniqueKey ( ) const

Definition at line 57 of file DataSetTypeCapabilities.cpp.

Member Data Documentation

bool te::da::DataSetTypeCapabilities::m_supportBTreeIndex
private

A flag that indicates if the data source supports b-tree indexes.

Definition at line 106 of file DataSetTypeCapabilities.h.

bool te::da::DataSetTypeCapabilities::m_supportCheckConstraints
private

A flag that indicates if the data source supports check-constraints.

Definition at line 103 of file DataSetTypeCapabilities.h.

bool te::da::DataSetTypeCapabilities::m_supportForeignKey
private

A flag that indicates if the data source supports foreign key constraint.

Definition at line 101 of file DataSetTypeCapabilities.h.

bool te::da::DataSetTypeCapabilities::m_supportHashIndex
private

A flag that indicates if the data source supports hash indexes.

Definition at line 107 of file DataSetTypeCapabilities.h.

bool te::da::DataSetTypeCapabilities::m_supportIndex
private

A flag that indicates if the data source supports some type of index.

Definition at line 104 of file DataSetTypeCapabilities.h.

bool te::da::DataSetTypeCapabilities::m_supportPrimaryKey
private

A flag that indicates if the data source supports primary key constraint.

Definition at line 99 of file DataSetTypeCapabilities.h.

bool te::da::DataSetTypeCapabilities::m_supportQuadTreeIndex
private

A flag that indicates if the data source supports quad-tree indexes.

Definition at line 108 of file DataSetTypeCapabilities.h.

bool te::da::DataSetTypeCapabilities::m_supportRTreeIndex
private

A flag that indicates if the data source supports r-tree indexes.

Definition at line 105 of file DataSetTypeCapabilities.h.

bool te::da::DataSetTypeCapabilities::m_supportSequence
private

A flag that indicates if the data source supports sequence constraint.

Definition at line 102 of file DataSetTypeCapabilities.h.

bool te::da::DataSetTypeCapabilities::m_supportUniqueKey
private

A flag that indicates if the data source supports unique key constraint.

Definition at line 100 of file DataSetTypeCapabilities.h.


The documentation for this class was generated from the following files: