|
Public Member Functions |
| void * | operator new (size_t, void *anAddress) |
| void * | operator new (size_t size) |
| void | operator delete (void *anAddress) |
| Standard_EXPORT | Message_Msg () |
| | Empty constructor
.
|
| Standard_EXPORT | Message_Msg (const Message_Msg &theMsg) |
| | Copy constructor
.
|
| Standard_EXPORT | Message_Msg (const Standard_CString theKey) |
| | Create a message using a corresponding entry in Message_MsgFile
.
|
| Standard_EXPORT | Message_Msg (const TCollection_AsciiString &theKey) |
| | Create a message using a corresponding entry in Message_MsgFile
.
|
| Standard_EXPORT void | Set (const Standard_CString theMsg) |
| | Set a message body text -- can be used as alternative to
using messages from resource file
.
|
| Standard_EXPORT void | Set (const TCollection_AsciiString &theMsg) |
| | Set a message body text -- can be used as alternative to
using messages from resource file
.
|
| Standard_EXPORT Message_Msg & | Arg (const Standard_CString theString) |
| | Set a value for ..s conversion
.
|
| Message_Msg & | operator<< (const Standard_CString theString) |
| Message_Msg & | Arg (const TCollection_AsciiString &theString) |
| | Set a value for ..s conversion
.
|
| Message_Msg & | operator<< (const TCollection_AsciiString &theString) |
| Message_Msg & | Arg (const Handle(TCollection_HAsciiString)&theString) |
| | Set a value for ..s conversion
.
|
| Message_Msg & | operator<< (const Handle(TCollection_HAsciiString)&theString) |
| Standard_EXPORT Message_Msg & | Arg (const TCollection_ExtendedString &theString) |
| | Set a value for ..s conversion
.
|
| Message_Msg & | operator<< (const TCollection_ExtendedString &theString) |
| Message_Msg & | Arg (const Handle(TCollection_HExtendedString)&theString) |
| | Set a value for ..s conversion
.
|
| Message_Msg & | operator<< (const Handle(TCollection_HExtendedString)&theString) |
| Standard_EXPORT Message_Msg & | Arg (const Standard_Integer theInt) |
| | Set a value for ..d, ..i, ..o, ..u, ..x or ..X conversion
.
|
| Message_Msg & | operator<< (const Standard_Integer theInt) |
| Standard_EXPORT Message_Msg & | Arg (const Standard_Real theReal) |
| | Set a value for ..f, ..e, ..E, ..g or ..G conversion
.
|
| Message_Msg & | operator<< (const Standard_Real theReal) |
| const TCollection_ExtendedString & | Original () const |
| | Returns the original message text
.
|
| const TCollection_ExtendedString & | Value () const |
| | Returns current state of the message text with
parameters to the moment
.
|
| Standard_Boolean | IsEdited () const |
| | Tells if Value differs from Original
.
|
| Standard_EXPORT const TCollection_ExtendedString & | Get () |
| | Return the resulting message string with all parameters
filled. If some parameters were not yet filled by calls
to methods Arg (or <<), these parameters are filled by
the word UNKNOWN
.
|
| | operator const TCollection_ExtendedString & () |
Private Member Functions |
| Standard_EXPORT Standard_Integer | getFormat (const Standard_Integer theType, TCollection_AsciiString &theFormat) |
| Standard_EXPORT void | replaceText (const Standard_Integer theFirst, const Standard_Integer theNb, const TCollection_ExtendedString &theStr) |
Private Attributes |
| TCollection_ExtendedString | myOriginal |
| TCollection_ExtendedString | myMessageBody |
| TColStd_SequenceOfInteger | mySeqOfFormats |