OpenMPCD
|
Public Member Functions | |
def | __init__ (self, action) |
def | isDelete (self) |
def | isCreateGroup (self) |
Class that represents a special action to be performed in config part generators, like deleting settings or creating setting groups.
Definition at line 935 of file DataManager.py.
def MPCDAnalysis.DataManager.ConfigPartSpecialAction.__init__ | ( | self, | |
action | |||
) |
The constructor. @throw TypeError Throws if `action` is not a `str`. @throw ValueError Throws if `action` has an illegal value. @param[in] action The action to perform on the associated setting. Can be `"delete"` to delete the setting (and possibly any sub-settings), or `"createGroup"` to create a settings group of that name.
Definition at line 952 of file DataManager.py.
def MPCDAnalysis.DataManager.ConfigPartSpecialAction.isCreateGroup | ( | self | ) |
Returns whether the action is to create the associated setting group.
Definition at line 976 of file DataManager.py.
def MPCDAnalysis.DataManager.ConfigPartSpecialAction.isDelete | ( | self | ) |
Returns whether the action is to delete the associated setting.
Definition at line 967 of file DataManager.py.