te::da::DataSetCapabilities Class Reference

A class that informs what the dataset implementation of a given data source can perform. More...

#include <DataSetCapabilities.h>

Public Member Functions

 DataSetCapabilities ()
 Constructor. More...
 
void setSupportAll ()
 
void setSupportBidirectionalTraversing (const bool &support)
 
void setSupportEfficientDataSetSize (const bool &support)
 
void setSupportEfficientMove (const bool &support)
 
void setSupportEfficientMoveAfterLast (const bool &support)
 
void setSupportEfficientMoveBeforeFirst (const bool &support)
 
void setSupportEfficientMoveLast (const bool &support)
 
void setSupportEfficientMovePrevious (const bool &support)
 
void setSupportIndexedTraversing (const bool &support)
 
void setSupportRandomTraversing (const bool &support)
 
bool supportsBidirectionalTraversing () const
 
bool supportsEfficientDataSetSize () const
 
bool supportsEfficientMove () const
 
bool supportsEfficientMoveAfterLast () const
 
bool supportsEfficientMoveBeforeFirst () const
 
bool supportsEfficientMoveLast () const
 
bool supportsEfficientMovePrevious () const
 
bool supportsIndexedTraversing () const
 
bool supportsRandomTraversing () const
 
 ~DataSetCapabilities ()
 Destructor. More...
 

Private Attributes

bool m_bidirectional
 A flag that indicates if the data set supports traversing in a bidirectional way. More...
 
bool m_efficientMove
 A flag that indicates if the performance of move operation has no penality. More...
 
bool m_efficientMoveAfterLast
 A flag that indicates if the performance of move after last operation has no penality. More...
 
bool m_efficientMoveBeforeFirst
 A flag that indicates if the performance of move before first operation has no penality. More...
 
bool m_efficientMoveLast
 A flag that indicates if the performance of move last operation has no penality. More...
 
bool m_efficientMovePrevious
 A flag that indicates if the performance of move previous operation has no penality. More...
 
bool m_efficientSize
 A flag that indicates if the performance of getting data set size operation has no penality. More...
 
bool m_indexed
 A flag that indicates if the data set supports traversing using a given key. More...
 
bool m_random
 A flag that indicates if the data set supports traversing in a random way. More...
 

Detailed Description

A class that informs what the dataset implementation of a given data source can perform.

Definition at line 43 of file DataSetCapabilities.h.

Constructor & Destructor Documentation

te::da::DataSetCapabilities::DataSetCapabilities ( )

Constructor.

te::da::DataSetCapabilities::~DataSetCapabilities ( )

Destructor.

Member Function Documentation

void te::da::DataSetCapabilities::setSupportAll ( )
void te::da::DataSetCapabilities::setSupportBidirectionalTraversing ( const bool &  support)
void te::da::DataSetCapabilities::setSupportEfficientDataSetSize ( const bool &  support)
void te::da::DataSetCapabilities::setSupportEfficientMove ( const bool &  support)
void te::da::DataSetCapabilities::setSupportEfficientMoveAfterLast ( const bool &  support)
void te::da::DataSetCapabilities::setSupportEfficientMoveBeforeFirst ( const bool &  support)
void te::da::DataSetCapabilities::setSupportEfficientMoveLast ( const bool &  support)
void te::da::DataSetCapabilities::setSupportEfficientMovePrevious ( const bool &  support)
void te::da::DataSetCapabilities::setSupportIndexedTraversing ( const bool &  support)
void te::da::DataSetCapabilities::setSupportRandomTraversing ( const bool &  support)
bool te::da::DataSetCapabilities::supportsBidirectionalTraversing ( ) const
bool te::da::DataSetCapabilities::supportsEfficientDataSetSize ( ) const
bool te::da::DataSetCapabilities::supportsEfficientMove ( ) const
bool te::da::DataSetCapabilities::supportsEfficientMoveAfterLast ( ) const
bool te::da::DataSetCapabilities::supportsEfficientMoveBeforeFirst ( ) const
bool te::da::DataSetCapabilities::supportsEfficientMoveLast ( ) const
bool te::da::DataSetCapabilities::supportsEfficientMovePrevious ( ) const
bool te::da::DataSetCapabilities::supportsIndexedTraversing ( ) const
bool te::da::DataSetCapabilities::supportsRandomTraversing ( ) const

Member Data Documentation

bool te::da::DataSetCapabilities::m_bidirectional
private

A flag that indicates if the data set supports traversing in a bidirectional way.

Definition at line 95 of file DataSetCapabilities.h.

bool te::da::DataSetCapabilities::m_efficientMove
private

A flag that indicates if the performance of move operation has no penality.

Definition at line 102 of file DataSetCapabilities.h.

bool te::da::DataSetCapabilities::m_efficientMoveAfterLast
private

A flag that indicates if the performance of move after last operation has no penality.

Definition at line 101 of file DataSetCapabilities.h.

bool te::da::DataSetCapabilities::m_efficientMoveBeforeFirst
private

A flag that indicates if the performance of move before first operation has no penality.

Definition at line 99 of file DataSetCapabilities.h.

bool te::da::DataSetCapabilities::m_efficientMoveLast
private

A flag that indicates if the performance of move last operation has no penality.

Definition at line 100 of file DataSetCapabilities.h.

bool te::da::DataSetCapabilities::m_efficientMovePrevious
private

A flag that indicates if the performance of move previous operation has no penality.

Definition at line 98 of file DataSetCapabilities.h.

bool te::da::DataSetCapabilities::m_efficientSize
private

A flag that indicates if the performance of getting data set size operation has no penality.

Definition at line 103 of file DataSetCapabilities.h.

bool te::da::DataSetCapabilities::m_indexed
private

A flag that indicates if the data set supports traversing using a given key.

Definition at line 97 of file DataSetCapabilities.h.

bool te::da::DataSetCapabilities::m_random
private

A flag that indicates if the data set supports traversing in a random way.

Definition at line 96 of file DataSetCapabilities.h.


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