Open CASCADE Technology
6.5.4
|
Sets/Clears Short Label of Entities, those designated by the
Selection. No Selection means all the file
May enforce, else it sets only if no label is yet set
Mode : 0 to clear (always enforced)
1 to set label to DE number (changes it if already set)
#include <IGESSelect_SetLabel.hxx>
Public Member Functions | |
IGESSelect_SetLabel (const Standard_Integer mode, const Standard_Boolean enforce) | |
Creates a SetLabel for IGESEntity Mode : see Purpose of the class | |
void | Performing (IFSelect_ContextModif &ctx, const Handle< IGESData_IGESModel > &target, Interface_CopyTool &TC) const |
Specific action : Sets or Clears the Label | |
TCollection_AsciiString | Label () const |
Returns a text which is "Clear Short Label" or "Set Label to DE" With possible additional information " (enforced)" |
IGESSelect_SetLabel::IGESSelect_SetLabel | ( | const Standard_Integer | mode, |
const Standard_Boolean | enforce | ||
) |
TCollection_AsciiString IGESSelect_SetLabel::Label | ( | ) | const [virtual] |
Implements IFSelect_GeneralModifier.
void IGESSelect_SetLabel::Performing | ( | IFSelect_ContextModif & | ctx, |
const Handle< IGESData_IGESModel > & | target, | ||
Interface_CopyTool & | TC | ||
) | const [virtual] |
Implements IGESSelect_ModelModifier.