Open CASCADE Technology: Message Class Reference

Open CASCADE Technology 6.8.0

- Main Page
- Related Pages
- Namespaces
- Data Structures
- Files

- Data Structures
- Data Structure Index
- Class Hierarchy
- Data Fields

Static Public Member Functions
Message Class Reference

Defines. More...

`#include <Message.hxx>`

## Static Public Member Functions
static 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. More...
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: More...

## Detailed Description

Defines.

- tools to work with messages
- basic tools intended for progress indication

## Member Function Documentation

static const Handle< Message_Messenger >& Message::DefaultMessenger | ( |  | ) |
| static

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 Message::FillTime | ( | const Standard_Integer | Hour,
|  | const Standard_Integer | Minute,
|  | const Standard_Real | Second
| ) |  |
| static

Returns the string filled with values of hours, minutes and seconds. Example:

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:

- Message.hxx