BaseOption

class ase2sprkkr.common.options.BaseOption(definition, container=None)[source]

A base placeholder for a leaf element of a grammar file, both the a-value-holding ones (Option) and dummy ones (Dummy)

Class hierarchy

Inheritance diagram of ase2sprkkr.common.options.BaseOption

Constructor

__init__(definition, container=None)

Create the object. Just sets the two properties from the parameters.

Parameters:
_save_to_file(file, always=False, name_in_grammar=None, delimiter='')[source]

Write the name-value pair to the given file, if the value is set.

_find_members(name, lower_case=True, option=None)[source]
get_path()[source]
_as_dict(get)[source]
clear(do_not_check_required=False, call_hooks=True, generated=True)[source]