oaTimeStamp Class Reference


Public Methods

 oaTimeStamp ()
 oaTimeStamp (oaUInt4 value)
void set (oaUInt4 st)
void set (const oaTimeStamp &st)
oaTimeStamp & operator++ ()
oaTimeStamp & operator++ (int)
oaTimeStamp & operator+= (oaUInt4 value)
oaBoolean operator== (const oaTimeStamp &timeStamp) const
oaBoolean operator!= (const oaTimeStamp &timeStamp) const
 operator oaUInt4 () const

Friends

oaBoolean operator== (const oaTimeStamp &s1, const oaUInt4 s2)
oaBoolean operator== (const oaUInt4 s1, const oaTimeStamp &s2)
oaBoolean operator!= (const oaTimeStamp &s1, const oaUInt4 s2)
oaBoolean operator!= (const oaUInt4 s1, const oaTimeStamp &s2)

Detailed Description

The oaTimeStamp utility class provides a simple mechanism for testing objects if the objects are modified.


Constructor & Destructor Documentation

oaTimeStamp::oaTimeStamp   [inline]
 

This function constructs an oaTimeStamp object and initializes the time stamp to zero.

oaTimeStamp::oaTimeStamp oaUInt4    value [inline]
 

This function constructs an oaTimeStamp object and initializes the time stamp to the specified value.


Member Function Documentation

oaTimeStamp::operator oaUInt4   const [inline]
 

This function returns the value of this time stamp.

oaBoolean oaTimeStamp::operator!= const oaTimeStamp &    timeStamp const [inline]
 

This operator compares this oaTimeStamp object with the specified oaTimeStamp timeStamp and returns true if the specified objects are not equal.

oaTimeStamp & oaTimeStamp::operator++ int    st [inline]
 

This function implements the postfix increment operator for the oaTimeStamp class that increments this time stamp by the specified step value.

oaTimeStamp & oaTimeStamp::operator++   [inline]
 

This function implements the increment operator for the oaTimeStamp class that increments this time stamp.

oaTimeStamp & oaTimeStamp::operator+= oaUInt4    value [inline]
 

This function implements the add-equal operator for the oaTimeStamp class tha adds the specified value and assigns the result to this time stamp.

oaBoolean oaTimeStamp::operator== const oaTimeStamp &    timeStamp const [inline]
 

This operator compares this oaTimeStamp object with the specified oaTimeStamp timeStamp and returns true if the specified objects are equal.

void oaTimeStamp::set const oaTimeStamp &    st [inline]
 

This function sets the value of this time stamp to the value of the specified time stamp.

void oaTimeStamp::set oaUInt4    st [inline]
 

This function sets this time stamp to the specified value.


Friends And Related Function Documentation

oaBoolean oaTimeStamp::operator!= const oaUInt4    s1,
const oaTimeStamp &    s2
[friend]
 

This operator compares oaUInt4 s1 with oaTimeStamp s2 and returns true if the specified objects are not equal.

oaBoolean oaTimeStamp::operator!= const oaTimeStamp &    s1,
const oaUInt4    s2
[friend]
 

This operator compares oaTimeStamp s1 with oaUInt4 s2 and returns true if the specified objects are not equal.

oaBoolean oaTimeStamp::operator== const oaUInt4    s1,
const oaTimeStamp &    s2
[friend]
 

This operator compares oaUInt4 s1 with oaTimeStamp s2 and returns true if s1 is equal to s2.

oaBoolean oaTimeStamp::operator== const oaTimeStamp &    s1,
const oaUInt4    s2
[friend]
 

This operator compares oaTimeStamp s1 with oaUInt4 s2 and returns true if s1 is equal to s2.


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

Return to top of page