Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

void PIntCondMutex::PrintOn ( ostream &  strm  )  const [virtual]

Print the object on the stream. This will be of the form #"(value < target)"#.

Reimplemented from PObject.

Definition at line 2263 of file osutils.cxx.

References GE, GT, LE, and LT.

{
  strm << '(' << value;
  switch (operation) {
    case LT :
      strm << " < ";
    case LE :
      strm << " <= ";
    case GE :
      strm << " >= ";
    case GT :
      strm << " > ";
    default:
      strm << " == ";
  }
  strm << target << ')';
}


Generated by  Doxygen 1.6.0   Back to index