MECO™ API Reference
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
mApplication.parentApplicationLib.Application Class Reference

[ ENUM CLASS ] - Application list. More...

Inheritance diagram for mApplication.parentApplicationLib.Application:
mCore.enumAbs.Enum

Public Member Functions

def listAttributes (cls, stringOnly=True, getValues=True, removeK=True, startAttrNamesLower=False)
 List static public attributes of the class. More...
 
- Public Member Functions inherited from mCore.enumAbs.Enum
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...
 

Static Public Member Functions

def getCurrent ()
 Get current parent application if any. More...
 

Static Public Attributes

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.
 

Detailed Description

[ ENUM CLASS ] - Application list.

Member Function Documentation

◆ 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
N/A
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
N/A
Returns
str - Name of the parent application from mApplication.parentApplication.Application enum class.

The documentation for this class was generated from the following file: