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;
18 void setSize(
size_t &s){ size = s; }
19 size_t getSize(){
return size; }
20 int getId(){
return id;}
21 const std::vector<size_t> & getAlloc(){
return dataAlloc; }
23 fddType tType(){
return _tType; }
24 fddType kType(){
return _kType; }
26 bool isCached(){
return cached; }
28 virtual void discard() = 0;
29 virtual void * getKeyMap(
void) = 0;
30 virtual void setKeyMap(
void * keyMap) = 0;
31 virtual bool isGroupedByKey() = 0;
32 virtual void setGroupedByKey(
bool gbk) = 0;
Definition: _workerFdd.h:11