JobDependencies Class Reference

the JobDependencies class. More...

#include <OSOption.h>

List of all members.

Public Member Functions

 JobDependencies ()
 Default constructor.
 ~JobDependencies ()
 Class destructor.
bool IsEqual (JobDependencies *that)
 A function to check for the equality of two objects.
bool setJobID (int numberOfJobIDs, std::string *jobID)
 A function to set an array of <jobID> elements.
bool addJobID (std::string jobID)
 A function to add an <jobID> element.

Public Attributes

int numberOfJobIDs
 the number of entries in the list of job dependencies
std::string * jobID
 the list of job IDs


Detailed Description

the JobDependencies class.

Author:
Robert Fourer, Gus 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 520 of file OSOption.h.


Constructor & Destructor Documentation

JobDependencies::JobDependencies (  ) 

Default constructor.

Definition at line 262 of file OSOption.cpp.

References jobID.

JobDependencies::~JobDependencies (  ) 

Class destructor.

Definition at line 271 of file OSOption.cpp.

References jobID.


Member Function Documentation

bool JobDependencies::IsEqual ( JobDependencies that  ) 

A function to check for the equality of two objects.

Definition at line 7237 of file OSOption.cpp.

References jobID, and numberOfJobIDs.

bool JobDependencies::setJobID ( int  numberOfJobIDs,
std::string *  jobID 
)

A function to set an array of <jobID> elements.

Parameters:
numberOfJobIDs,: number of <jobID> elements to be set
jobID,: the array of <jobID> elements that are to be set

Definition at line 3711 of file OSOption.cpp.

Referenced by OSOption::setJobDependencies().

bool JobDependencies::addJobID ( std::string  jobID  ) 

A function to add an <jobID> element.

Parameters:
jobID,: the name of the <jobID> element to be added

Definition at line 3741 of file OSOption.cpp.

References numberOfJobIDs.

Referenced by OSOption::setAnotherJobDependency().


Member Data Documentation

int JobDependencies::numberOfJobIDs

the number of entries in the list of job dependencies

Definition at line 524 of file OSOption.h.

Referenced by addJobID(), OSOption::getNumberOfJobDependencies(), and IsEqual().

std::string* JobDependencies::jobID

the list of job IDs

Definition at line 527 of file OSOption.h.

Referenced by OSOption::getJobDependencies(), IsEqual(), JobDependencies(), OSOption::setJobDependencies(), and ~JobDependencies().


The documentation for this class was generated from the following files:
Generated on Fri Jan 7 03:26:33 2011 by  doxygen 1.4.7