EmbASP-Python
Public Member Functions | List of all members
base.option_descriptor.OptionDescriptor Class Reference
Inheritance diagram for base.option_descriptor.OptionDescriptor:
languages.asp.asp_filter_option.ASPFilterOption specializations.dlv.dlv_filter_option.DLVFilterOption

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)
 

Detailed Description

Represents options for a generic ASP programs.

Definition at line 1 of file option_descriptor.py.

Member Function Documentation

◆ add_option()

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.

◆ clear()

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.

◆ get_options()

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.

◆ get_separator()

def base.option_descriptor.OptionDescriptor.get_separator (   self)
Get separator character.

Definition at line 26 of file option_descriptor.py.

◆ set_options()

def base.option_descriptor.OptionDescriptor.set_options (   self,
  option 
)
Set _option string with new string.

Definition at line 30 of file option_descriptor.py.

◆ set_separator()

def base.option_descriptor.OptionDescriptor.set_separator (   self,
  separator 
)
Set _separator character with new separator.

Definition at line 34 of file option_descriptor.py.


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