ConfigurationData object.
More...
ConfigurationData object.
Represents an individual configuration parameter and its value.
Definition at line 140 of file config_set.py.
def rtsprofile.config_set.ConfigurationData.__init__ |
( |
|
self, |
|
|
|
name = '' , |
|
|
|
data = '' |
|
) |
| |
Constructor.
@param name The name of the parameter.
@type name str
@param data The parameter's value, if any.
@type data str
Definition at line 143 of file config_set.py.
def rtsprofile.config_set.ConfigurationData.__str__ |
( |
|
self | ) |
|
def rtsprofile.config_set.ConfigurationData.data |
( |
|
self | ) |
|
The value of this configuration parameter.
May be an empty string if the parameter has no value.
Definition at line 163 of file config_set.py.
def rtsprofile.config_set.ConfigurationData.data |
( |
|
self, |
|
|
|
data |
|
) |
| |
def rtsprofile.config_set.ConfigurationData.name |
( |
|
self | ) |
|
The name of this configuration parameter.
Used as the parameter's key in the configuration set object.
Definition at line 178 of file config_set.py.
def rtsprofile.config_set.ConfigurationData.name |
( |
|
self, |
|
|
|
name |
|
) |
| |
def rtsprofile.config_set.ConfigurationData.parse_xml_node |
( |
|
self, |
|
|
|
node |
|
) |
| |
Parse an xml.dom Node object representing a configuration data into
this object.
Definition at line 192 of file config_set.py.
def rtsprofile.config_set.ConfigurationData.parse_yaml |
( |
|
self, |
|
|
|
y |
|
) |
| |
Parse a YAML specification of a configuration data into this
object.
Definition at line 204 of file config_set.py.
def rtsprofile.config_set.ConfigurationData.save_xml |
( |
|
self, |
|
|
|
doc, |
|
|
|
element |
|
) |
| |
Save this configuration data into an xml.dom.Element object.
Definition at line 216 of file config_set.py.
def rtsprofile.config_set.ConfigurationData.to_dict |
( |
|
self | ) |
|
Save this configuration data into a dictionary.
Definition at line 222 of file config_set.py.
rtsprofile.config_set.ConfigurationData._data |
|
private |
rtsprofile.config_set.ConfigurationData._name |
|
private |
rtsprofile.config_set.ConfigurationData.data |
rtsprofile.config_set.ConfigurationData.name |
The documentation for this class was generated from the following file: