libfaster API Documentation
Development Version
Super fast distributted computing
fddStorageBase.h
1
#ifndef LIBFASTER_FDDSTORAGEBASE_H
2
#define LIBFASTER_FDDSTORAGEBASE_H
3
4
#include <cstdlib>
5
#include <iostream>
6
7
#include "definitions.h"
8
9
namespace
faster
{
10
class
fddStorageBase
{
11
protected
:
12
size_t
size;
13
size_t
allocSize;
14
15
public
:
16
virtual
~
fddStorageBase
(){}
17
18
virtual
void
grow(
size_t
toSize) = 0;
19
20
size_t
getSize(){
return
size; }
21
22
//void setSize(size_t s){ this->grow(s); size = s; }
23
virtual
void
setSize(
size_t
s UNUSED) { std::cerr <<
"OPS! "
<< s; }
24
};
25
}
26
27
#endif
faster
libfaster main namespace
Definition:
_workerFdd.h:11
faster::fddStorageBase
Definition:
fddStorageBase.h:10
faster.git
src
include
fddStorageBase.h
Generated on Tue Nov 22 2016 19:01:07 for libfaster API Documentation by
1.8.12