Used in SVDataSet to manage and store the data.
More...
#include <Variable.h>
|
virtual void | write (size_t index, std::ofstream &out)=0 |
| Writes the data at the specified index to the specified ofstream. More...
|
|
virtual void | insert (double *array, size_t size)=0 |
| Inserts all the doubles in the double array into the collection of data stored in this Variable. More...
|
|
virtual void | insert (int *array, size_t size)=0 |
| Inserts all the ints in the int array into the collection of data stored in this Variable. More...
|
|
virtual void | clear ()=0 |
| Clears this Variable of all the data stored in it.
|
|
Used in SVDataSet to manage and store the data.
◆ insert() [1/2]
virtual void repast::Variable::insert |
( |
double * |
array, |
|
|
size_t |
size |
|
) |
| |
|
pure virtual |
◆ insert() [2/2]
virtual void repast::Variable::insert |
( |
int * |
array, |
|
|
size_t |
size |
|
) |
| |
|
pure virtual |
◆ write()
virtual void repast::Variable::write |
( |
size_t |
index, |
|
|
std::ofstream & |
out |
|
) |
| |
|
pure virtual |
Writes the data at the specified index to the specified ofstream.
- Parameters
-
index | the index of the data to write |
out | the ofstream to write the data to |
Implemented in repast::DoubleVariable, and repast::IntVariable.
The documentation for this class was generated from the following file:
- /home/nick/Documents/repos/repast.hpc/src/repast_hpc/Variable.h