MaxTime Class Reference

the MaxTime class. More...

#include <OSOption.h>

Collaboration diagram for MaxTime:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MaxTime ()
 Default constructor.
 ~MaxTime ()
 Class destructor.
bool IsEqual (MaxTime *that)
 A function to check for the equality of two objects.

Public Attributes

std::string unit
 the unit in which time is measured
double value
 the maximum time allowed

Detailed Description

the MaxTime 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 480 of file OSOption.h.


Constructor & Destructor Documentation

MaxTime::MaxTime (  ) 

Default constructor.

Definition at line 245 of file OSOption.cpp.

MaxTime::~MaxTime (  ) 

Class destructor.

Definition at line 254 of file OSOption.cpp.


Member Function Documentation

bool MaxTime::IsEqual ( MaxTime that  ) 

A function to check for the equality of two objects.

Definition at line 7158 of file OSOption.cpp.

References unit, and value.


Member Data Documentation

std::string MaxTime::unit

the unit in which time is measured

Definition at line 484 of file OSOption.h.

Referenced by OSOption::getMaxTimeUnit(), IsEqual(), and OSOption::setMaxTimeUnit().

double MaxTime::value

the maximum time allowed

Definition at line 487 of file OSOption.h.

Referenced by OSOption::getMaxTime(), IsEqual(), and OSOption::setMaxTime().


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