Open CASCADE Technology 6.6.0
|
Provides the basic service to get a type name, according
to a norm
It can be used for other classes (general signatures ...)
#include <Interface_SignType.hxx>
Public Member Functions | |
TCollection_AsciiString | Text (const Handle< Standard_Transient > &ent, const Handle< Standard_Transient > &context) const |
Returns an identification of the Signature (a word), given at initialization time //! Specialised to consider context as an InterfaceModel | |
virtual Standard_CString | Value (const Handle< Standard_Transient > &ent, const Handle< Interface_InterfaceModel > &model) const =0 |
Returns the Signature for a Transient object. It is specific of each sub-class of Signature. For a Null Handle, it should provide "" It can work with the model which contains the entity | |
Static Public Member Functions | |
static Standard_CString | ClassName (const Standard_CString typnam) |
From a CDL Type Name, returns the Class part (package dropped) WARNING : buffered, to be immediately copied or printed |
static Standard_CString Interface_SignType::ClassName | ( | const Standard_CString | typnam | ) | [static] |
TCollection_AsciiString Interface_SignType::Text | ( | const Handle< Standard_Transient > & | ent, |
const Handle< Standard_Transient > & | context | ||
) | const [virtual] |
Implements MoniTool_SignText.
virtual Standard_CString Interface_SignType::Value | ( | const Handle< Standard_Transient > & | ent, |
const Handle< Interface_InterfaceModel > & | model | ||
) | const [pure virtual] |