TimingInformation Class Reference

The TimingInformation Class. More...

#include <OSResult.h>

Collaboration diagram for TimingInformation:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TimingInformation ()
 Default constructor.
 ~TimingInformation ()
 Class destructor.
bool IsEqual (TimingInformation *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.
 TimingInformation ()
 Default constructor.
 ~TimingInformation ()
 Class destructor.

Public Attributes

int numberOfTimes
 The number of elements in the time array.
TimeMeasurement ** time
 An array of time measurements.
Time ** time
 An array of time measurements.

Detailed Description

The TimingInformation Class.

Author:
Robert Fourer, Horand Gassmann, Jun Ma, Kipp Martin
Version:
1.0, 03/14/2004
Since:
OS 1.0
Remarks:
A class that provides the timer information that is defined in the OSrL schema.

Definition at line 604 of file OSResult.h.


Constructor & Destructor Documentation

TimingInformation::TimingInformation (  ) 

Default constructor.

Definition at line 279 of file OSResult.cpp.

TimingInformation::~TimingInformation (  ) 

Class destructor.

Definition at line 289 of file OSResult.cpp.

References numberOfTimes, and time.

TimingInformation::TimingInformation (  ) 

Default constructor.

TimingInformation::~TimingInformation (  ) 

Class destructor.


Member Function Documentation

bool TimingInformation::IsEqual ( TimingInformation that  ) 

A function to check for the equality of two objects.

Definition at line 6352 of file OSResult.cpp.

References numberOfTimes, and time.

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

A function to make a random instance of this class.

Parameters:
density,: corresponds to the probability that a particular child element is created
conformant,: if true enforces side constraints not enforceable in the schema (e.g., agreement of "numberOfXXX" atrbutes and <XXX> children)

Definition at line 8200 of file OSResult.cpp.

References n, numberOfTimes, OSRand(), TimeMeasurement::setRandom(), and time.

Referenced by JobResult::setRandom().


Member Data Documentation

int TimingInformation::numberOfTimes

The number of elements in the time array.

Definition at line 612 of file OSResult.h.

Referenced by OSResult::addTimingInformation(), OSResult::getNumberOfTimes(), OSResult::getTimeNumber(), OSResult::getTimeValue(), OSResult::getTimingInfoCategory(), OSResult::getTimingInfoDescription(), OSResult::getTimingInfoType(), OSResult::getTimingInfoUnit(), OSResult::getTimingInfoValue(), IsEqual(), OSResult::setNumberOfTimes(), setRandom(), OSResult::setTimeNumber(), OSResult::setTimingInformation(), OSrLWriter::writeOSrL(), and ~TimingInformation().

TimeMeasurement** TimingInformation::time

An array of time measurements.

Definition at line 618 of file OSResult.h.

Referenced by OSResult::addTimingInformation(), OSResult::getTimeValue(), OSResult::getTimingInfoCategory(), OSResult::getTimingInfoDescription(), OSResult::getTimingInfoType(), OSResult::getTimingInfoUnit(), OSResult::getTimingInfoValue(), IsEqual(), OSResult::setNumberOfTimes(), setRandom(), OSResult::setTimingInformation(), OSrLWriter::writeOSrL(), and ~TimingInformation().

Time** TimingInformation::time

An array of time measurements.

Definition at line 285 of file OSResult.h.


The documentation for this class was generated from the following files:
Generated on Thu Sep 22 03:14:06 2011 by  doxygen 1.4.7