WRENCH  1.11
Cyberinfrastructure Simulation Workbench
Overview Installation Getting Started WRENCH 101 WRENCH 102
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
wrench::DataFile Class Reference

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

#include <DataFile.h>

Public Member Functions

std::string getID ()
 Get the file id. More...
 
double getSize ()
 Get the file size. More...
 

Protected Member Functions

 DataFile (std::string id, double size)
 Constructor. More...
 

Protected Attributes

std::string id
 File id/name.
 
double size
 File size in bytes.
 

Detailed Description

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

Constructor & Destructor Documentation

◆ DataFile()

wrench::DataFile::DataFile ( std::string  id,
double  s 
)
protected

Constructor.

Parameters
namethe file id
sthe file size

Member Function Documentation

◆ getID()

std::string wrench::DataFile::getID ( )

Get the file id.

Returns
the id

◆ getSize()

double wrench::DataFile::getSize ( )

Get the file size.

Returns
a size in bytes

The documentation for this class was generated from the following files: