[ ENUM CLASS ] - Application list.
More...
|
def | listAttributes (cls, stringOnly=True, getValues=True, removeK=True, startAttrNamesLower=False) |
| List static public attributes of the class. More...
|
|
def | listAttributeElements (cls, attribute) |
| List elements of a static public attribute. More...
|
|
def | getAttributeNameFromValue (cls, value, removeK=True, defaultAttributeName=None, startLower=False) |
| Get the name of the attribute for given value. More...
|
|
def | getValueFromAttributeName (cls, attribute, removeK=False, defaultValue=None) |
| Get value from attribute name. More...
|
|
def | asDict (cls, removeK=True) |
| Get all the attributes and their values in a dict instance. More...
|
|
|
string | kAll = 'all' |
| [ str ] - All applications.
|
|
string | kHoudini = 'houdini' |
| [ str ] - Houdini.
|
|
string | kKatana = 'katana' |
| [ str ] - Katana.
|
|
string | kMari = 'mari' |
| [ str ] - Mari.
|
|
string | kMaya = 'maya' |
| [ str ] - Maya.
|
|
string | kNuke = 'nuke' |
| [ str ] - Nuke.
|
|
string | kPhotoshop = 'photoshop' |
| [ str ] - Photoshop.
|
|
string | kStandalone = 'standalone' |
| [ str ] - Standalone.
|
|
string | kZBrush = 'zbrush' |
| [ str ] - ZBrush.
|
|
[ ENUM CLASS ] - Application list.
◆ listAttributes()
def mApplication.parentApplicationLib.Application.listAttributes |
( |
|
cls, |
|
|
|
stringOnly = True , |
|
|
|
getValues = True , |
|
|
|
removeK = True , |
|
|
|
startAttrNamesLower = False |
|
) |
| |
List static public attributes of the class.
- Parameters
-
cls | [ object | None | in ] - Class object. |
stringOnly | [ bool | True | in ] - List attributes only with string values. |
getValues | [ bool | True | in ] - Get values of the attributes instead of their names. |
removeK | [ bool | True | in ] - Remove k character from the attribute names if getValues is provided False. |
startAttrNamesLower | [ bool | False | in ] - Start attribute names with lower case. |
- Exceptions
-
- Returns
- list of str - Names or values of the attributes.
Reimplemented from mCore.enumAbs.Enum.
◆ getCurrent()
def mApplication.parentApplicationLib.Application.getCurrent |
( |
| ) |
|
|
static |
Get current parent application if any.
- Exceptions
-
- Returns
- str - Name of the parent application from mApplication.parentApplication.Application enum class.
The documentation for this class was generated from the following file: