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...
 
bool isConnected () const
 
void setAsConnected (const bool &connected)
 
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_isConnected
 A flag that indicates if the data set is conneted. 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

◆ DataSetCapabilities()

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

Constructor.

◆ ~DataSetCapabilities()

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

Destructor.

Member Function Documentation

◆ isConnected()

bool te::da::DataSetCapabilities::isConnected ( ) const

◆ setAsConnected()

void te::da::DataSetCapabilities::setAsConnected ( const bool &  connected)

◆ setSupportAll()

void te::da::DataSetCapabilities::setSupportAll ( )

◆ setSupportBidirectionalTraversing()

void te::da::DataSetCapabilities::setSupportBidirectionalTraversing ( const bool &  support)

◆ setSupportEfficientDataSetSize()

void te::da::DataSetCapabilities::setSupportEfficientDataSetSize ( const bool &  support)

◆ setSupportEfficientMove()

void te::da::DataSetCapabilities::setSupportEfficientMove ( const bool &  support)

◆ setSupportEfficientMoveAfterLast()

void te::da::DataSetCapabilities::setSupportEfficientMoveAfterLast ( const bool &  support)

◆ setSupportEfficientMoveBeforeFirst()

void te::da::DataSetCapabilities::setSupportEfficientMoveBeforeFirst ( const bool &  support)

◆ setSupportEfficientMoveLast()

void te::da::DataSetCapabilities::setSupportEfficientMoveLast ( const bool &  support)

◆ setSupportEfficientMovePrevious()

void te::da::DataSetCapabilities::setSupportEfficientMovePrevious ( const bool &  support)

◆ setSupportIndexedTraversing()

void te::da::DataSetCapabilities::setSupportIndexedTraversing ( const bool &  support)

◆ setSupportRandomTraversing()

void te::da::DataSetCapabilities::setSupportRandomTraversing ( const bool &  support)

◆ supportsBidirectionalTraversing()

bool te::da::DataSetCapabilities::supportsBidirectionalTraversing ( ) const

◆ supportsEfficientDataSetSize()

bool te::da::DataSetCapabilities::supportsEfficientDataSetSize ( ) const

◆ supportsEfficientMove()

bool te::da::DataSetCapabilities::supportsEfficientMove ( ) const

◆ supportsEfficientMoveAfterLast()

bool te::da::DataSetCapabilities::supportsEfficientMoveAfterLast ( ) const

◆ supportsEfficientMoveBeforeFirst()

bool te::da::DataSetCapabilities::supportsEfficientMoveBeforeFirst ( ) const

◆ supportsEfficientMoveLast()

bool te::da::DataSetCapabilities::supportsEfficientMoveLast ( ) const

◆ supportsEfficientMovePrevious()

bool te::da::DataSetCapabilities::supportsEfficientMovePrevious ( ) const

◆ supportsIndexedTraversing()

bool te::da::DataSetCapabilities::supportsIndexedTraversing ( ) const

◆ supportsRandomTraversing()

bool te::da::DataSetCapabilities::supportsRandomTraversing ( ) const

Member Data Documentation

◆ m_bidirectional

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

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

Definition at line 99 of file DataSetCapabilities.h.

◆ m_efficientMove

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

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

Definition at line 106 of file DataSetCapabilities.h.

◆ m_efficientMoveAfterLast

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 105 of file DataSetCapabilities.h.

◆ m_efficientMoveBeforeFirst

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 103 of file DataSetCapabilities.h.

◆ m_efficientMoveLast

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

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

Definition at line 104 of file DataSetCapabilities.h.

◆ m_efficientMovePrevious

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

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

Definition at line 102 of file DataSetCapabilities.h.

◆ m_efficientSize

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 107 of file DataSetCapabilities.h.

◆ m_indexed

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

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

Definition at line 101 of file DataSetCapabilities.h.

◆ m_isConnected

bool te::da::DataSetCapabilities::m_isConnected
private

A flag that indicates if the data set is conneted.

Definition at line 108 of file DataSetCapabilities.h.

◆ m_random

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

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

Definition at line 100 of file DataSetCapabilities.h.


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