Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Static Public Member Functions
Message Class Reference

Defines
More...

#include <Message.hxx>

Static Public Member Functions

static DEFINE_STANDARD_ALLOC
const Handle_Message_Messenger & 
DefaultMessenger ()
 Defines default messenger for OCCT applications.
This is global static instance of the messenger.
By default, it contains single printer directed to cout.
It can be customized according to the application needs.

static TCollection_AsciiString FillTime (const Standard_Integer Hour, const Standard_Integer Minute, const Standard_Real Second)
 Returns the string filled with values of hours, minutes and seconds.
Example:


Detailed Description


Member Function Documentation

static DEFINE_STANDARD_ALLOC const Handle_Message_Messenger& Message::DefaultMessenger ( ) [static]
  1. (5, 12, 26.3345) returns "05h:12m:26.33s",
  2. (0, 6, 34.496 ) returns "06m:34.50s",
  3. (0, 0, 4.5 ) returns "4.50s"

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