#include <IFSelect_Act.hxx>
Inheritance diagram for IFSelect_Act:
Public Member Functions | |
Standard_EXPORT | IFSelect_Act (const Standard_CString name, const Standard_CString help, const IFSelect_ActFunc func) |
Creates an Act with a name, help and a function mode (Add or AddSet) is given when recording . | |
Standard_EXPORT IFSelect_ReturnStatus | Do (const Standard_Integer number, const Handle(IFSelect_SessionPilot)&pilot) |
Execution of Command Line. remark that <number> is senseless because each Act brings one and only one function . | |
Standard_EXPORT Standard_CString | Help (const Standard_Integer number) const |
Short Help for commands : returns the help given to create . | |
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Static Public Member Functions | |
static Standard_EXPORT void | SetGroup (const Standard_CString group, const Standard_CString file="") |
Changes the default group name for the following Acts group empty means to come back to default from Activator Also a file name can be precised (to query by getsource) . | |
static Standard_EXPORT void | AddFunc (const Standard_CString name, const Standard_CString help, const IFSelect_ActFunc func) |
Adds a function with its name and help : creates an Act then records it as normal function . | |
static Standard_EXPORT void | AddFSet (const Standard_CString name, const Standard_CString help, const IFSelect_ActFunc func) |
Adds a function with its name and help : creates an Act then records it as function for XSET (i.e. to create control item) . | |
Private Attributes | |
TCollection_AsciiString | thename |
TCollection_AsciiString | thehelp |
IFSelect_ActFunc | thefunc |
|
|
|
|
|
|
|
Implements IFSelect_Activator. |
|
Reimplemented from IFSelect_Activator. |
|
Implements IFSelect_Activator. |
|
|
|
|
|
|
|
|