| Trees | Indices | Help |
|
|---|
|
|
object --+
|
ReactiqKeyword
|
|||
|
|||
|
|||
|
|||
| bool |
|
||
|
|||
|
|||
| self._type |
|
||
|
Inherited from |
|||
|
|||
| name | |||
| valid_type | |||
| default | |||
| description | |||
| choices | |||
| subtype | |||
|
value Return user-set value. |
|||
|
|||
x.__init__(...) initializes x; see help(type(x)) for signature
|
Set to user-defined value.
|
Return True if keyword user-value differs from default value. False otherwise.
|
Check validity of this Keyword class; different errors can raise the following Exceptions which all inherit from ReactiqKeywordException: @raise ReactiqKeywordValueTypeError if wrong type. @raise ReactiqKeywordValueError if value invalid. |
Return list of values coerced to appropriate subtypes (if possible).
Accepts value in the following forms:
(1) "[a b c]"
(2) "['a', 'b', 'c']"
(3) "1 2 3"
(4) "[1, 2, 3]"
(5) "['1', '2', '3']"
etc
@type value: str
@type value: user-defined list of values (e.g. from input file)
@rtype: list of self._type
@return: list values coerced to appropriate subtypes
@raise ReactiqKeywordValueTypeError if conversion fails.
|
Return value coerced to appropriate type (if possible).
|
|
|||
name
|
valid_type
|
default
|
description
|
choices
|
subtype
|
valueReturn user-set value. If None, return default value.
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Wed Feb 3 06:05:09 2016 | http://epydoc.sourceforge.net |