the main class to process xml config files More...


Public Member Functions | |
| def | __init__ (self, ptr) |
| def | ptr (self) |
| return raw pointer | |
| def | has_child (self, path) |
| check if child exists | |
| def | has_attr (self, attr) |
| check if attribute exists | |
| def | get_child (self, path) |
| gets child config by its path More... | |
| def | children (self) |
| iterate via children tag | |
| def | children_count (self) |
| gets quantity of children of the xml tag parent | |
| def | name (self) |
| gets name of the xml tag | |
| def | text (self) |
| gets text of the xml tag | |
| def | get_attr_s (self, name, def_value={}) |
| gets content of tag's attribute as a string by its name | |
| def | get_attr_i (self, name, def_value={}) |
| gets content of tag's attribute as an integer by its name | |
| def | get_attr_d (self, name, def_value={}) |
| gets content of tag's attribute as a double by its name | |
| def | get_attr_b (self, name, def_value={}) |
| gets content of tag's attribute as a boolean by its name | |
the main class to process xml config files
| def xroad.config.Config.get_child | ( | self, | |
| path | |||
| ) |
gets child config by its path
| [in] | path | - path to config elements |