My Project
JobOption Class Reference

the JobOption class. More...

#include <OSOption.h>

Public Member Functions

 JobOption ()
 Default constructor.
 
 ~JobOption ()
 Class destructor.
 
bool IsEqual (JobOption *that)
 A function to check for the equality of two objects.
 
bool setRandom (double density, bool conformant)
 A function to make a random instance of this class.
 
bool deepCopyFrom (JobOption *that)
 A function to make a deep copy of an instance of this class.
 

Public Attributes

TimeSpanmaxTime
 the maximum time allowed
 
std::string requestedStartTime
 the requested time to start the job
 
JobDependenciesdependencies
 the dependency set
 
DirectoriesAndFilesrequiredDirectories
 directories required to run the job
 
DirectoriesAndFilesrequiredFiles
 files required to run the job
 
DirectoriesAndFilesdirectoriesToMake
 directories to make during the job
 
DirectoriesAndFilesfilesToMake
 files to make during the job
 
PathPairsinputDirectoriesToMove
 input directories to move or copy
 
PathPairsinputFilesToMove
 input files to move or copy
 
PathPairsoutputFilesToMove
 output files to move or copy
 
PathPairsoutputDirectoriesToMove
 output directories to move or copy
 
DirectoriesAndFilesfilesToDelete
 files to delete upon completion
 
DirectoriesAndFilesdirectoriesToDelete
 directories to delete upon completion
 
ProcessesprocessesToKill
 processes to kill upon completion
 
OtherOptionsotherOptions
 list of other job options
 

Detailed Description

the JobOption class.

Author
Robert Fourer, Horand Gassmann, Jun Ma, Kipp Martin
Version
1.0, 21/07/2008
Since
OS 1.1
Remarks
A data structure class that corresponds to an xml element in the OSoL schema.

Definition at line 1064 of file OSOption.h.

Constructor & Destructor Documentation

◆ JobOption()

JobOption::JobOption ( )

Default constructor.

Definition at line 378 of file OSOption.cpp.

◆ ~JobOption()

JobOption::~JobOption ( )

Class destructor.

Definition at line 400 of file OSOption.cpp.

Member Function Documentation

◆ IsEqual()

bool JobOption::IsEqual ( JobOption * that)

A function to check for the equality of two objects.

Definition at line 9822 of file OSOption.cpp.

◆ setRandom()

bool JobOption::setRandom ( double density,
bool conformant )

A function to make a random instance of this class.

Parameters
densitycorresponds to the probability that a particular child element is created
conformantif true enforces side constraints not enforceable in the schema (e.g., agreement of "numberOfXXX" attributes and <XXX> children)

Definition at line 12331 of file OSOption.cpp.

◆ deepCopyFrom()

bool JobOption::deepCopyFrom ( JobOption * that)

A function to make a deep copy of an instance of this class.

Parameters
thatthe instance from which information is to be copied
Returns
whether the copy was created successfully

Definition at line 13446 of file OSOption.cpp.

Member Data Documentation

◆ maxTime

TimeSpan* JobOption::maxTime

the maximum time allowed

Definition at line 1069 of file OSOption.h.

◆ requestedStartTime

std::string JobOption::requestedStartTime

the requested time to start the job

Definition at line 1072 of file OSOption.h.

◆ dependencies

JobDependencies* JobOption::dependencies

the dependency set

Definition at line 1075 of file OSOption.h.

◆ requiredDirectories

DirectoriesAndFiles* JobOption::requiredDirectories

directories required to run the job

Definition at line 1078 of file OSOption.h.

◆ requiredFiles

DirectoriesAndFiles* JobOption::requiredFiles

files required to run the job

Definition at line 1081 of file OSOption.h.

◆ directoriesToMake

DirectoriesAndFiles* JobOption::directoriesToMake

directories to make during the job

Definition at line 1084 of file OSOption.h.

◆ filesToMake

DirectoriesAndFiles* JobOption::filesToMake

files to make during the job

Definition at line 1087 of file OSOption.h.

◆ inputDirectoriesToMove

PathPairs* JobOption::inputDirectoriesToMove

input directories to move or copy

Definition at line 1090 of file OSOption.h.

◆ inputFilesToMove

PathPairs* JobOption::inputFilesToMove

input files to move or copy

Definition at line 1093 of file OSOption.h.

◆ outputFilesToMove

PathPairs* JobOption::outputFilesToMove

output files to move or copy

Definition at line 1096 of file OSOption.h.

◆ outputDirectoriesToMove

PathPairs* JobOption::outputDirectoriesToMove

output directories to move or copy

Definition at line 1099 of file OSOption.h.

◆ filesToDelete

DirectoriesAndFiles* JobOption::filesToDelete

files to delete upon completion

Definition at line 1102 of file OSOption.h.

◆ directoriesToDelete

DirectoriesAndFiles* JobOption::directoriesToDelete

directories to delete upon completion

Definition at line 1105 of file OSOption.h.

◆ processesToKill

Processes* JobOption::processesToKill

processes to kill upon completion

Definition at line 1108 of file OSOption.h.

◆ otherOptions

OtherOptions* JobOption::otherOptions

list of other job options

Definition at line 1111 of file OSOption.h.


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