Open CASCADE Technology 6.6.0
|
Provides the basic service to get a text which identifies
an object in a context
It can be used for other classes (general signatures ...)
It can also be used to build a message in which an object
is to be identified
#include <MoniTool_SignText.hxx>
Public Member Functions | |
virtual Standard_CString | Name () const =0 |
Returns an identification of the Signature (a word), given at initialization time | |
virtual TCollection_AsciiString | TextAlone (const Handle< Standard_Transient > &ent) const |
Gives a text as a signature for a transient object alone, i.e. without defined context. By default, calls Text with undefined context (Null Handle) and if empty, then returns DynamicType | |
virtual TCollection_AsciiString | Text (const Handle< Standard_Transient > &ent, const Handle< Standard_Transient > &context) const =0 |
Gives a text as a signature for a transient object in a context If the context is senseless, it can be given as Null Handle empty result if nothing to give (at least the DynamicType could be sent ?) |
virtual Standard_CString MoniTool_SignText::Name | ( | ) | const [pure virtual] |
Implemented in Interface_SignLabel, IFSelect_Signature, and MoniTool_SignShape.
virtual TCollection_AsciiString MoniTool_SignText::Text | ( | const Handle< Standard_Transient > & | ent, |
const Handle< Standard_Transient > & | context | ||
) | const [pure virtual] |
Implemented in Interface_SignType, Interface_SignLabel, and MoniTool_SignShape.
virtual TCollection_AsciiString MoniTool_SignText::TextAlone | ( | const Handle< Standard_Transient > & | ent | ) | const [virtual] |