@PHXClassDecorator(PHXTException_Decorator)
class PHXBoolean(PHXSimpleType)
The ModelCenter type for booleans. This class adds the following features to thePHXSimpleType:
value: booleanvalueStr: the source string for the value, useful for error checking when the value is NaN
def __init__(self, varName)
initializes value to false
@param varName: the name of the variable already declared in the wrapper to reference@type varName: string@rtype: void
def fromString(self, value)
converts a String representation to the internal value
@param value: the value to convert@type value: string@rtype: void
def getValue(self)
retrieves the current value of the variable
@rtype: boolean
def getValueStr(self)
retrieves the current value of the variable (in string form)
@rtype: string
def setValue(self, value)
sets the value for the variable
@param value: the value@type value: boolean@rtype: void
def toString(self)
converts the variable to a string
@rtype: string