EmbASP-Python
|
Public Member Functions | |
def | __init__ (self, initial_option=None) |
def | add_option (self, option) |
def | clear (self) |
def | get_options (self) |
def | get_separator (self) |
def | set_options (self, option) |
def | set_separator (self, separator) |
Represents options for a generic ASP programs.
Definition at line 1 of file option_descriptor.py.
def base.option_descriptor.OptionDescriptor.add_option | ( | self, | |
option | |||
) |
Concatenate a new option in a string format to the current _options. The parameter option is the string to be concatenated.
Definition at line 8 of file option_descriptor.py.
def base.option_descriptor.OptionDescriptor.clear | ( | self | ) |
After using this method the _options variable will be empty.
Definition at line 18 of file option_descriptor.py.
def base.option_descriptor.OptionDescriptor.get_options | ( | self | ) |
Returns values stored in _options, in a string format.
Definition at line 22 of file option_descriptor.py.
def base.option_descriptor.OptionDescriptor.get_separator | ( | self | ) |
Get separator character.
Definition at line 26 of file option_descriptor.py.
def base.option_descriptor.OptionDescriptor.set_options | ( | self, | |
option | |||
) |
Set _option string with new string.
Definition at line 30 of file option_descriptor.py.
def base.option_descriptor.OptionDescriptor.set_separator | ( | self, | |
separator | |||
) |
Set _separator character with new separator.
Definition at line 34 of file option_descriptor.py.