26 #ifndef __TERRALIB_DATAACCESS_INTERNAL_DATASETCAPABILITIES_H
27 #define __TERRALIB_DATAACCESS_INTERNAL_DATASETCAPABILITIES_H
30 #include "../Config.h"
A class that informs what the dataset implementation of a given data source can perform.
bool supportsRandomTraversing() const
bool m_random
A flag that indicates if the data set supports traversing in a random way.
bool supportsIndexedTraversing() const
void setSupportEfficientMoveAfterLast(const bool &support)
bool m_efficientSize
A flag that indicates if the performance of getting data set size operation has no penality.
~DataSetCapabilities()
Destructor.
void setSupportEfficientDataSetSize(const bool &support)
bool supportsEfficientMoveBeforeFirst() const
bool m_efficientMove
A flag that indicates if the performance of move operation has no penality.
bool supportsEfficientMoveAfterLast() const
DataSetCapabilities()
Constructor.
bool supportsEfficientMovePrevious() const
void setSupportRandomTraversing(const bool &support)
void setSupportIndexedTraversing(const bool &support)
void setSupportEfficientMoveBeforeFirst(const bool &support)
bool supportsBidirectionalTraversing() const
void setSupportBidirectionalTraversing(const bool &support)
void setSupportEfficientMovePrevious(const bool &support)
bool m_efficientMoveAfterLast
A flag that indicates if the performance of move after last operation has no penality.
bool m_efficientMoveLast
A flag that indicates if the performance of move last operation has no penality.
bool m_efficientMoveBeforeFirst
A flag that indicates if the performance of move before first operation has no penality.
bool m_isConnected
A flag that indicates if the data set is conneted.
bool supportsEfficientMoveLast() const
bool supportsEfficientDataSetSize() const
bool supportsEfficientMove() const
void setSupportEfficientMoveLast(const bool &support)
void setSupportEfficientMove(const bool &support)
bool m_efficientMovePrevious
A flag that indicates if the performance of move previous operation has no penality.
bool m_bidirectional
A flag that indicates if the data set supports traversing in a bidirectional way.
bool m_indexed
A flag that indicates if the data set supports traversing using a given key.
void setAsConnected(const bool &connected)
#define TEDATAACCESSEXPORT
You can use this macro in order to export/import classes and functions from this module.