1 #ifndef LIBFASTER_FDDBASE_H 2 #define LIBFASTER_FDDBASE_H 5 #include "definitions.h" 13 unsigned long int totalBlocks;
14 unsigned long int size;
15 std::vector<size_t> dataAlloc;
21 void setSize(
size_t &s){ size = s; }
30 const std::vector<size_t> &
getAlloc(){
return dataAlloc; }
32 fddType tType(){
return _tType; }
33 fddType kType(){
return _kType; }
38 virtual void discard() = 0;
39 virtual bool isGroupedByKey() = 0;
40 virtual void setGroupedByKey(
bool gbk) = 0;
bool isCached()
Returns true if the dataset is cached.
int getId()
Returns the identification number of the dataset.
size_t getSize()
Returns the size of the dataset.
unsigned int fddType
Dataset type.
const std::vector< size_t > & getAlloc()
Returns the allocation identification number of the dataset.