Class to handle name <-> value mappings, loaded from a YAML file.
More...
Class to handle name <-> value mappings, loaded from a YAML file.
def parameterSet.NameMapping.__init__ |
( |
|
self, |
|
|
|
prefix = None |
|
) |
| |
def parameterSet.NameMapping.__init__ |
( |
|
self, |
|
|
|
prefix = None |
|
) |
| |
def parameterSet.NameMapping.dump |
( |
|
self, |
|
|
|
full_path = True |
|
) |
| |
Dump the contents of the Name Mapping in an ASCII format.
def parameterSet.NameMapping.dump |
( |
|
self, |
|
|
|
full_path = True |
|
) |
| |
Dump the contents of the Name Mapping in an ASCII format.
def parameterSet.NameMapping.get_names |
( |
|
self | ) |
|
Return names (leftt column in Name Mapping File) as tuple.
def parameterSet.NameMapping.get_names |
( |
|
self | ) |
|
Return names (leftt column in Name Mapping File) as tuple.
def parameterSet.NameMapping.get_prefix |
( |
|
self | ) |
|
Return prefix (may be None).
def parameterSet.NameMapping.get_prefix |
( |
|
self | ) |
|
Return prefix (may be None).
def parameterSet.NameMapping.get_value |
( |
|
self, |
|
|
|
name, |
|
|
|
full_path = True |
|
) |
| |
Get value in connection with name in the Name Mapping.
def parameterSet.NameMapping.get_value |
( |
|
self, |
|
|
|
name, |
|
|
|
full_path = True |
|
) |
| |
Get value in connection with name in the Name Mapping.
def parameterSet.NameMapping.get_values |
( |
|
self | ) |
|
Return values (right column in Name Mapping File) as tuple.
def parameterSet.NameMapping.get_values |
( |
|
self | ) |
|
Return values (right column in Name Mapping File) as tuple.
def parameterSet.NameMapping.has_name |
( |
|
self, |
|
|
|
name |
|
) |
| |
Return True if given name in Name Mapping.
def parameterSet.NameMapping.has_name |
( |
|
self, |
|
|
|
name |
|
) |
| |
Return True if given name in Name Mapping.
def parameterSet.NameMapping.has_value |
( |
|
self, |
|
|
|
value |
|
) |
| |
Return True if given value in Name Mapping set of parameters.
def parameterSet.NameMapping.has_value |
( |
|
self, |
|
|
|
value |
|
) |
| |
Return True if given value in Name Mapping set of parameters.
def parameterSet.NameMapping.load |
( |
|
self, |
|
|
|
par_file |
|
) |
| |
Load the given Name Mapping file.
def parameterSet.NameMapping.load |
( |
|
self, |
|
|
|
par_file |
|
) |
| |
Load the given Name Mapping file.
The documentation for this class was generated from the following files: