wrench::DataFile

class DataFile

A data file used/produced by a WorkflowTask in a Workflow.

Public Functions

std::string getID() const

Get the file id.

Returns

the id

double getSize() const

Get the file size.

Returns

a size in bytes

void setSize(double size)

Set the file size (to be used only in very specific cases in which it is guaranteed that changing a file’s size after that file has been created is a valid thing to do)

Parameters

s – a size in byte