WRENCH
1.11
Cyberinfrastructure Simulation Workbench
Overview
Installation
Getting Started
WRENCH 101
WRENCH 102
APIs Reference
User
Developer
Internal
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
Functions
Typedefs
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
Enumerations
Enumerator
c
d
e
f
k
n
p
r
s
t
u
Files
File List
•
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Pages
include
wrench
data_file
DataFile.h
1
10
#ifndef WRENCH_DATAFILE_H
11
#define WRENCH_DATAFILE_H
12
13
#include <string>
14
#include <map>
15
16
namespace
wrench
{
17
21
class
DataFile
{
22
23
public
:
24
25
double
getSize
();
26
27
std::string
getID
();
28
29
protected
:
30
31
friend
class
Simulation
;
32
DataFile
(std::string
id
,
double
size
);
33
35
std::string
id
;
37
double
size
;
// in bytes
38
39
};
40
41
};
42
43
#endif //WRENCH_DATAFILE_H
wrench::DataFile::getSize
double getSize()
Get the file size.
Definition:
DataFile.cpp:34
wrench::DataFile::id
std::string id
File id/name.
Definition:
DataFile.h:35
wrench::DataFile
A data file used/produced by a WorkflowTask in a Workflow.
Definition:
DataFile.h:21
wrench::DataFile::getID
std::string getID()
Get the file id.
Definition:
DataFile.cpp:42
wrench
Definition:
Action.cpp:28
wrench::DataFile::size
double size
File size in bytes.
Definition:
DataFile.h:37
wrench::Simulation
A class that provides basic simulation methods. Once the simulation object has been explicitly or imp...
Definition:
Simulation.h:48
wrench::DataFile::DataFile
DataFile(std::string id, double size)
Constructor.
Definition:
DataFile.cpp:26