Stash Software API  2.0.0
Static Public Attributes | List of all members
sStash.stashLib.Flag.DataType Class Reference

[ ENUM CLASS ] - Data types accepted by the Flag class. More...

Inheritance diagram for sStash.stashLib.Flag.DataType:
sStash.enumAbs.Enum

Static Public Attributes

string kStr = 'str'
 [ str ] - String. More...
 
string kInt = 'int'
 [ str ] - Integer. More...
 
string kBool = 'bool'
 [ str ] - Boolean. More...
 

Additional Inherited Members

- Public Member Functions inherited from sStash.enumAbs.Enum
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, startAttrNamesLower=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...
 

Detailed Description

[ ENUM CLASS ] - Data types accepted by the Flag class.

Member Data Documentation

◆ kStr

string sStash.stashLib.Flag.DataType.kStr = 'str'
static

[ str ] - String.

◆ kInt

string sStash.stashLib.Flag.DataType.kInt = 'int'
static

[ str ] - Integer.

◆ kBool

string sStash.stashLib.Flag.DataType.kBool = 'bool'
static

[ str ] - Boolean.


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